/Linux-v5.15/arch/powerpc/platforms/83xx/ |
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 …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/ |
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 …]
|
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() 80 mutex_lock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg() 91 expires = jiffies + dev->mcu.timeout; in mt76_mcu_skb_send_and_get_msg() 103 mutex_unlock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg()
|
D | mt76x02_mcu.c | 20 dev_err(mdev->dev, "MCU message %02x (seq %d) timed out\n", in mt76x02_mcu_parse_response() 51 mutex_lock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 53 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 55 seq = ++mdev->mcu.msg_seq & 0xf; in mt76x02_mcu_msg_send() 76 mutex_unlock(&mdev->mcu.mutex); in mt76x02_mcu_msg_send() 153 while ((skb = skb_dequeue(&dev->mt76.mcu.res_q)) != NULL) in mt76x02_mcu_cleanup()
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/ |
D | samsung,sensorhub-rinato.yaml | 13 Sensorhub is a MCU which manages several sensors and also plays the role 28 ap-mcu-gpios: 33 mcu-ap-gpios: 38 mcu-reset-gpios: 51 - ap-mcu-gpios 52 - mcu-ap-gpios 53 - mcu-reset-gpios 67 ap-mcu-gpios = <&gpx0 0 0>; 68 mcu-ap-gpios = <&gpx0 4 0>; 69 mcu-reset-gpios = <&gpx0 5 0>;
|
/Linux-v5.15/drivers/thermal/ |
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() 142 { .name = "khadas-mcu-fan-ctrl", }, 151 .name = "khadas-mcu-fan-ctrl", [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt7601u/ |
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 …]
|
/Linux-v5.15/Documentation/devicetree/bindings/powerpc/fsl/ |
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";
|
/Linux-v5.15/Documentation/devicetree/bindings/hwmon/ |
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";
|
/Linux-v5.15/drivers/mfd/ |
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");
|
/Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
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";
|
/Linux-v5.15/arch/arm/mach-sa1100/ |
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()
|
/Linux-v5.15/drivers/iio/common/ssp_sensors/ |
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
|
D | ssp_dev.c | 111 * This function is the first one which communicates with the mcu so it is 136 "MCU Firm Rev : Old = %8u, New = %8u\n", in ssp_check_fwbl() 360 dev_err(&data->spi->dev, "%s - MCU %s ret = %d\n", __func__, in ssp_initialize_mcu() 366 dev_info(&data->spi->dev, "MCU device ID = %d\n", ret); in ssp_initialize_mcu() 387 dev_info(&data->spi->dev, "MCU Firm Rev : New = %8u\n", in ssp_initialize_mcu() 395 * handling. It can be requested from the MCU. 451 data->mcu_ap_gpiod = devm_gpiod_get(dev, "mcu-ap", GPIOD_IN); in ssp_parse_dt() 455 data->ap_mcu_gpiod = devm_gpiod_get(dev, "ap-mcu", GPIOD_OUT_HIGH); in ssp_parse_dt() 459 data->mcu_reset_gpiod = devm_gpiod_get(dev, "mcu-reset", in ssp_parse_dt() 659 /* timesyncing is set by MCU */ in ssp_resume()
|
/Linux-v5.15/Documentation/devicetree/bindings/media/ |
D | allegro,al5e.yaml | 16 Each actual codec engine is controlled by a microcontroller (MCU). Host 17 software uses a provided mailbox interface to communicate with the MCU. The 46 - description: MCU clock 48 - description: MCU AXI master port clock
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_txrx.c | 168 static int mt7663s_tx_pick_quota(struct mt76_sdio *sdio, bool mcu, int buf_sz, in mt7663s_tx_pick_quota() argument 175 if (mcu) { in mt7663s_tx_pick_quota() 190 static void mt7663s_tx_update_quota(struct mt76_sdio *sdio, bool mcu, in mt7663s_tx_update_quota() argument 193 if (mcu) { in mt7663s_tx_update_quota() 219 bool mcu = q == dev->q_mcu[MT_MCUQ_WM]; in mt7663s_tx_run_queue() local 223 qid = mcu ? ARRAY_SIZE(sdio->xmit_buf) - 1 : q->qid; in mt7663s_tx_run_queue() 244 if (mt7663s_tx_pick_quota(sdio, mcu, e->buf_sz, &pse_sz, in mt7663s_tx_run_queue() 275 mt7663s_tx_update_quota(sdio, mcu, pse_sz, ple_sz); in mt7663s_tx_run_queue()
|
/Linux-v5.15/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b-s922x-khadas-vim3.dts | 19 * The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential 25 * If the MCU is configured to mux the PCIe/USB3.0 differential lines 30 * update these nodes accordingly if PCIe mode is selected by the MCU.
|
D | meson-g12b-a311d-khadas-vim3.dts | 19 * The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential 25 * If the MCU is configured to mux the PCIe/USB3.0 differential lines 30 * update these nodes accordingly if PCIe mode is selected by the MCU.
|
/Linux-v5.15/arch/arm64/boot/dts/ti/ |
D | k3-am65.dtsi | 95 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/ 98 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */ 99 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */ 100 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>, /* MCU SRAM */ 122 #include "k3-am65-mcu.dtsi"
|
D | k3-j7200.dtsi | 153 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/ 156 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */ 157 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */ 158 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00100000>, /* MCU SRAM */ 172 #include "k3-j7200-mcu-wakeup.dtsi"
|
/Linux-v5.15/Documentation/devicetree/bindings/remoteproc/ |
D | ti,k3-r5f-rproc.yaml | 252 ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS */ 253 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */ 254 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */ 255 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>; /* MCU SRAM */ 257 /* AM65x MCU R5FSS node */ 276 firmware-name = "am65x-mcu-r5f0_0-fw"; 295 firmware-name = "am65x-mcu-r5f0_1-fw";
|
/Linux-v5.15/drivers/usb/musb/ |
D | mediatek.c | 48 struct clk *mcu; member 64 glue->mcu = devm_clk_get(dev, "mcu"); in mtk_musb_clks_get() 65 if (IS_ERR(glue->mcu)) { in mtk_musb_clks_get() 66 dev_err(dev, "fail to get mcu clock\n"); in mtk_musb_clks_get() 67 return PTR_ERR(glue->mcu); in mtk_musb_clks_get() 89 ret = clk_prepare_enable(glue->mcu); in mtk_musb_clks_enable() 91 dev_err(glue->dev, "failed to enable mcu clock\n"); in mtk_musb_clks_enable() 104 clk_disable_unprepare(glue->mcu); in mtk_musb_clks_enable() 114 clk_disable_unprepare(glue->mcu); in mtk_musb_clks_disable()
|
/Linux-v5.15/drivers/perf/ |
D | xgene_pmu.c | 354 XGENE_PMU_EVENT_ATTR(mcu-request, 0x12), 355 XGENE_PMU_EVENT_ATTR(mcu-rd-request, 0x13), 356 XGENE_PMU_EVENT_ATTR(mcu-hp-rd-request, 0x14), 357 XGENE_PMU_EVENT_ATTR(mcu-wr-request, 0x15), 358 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-all, 0x16), 359 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-cancel, 0x17), 360 XGENE_PMU_EVENT_ATTR(mcu-rd-response, 0x18), 361 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-speculative-all, 0x19), 362 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-speculative-cancel, 0x1a), 363 XGENE_PMU_EVENT_ATTR(mcu-wr-proceed-all, 0x1b), [all …]
|
/Linux-v5.15/include/linux/platform_data/ |
D | dma-imx.h | 17 IMX_DMATYPE_SSI, /* MCU domain SSI */ 21 IMX_DMATYPE_UART, /* MCU domain UART */ 24 IMX_DMATYPE_CSPI, /* MCU domain CSPI */
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | kirkwood-nsa320.dts | 52 pmx_mcu_data: pmx-mcu-data { 62 pmx_mcu_clk: pmx-mcu-clk { 67 pmx_mcu_act: pmx-mcu-act { 184 compatible = "zyxel,nsa320-mcu";
|