| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/ |
| H A D | mcu_mpc8349emitx.c | 3 * Power Management and GPIO expander driver for MPC8349E-mITX-compatible MCU 25 * I don't have specifications for the MCU firmware, I found this register 34 struct mcu { struct 41 static struct mcu *glob_mcu; argument 47 struct mcu *mcu = glob_mcu; in shutdown_thread_fn() local 50 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 52 pr_err("MCU status reg read failed.\n"); in shutdown_thread_fn() 53 mcu->reg_ctrl = ret; in shutdown_thread_fn() 56 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn() 57 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in shutdown_thread_fn() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_pm_mcu_states.h | 23 * Backend-specific Power Manager MCU state definitions. 28 * @OFF: The MCU is powered off. 29 * @PEND_ON_RELOAD: The warm boot of MCU or cold boot of MCU (with 31 * @ON_GLB_REINIT_PEND: The MCU is enabled and Global configuration 33 * @ON_HWCNT_ENABLE: The Global requests have completed and MCU is now 35 * @ON: The MCU is active and hwcnt has been enabled. 36 * @ON_CORE_ATTR_UPDATE_PEND: The MCU is active and mask of enabled shader cores 38 * @ON_HWCNT_DISABLE: The MCU is on and hwcnt is being disabled. 39 * @ON_HALT: The MCU is on and hwcnt has been disabled, MCU 41 * @ON_PEND_HALT: MCU halt in progress, confirmation pending. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76x02_usb_mcu.c | 27 if (usb->mcu.burst) { in mt76x02u_multiple_mcu_reads() 28 WARN_ON_ONCE(len / 4 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 30 reg = usb->mcu.rp[0].reg - usb->mcu.base; in mt76x02u_multiple_mcu_reads() 31 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads() 33 usb->mcu.rp[i].reg = reg++; in mt76x02u_multiple_mcu_reads() 34 usb->mcu.rp[i].value = val; in mt76x02u_multiple_mcu_reads() 37 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 39 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads() 41 usb->mcu.base; in mt76x02u_multiple_mcu_reads() 44 WARN_ON_ONCE(usb->mcu.rp[i].reg != reg); in mt76x02u_multiple_mcu_reads() [all …]
|
| H A D | mcu.c | 39 wait_event_timeout(dev->mcu.wait, in mt76_mcu_get_response() 40 (!skb_queue_empty(&dev->mcu.res_q) || in mt76_mcu_get_response() 43 return skb_dequeue(&dev->mcu.res_q); in mt76_mcu_get_response() 49 skb_queue_tail(&dev->mcu.res_q, skb); in mt76_mcu_rx_event() 50 wake_up(&dev->mcu.wait); in mt76_mcu_rx_event()
|
| H A D | mt76x02_mcu.c | 30 mutex_lock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 32 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 34 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 53 "MCU message %d (seq %d) timed out\n", cmd, in mt76x02_mcu_msg_send() 71 mutex_unlock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 147 while ((skb = skb_dequeue(&dev->mt76.mcu.res_q)) != NULL) in mt76x02_mcu_cleanup()
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3562-evb1-lp4x-v10-mcu-k350c4516t.dts | 13 model = "Rockchip RK3562 EVB1 LP4X V10 Board + RK EVB MCU PANLE DISPLAY Ext Board"; 14 compatible = "rockchip,rk3562-evb1-lp4x-v10-mcu-k350c4516t", "rockchip,rk3562"; 50 * rgb3x8_pins_m0/rgb3x8_pins_m1 for serial mcu 51 * rgb565_pins for parallel mcu 56 * 320x480 RGB/MCU screen K350C4516T 58 mcu_panel: mcu-panel { 60 * MEDIA_BUS_FMT_RGB888_3X8 for serial mcu 61 * MEDIA_BUS_FMT_RGB565_1X16 for parallel mcu 243 mcu-timing { 244 mcu-pix-total = <9>; [all …]
|
| H A D | rk3308bs-evb-ext-mcu-v10.dtsi | 63 rockchip,cmd-type = "mcu"; 235 mcu-timing { 236 mcu-pix-total = <9>; 237 mcu-cs-pst = <1>; 238 mcu-cs-pend = <8>; 239 mcu-rw-pst = <2>; 240 mcu-rw-pend = <5>; 242 mcu-hold-mode = <0>; // default set to 0
|
| H A D | rk3308-evb-ext-v10.dtsi | 240 mcu-timing { 241 mcu-pix-total = <9>; 242 mcu-cs-pst = <1>; 243 mcu-cs-pend = <8>; 244 mcu-rw-pst = <2>; 245 mcu-rw-pend = <5>; 247 mcu-hold-mode = <0>; // default set to 0
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1106-evb-ext-mcu-v10.dtsi | 87 * 320x480 RGB/MCU screen K350C4516T 89 mcu_panel: mcu-panel { 91 * MEDIA_BUS_FMT_RGB888_3X8 for serial mcu 92 * MEDIA_BUS_FMT_RGB565_1X16 for parallel mcu 270 * mcu-pix-total = <9>; 271 * mcu-cs-pst = <1>; 272 * mcu-cs-pend = <8>; 273 * mcu-rw-pst = <2>; 274 * mcu-rw-pend = <5>; 275 * mcu-hold-mode = <0>; // default set to 0 [all …]
|
| H A D | rv1103g-evb-mcu-display-v11.dts | 97 * 320x480 RGB/MCU screen K350C4516T 99 mcu_panel: mcu-panel { 276 * mcu-pix-total = <9>; 277 * mcu-cs-pst = <1>; 278 * mcu-cs-pend = <8>; 279 * mcu-rw-pst = <2>; 280 * mcu-rw-pend = <5>; 281 * mcu-hold-mode = <0>; // default set to 0 286 mcu-timing { 287 mcu-pix-total = <7>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | khadas_mcu_fan.c | 3 * Khadas MCU Controlled FAN driver 12 #include <linux/mfd/khadas-mcu.h> 20 struct khadas_mcu *mcu; member 30 ret = regmap_write(ctx->mcu->regmap, KHADAS_MCU_CMD_FAN_STATUS_CTRL_REG, in khadas_mcu_fan_set_level() 81 struct khadas_mcu *mcu = dev_get_drvdata(pdev->dev.parent); in khadas_mcu_fan_probe() local 90 ctx->mcu = mcu; in khadas_mcu_fan_probe() 94 dev->parent->of_node, "khadas-mcu-fan", ctx, in khadas_mcu_fan_probe() 98 dev_err(dev, "Failed to register khadas-mcu-fan as cooling device: %d\n", in khadas_mcu_fan_probe() 143 { .name = "khadas-mcu-fan-ctrl", }, 152 .name = "khadas-mcu-fan-ctrl", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | mcu.c | 16 #include "mcu.h" 70 struct urb *urb = dev->mcu.resp.urb; in mt7601u_mcu_wait_resp() 75 if (!wait_for_completion_timeout(&dev->mcu.resp_cmpl, in mt7601u_mcu_wait_resp() 82 rxfce = get_unaligned_le32(dev->mcu.resp.buf); in mt7601u_mcu_wait_resp() 86 &dev->mcu.resp, GFP_KERNEL, in mt7601u_mcu_wait_resp() 88 &dev->mcu.resp_cmpl); in mt7601u_mcu_wait_resp() 93 dev_err(dev->dev, "Error: MCU resp urb failed:%d\n", in mt7601u_mcu_wait_resp() 100 dev_err(dev->dev, "Error: MCU resp evt:%lx seq:%hhx-%lx!\n", in mt7601u_mcu_wait_resp() 124 mutex_lock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 128 seq = ++dev->mcu.msg_seq & 0xf; in mt7601u_mcu_msg_send() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/ |
| H A D | sensorhub.txt | 3 Sensorhub is a MCU which manages several sensors and also plays the role 10 - ap-mcu-gpios: [out] ap to sensorhub line - used during communication 11 - mcu-ap-gpios: [in] sensorhub to ap - used during communication 12 - mcu-reset-gpios: [out] sensorhub reset 21 ap-mcu-gpios = <&gpx0 0 0>; 22 mcu-ap-gpios = <&gpx0 4 0>; 23 mcu-reset-gpios = <&gpx0 5 0>;
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/as.html/ |
| H A D | AVR-Options.html | 78 <dt><code>-mmcu=<var>mcu</var></code></dt> 79 <dd><p>Specify ATMEL AVR instruction set or MCU type. 82 compiler, only for assembler programs (MCU types: at90s1200, 86 8K program memory space (MCU types: at90s2313, at90s2323, at90s2333, at90s2343, 91 space plus the MOVW instruction (MCU types: attiny13, attiny13a, attiny2313, 98 memory space (MCU types: at43usb355, at76c711). 101 memory space (MCU types: atmega103, at43usb320). 104 instructions (MCU types: attiny167, attiny1634, at90usb82, at90usb162, 108 memory space (MCU types: atmega48, atmega48a, atmega48pa, atmega48p, atmega8, 114 memory space (MCU types: at90pwm161, atmega16, atmega16a, atmega161, atmega162, [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/as.html/ |
| H A D | AVR-Options.html | 78 <dt><code>-mmcu=<var>mcu</var></code></dt> 79 <dd><p>Specify ATMEL AVR instruction set or MCU type. 82 compiler, only for assembler programs (MCU types: at90s1200, 86 8K program memory space (MCU types: at90s2313, at90s2323, at90s2333, at90s2343, 91 space plus the MOVW instruction (MCU types: attiny13, attiny13a, attiny2313, 98 memory space (MCU types: at43usb355, at76c711). 101 memory space (MCU types: atmega103, at43usb320). 104 instructions (MCU types: attiny167, attiny1634, at90usb82, at90usb162, 108 memory space (MCU types: atmega48, atmega48a, atmega48pa, atmega48p, atmega8, 114 memory space (MCU types: at90pwm161, atmega16, atmega16a, atmega161, atmega162, [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | fit_nodes.sh | 231 MCU="mcu${i}" 232 echo " ${MCU} { 233 description = \"${MCU}\"; 239 openssl dgst -sha256 -binary -out ${MCU}.bin.digest ${MCU}.bin 240 ${COMPRESS_CMD} ${MCU}.bin 241 echo " data = /incbin/(\"./${MCU}.bin${SUFFIX}\"); 244 value = /incbin/(\"./${MCU}.bin.digest\"); 248 echo " data = /incbin/(\"./${MCU}.bin\"); 258 STANDALONE_LIST=${STANDALONE_LIST}"\"${MCU}\"" 260 STANDALONE_LIST=${STANDALONE_LIST}", \"${MCU}\"" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_firmware.h | 101 * @mcu_rw: Metadata for the MCU shared memory mapping used for 103 * @mcu_write: Metadata for the MCU shared memory mapping used for 435 * kbase_csf_firmware_load_init() - Load the firmware for the CSF MCU 454 * kbase_csf_firmware_mcu_register_write - Write to MCU register 460 * Write a desired value to a register in MCU address space. 467 * kbase_csf_firmware_mcu_register_read - Read from MCU register 473 * Read a value from MCU address space. 481 * kbase_csf_firmware_mcu_register_poll - Poll MCU register 488 * Continue to read a value from MCU address space until it matches given mask and value. 579 * kbase_csf_firmware_enable_mcu - Send the command to enable MCU [all …]
|
| H A D | mali_kbase_csf_firmware_core_dump.c | 33 /* Page size in bytes in use by MCU. */ 47 /* Validity flag to indicate if the MCU registers in the buffer are valid */ 55 /* MCU registers stored by a firmware core dump */ 77 * ELF_PRSTATUS32 note that is used to contain the MCU registers). 89 * Modified pr_reg (array containing the Arm 32-bit MCU registers) to 130 * fw_get_core_dump_mcu - Get the MCU registers saved by a firmware core dump 133 * @regs: Pointer to a core dump mcu struct where the MCU registers are copied 136 * Return: 0 if successfully copied the MCU registers, negative error code otherwise. 154 /* According to image header documentation, the MCU registers core dump in fw_get_core_dump_mcu() 296 * about a process like the current MCU registers) taking into account [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | mcu-mpc8349emitx.txt | 1 Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) 4 - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx". 11 mcu@a { 14 "fsl,mcu-mpc8349emitx";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/ |
| H A D | nsa320-mcu.txt | 5 - compatible : "zyxel,nsa320-mcu" 6 - data-gpios : The GPIO pin connected to the data line on the MCU 7 - clk-gpios : The GPIO pin connected to the clock line on the MCU 8 - act-gpios : The GPIO pin connected to the active line on the MCU 13 compatible = "zyxel,nsa320-mcu";
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | khadas-mcu.c | 12 #include <linux/mfd/khadas-mcu.h> 80 { .name = "khadas-mcu-fan-ctrl", }, 84 { .name = "khadas-mcu-user-mem", }, 127 { .compatible = "khadas,mcu", }, 135 .name = "khadas-mcu-core", 142 MODULE_DESCRIPTION("Khadas MCU core driver");
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | khadas,mcu.yaml | 4 $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml# 20 - khadas,mcu # MCU revision is discoverable 40 compatible = "khadas,mcu";
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-sa1100/ |
| H A D | jornada720_ssp.c | 30 * we need to reverse all data we receive from the mcu due to its physical location 51 * timeout after <timeout> rounds. Needs mcu running before its called. 53 * returns : %mcu output on success 106 * jornada_ssp_start - enable mcu 119 * jornada_ssp_end - disable mcu and turn off lock 154 /* enable MCU */ in jornada_ssp_probe()
|
| /OK3568_Linux_fs/u-boot/board/hisilicon/hikey/ |
| H A D | README | 164 INFO: hisi_mcu_load_image: mcu sections 0: 170 INFO: hisi_mcu_load_image: mcu sections 1: 176 INFO: hisi_mcu_load_image: mcu sections 2: 182 INFO: hisi_mcu_load_image: mcu sections 3: 188 INFO: hisi_mcu_load_image: mcu sections 4: 194 INFO: hisi_mcu_load_image: mcu sections 5: 200 INFO: hisi_mcu_load_image: mcu sections 6: 206 INFO: hisi_mcu_load_image: mcu sections 7: 213 INFO: bl2_plat_handle_bl30: mcu pc is 42933301
|
| /OK3568_Linux_fs/kernel/drivers/iio/common/ssp_sensors/ |
| H A D | ssp.h | 148 * @work_refresh: refresh work queue for reset request from MCU 150 * @mcu_dump_mode: mcu dump mode for debug 161 * @last_ap_state: (obsolete) sleep notification for MCU 171 * @mcu_reset_gpiod: mcu reset line 172 * @ap_mcu_gpiod: ap to mcu gpio line 173 * @mcu_ap_gpiod: mcu to ap gpio line
|