/linux/arch/powerpc/platforms/83xx/ |
A D | mcu_mpc8349emitx.c | 34 struct mcu { struct 47 struct mcu *mcu = glob_mcu; in shutdown_thread_fn() local 74 struct mcu *mcu = glob_mcu; in show_status() local 87 struct mcu *mcu = glob_mcu; in mcu_power_off() local 98 struct mcu *mcu = gpiochip_get_data(gc); in mcu_gpio_set() local 117 static int mcu_gpiochip_add(struct mcu *mcu) in mcu_gpiochip_add() argument 138 static void mcu_gpiochip_remove(struct mcu *mcu) in mcu_gpiochip_remove() argument 146 struct mcu *mcu; in mcu_probe() local 149 mcu = kzalloc(sizeof(*mcu), GFP_KERNEL); in mcu_probe() 150 if (!mcu) in mcu_probe() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_usb_mcu.c | 27 if (usb->mcu.burst) { in mt76x02u_multiple_mcu_reads() 30 reg = usb->mcu.rp[0].reg - usb->mcu.base; in mt76x02u_multiple_mcu_reads() 33 usb->mcu.rp[i].reg = reg++; in mt76x02u_multiple_mcu_reads() 41 usb->mcu.base; in mt76x02u_multiple_mcu_reads() 53 u8 *data = usb->mcu.data; in mt76x02u_mcu_wait_resp() 65 if (usb->mcu.rp) in mt76x02u_mcu_wait_resp() 207 usb->mcu.rp = data; in mt76x02u_mcu_rd_rp() 208 usb->mcu.rp_len = n; in mt76x02u_mcu_rd_rp() 209 usb->mcu.base = base; in mt76x02u_mcu_rd_rp() 210 usb->mcu.burst = false; in mt76x02u_mcu_rd_rp() [all …]
|
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() 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()
|
A D | sdio_txrx.c | 171 mt76s_tx_pick_quota(struct mt76_sdio *sdio, bool mcu, int buf_sz, in mt76s_tx_pick_quota() argument 179 if (mcu && sdio->hw_ver == MT76_CONNAC2_SDIO) in mt76s_tx_pick_quota() 182 if (mcu) { in mt76s_tx_pick_quota() 198 mt76s_tx_update_quota(struct mt76_sdio *sdio, bool mcu, int pse_size, in mt76s_tx_update_quota() argument 201 if (mcu) { in mt76s_tx_update_quota() 227 bool mcu = q == dev->q_mcu[MT_MCUQ_WM]; in mt76s_tx_run_queue() local 231 qid = mcu ? ARRAY_SIZE(sdio->xmit_buf) - 1 : q->qid; in mt76s_tx_run_queue() 255 if (mt76s_tx_pick_quota(sdio, mcu, e->buf_sz, &pse_sz, in mt76s_tx_run_queue() 286 mt76s_tx_update_quota(sdio, mcu, pse_sz, ple_sz); in mt76s_tx_run_queue()
|
A D | mt76x02_mcu.c | 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/Documentation/devicetree/bindings/iio/ |
A D | samsung,sensorhub-rinato.yaml | 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/drivers/net/wireless/mediatek/mt7601u/ |
A D | mcu.c | 70 struct urb *urb = dev->mcu.resp.urb; 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() 124 mutex_lock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 128 seq = ++dev->mcu.msg_seq & 0xf; in mt7601u_mcu_msg_send() 132 if (dev->mcu.resp_cmpl.done) in mt7601u_mcu_msg_send() 148 mutex_unlock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 495 mutex_init(&dev->mcu.mutex); in mt7601u_mcu_init() 514 init_completion(&dev->mcu.resp_cmpl); in mt7601u_mcu_cmd_init() 521 &dev->mcu.resp, GFP_KERNEL, in mt7601u_mcu_cmd_init() [all …]
|
A D | Makefile | 5 usb.o init.o main.o mcu.o trace.o dma.o core.o eeprom.o phy.o \
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
A D | mcu-mpc8349emitx.txt | 4 - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx". 11 mcu@a { 14 "fsl,mcu-mpc8349emitx";
|
/linux/drivers/thermal/ |
A D | khadas_mcu_fan.c | 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()
|
/linux/drivers/perf/ |
A 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), 360 XGENE_PMU_EVENT_ATTR(mcu-rd-response, 0x18), 363 XGENE_PMU_EVENT_ATTR(mcu-wr-proceed-all, 0x1b), 494 XGENE_PMU_EVENT_ATTR(rd-req-sent-to-mcu, 0x06), 503 XGENE_PMU_EVENT_ATTR(wr-req-sent-to-mcu, 0x0f), 514 XGENE_PMU_EVENT_ATTR(mcu-req-table-full, 0x1a), [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
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";
|
/linux/drivers/usb/musb/ |
A 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() 67 return PTR_ERR(glue->mcu); in mtk_musb_clks_get() 89 ret = clk_prepare_enable(glue->mcu); 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/arch/arm/boot/dts/ |
A 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";
|
A D | kirkwood-nsa325.dts | 42 pmx_mcu_data: pmx-mcu-data { 52 pmx_mcu_clk: pmx-mcu-clk { 57 pmx_mcu_act: pmx-mcu-act {
|
/linux/arch/arm64/boot/dts/ti/ |
A D | k3-am654-industrial-thermal.dtsi | 33 mcu_thermal: mcu-thermal { 39 mcu_crit: mcu-crit {
|
A D | k3-j7200-som-p0.dtsi | 86 mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-pins-default { 104 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 149 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 154 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
|
A D | k3-am654-base-board.dts | 137 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 159 mcu_cpsw_pins_default: mcu-cpsw-pins-default { 176 mcu_mdio_pins_default: mcu-mdio1-pins-default { 422 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 431 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
|
A D | k3-j721e-som-p0.dtsi | 153 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 193 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 198 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
|
/linux/Documentation/devicetree/bindings/hwmon/ |
A D | nsa320-mcu.txt | 5 - compatible : "zyxel,nsa320-mcu" 13 compatible = "zyxel,nsa320-mcu";
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | sdio_mac.c | 74 wake_up(&dev->mt76.mcu.wait); in mt7921s_init_reset() 75 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_init_reset() 100 wake_up(&dev->mt76.mcu.wait); in mt7921s_mac_reset() 101 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_mac_reset()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | mcu.c | 46 mdev->mcu.timeout = 3 * HZ; in mt7603_mcu_skb_send_msg() 48 seq = ++mdev->mcu.msg_seq & 0xf; in mt7603_mcu_skb_send_msg() 50 seq = ++mdev->mcu.msg_seq & 0xf; in mt7603_mcu_skb_send_msg() 234 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7603_mcu_exit()
|
A D | Makefile | 5 pci.o soc.o main.o init.o mcu.o \
|
/linux/Documentation/devicetree/bindings/usb/ |
A D | mediatek,musb.yaml | 44 - const: mcu 104 clock-names = "main","mcu","univpll";
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | Makefile | 5 mt7915e-y := pci.o init.o dma.o eeprom.o main.o mcu.o mac.o \
|