/Linux-v4.19/arch/powerpc/platforms/83xx/ |
D | mcu_mpc8349emitx.c | 38 struct mcu { struct 45 static struct mcu *glob_mcu; argument 51 struct mcu *mcu = glob_mcu; in shutdown_thread_fn() local 54 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in shutdown_thread_fn() 57 mcu->reg_ctrl = ret; in shutdown_thread_fn() 60 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn() 61 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, in shutdown_thread_fn() 62 mcu->reg_ctrl & ~MCU_CTRL_BTN); in shutdown_thread_fn() 78 struct mcu *mcu = glob_mcu; in show_status() local 80 ret = i2c_smbus_read_byte_data(mcu->client, MCU_REG_CTRL); in show_status() [all …]
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | mcu.c | 80 int n = dev->mcu.reg_pairs_len; in mt76x0_read_resp_regs() 81 u8 *buf = dev->mcu.resp.buf; in mt76x0_read_resp_regs() 86 if (dev->mcu.burst_read) { in mt76x0_read_resp_regs() 87 u32 reg = dev->mcu.reg_pairs[0].reg - dev->mcu.reg_base; in mt76x0_read_resp_regs() 93 dev->mcu.reg_pairs[i].reg = reg++; in mt76x0_read_resp_regs() 94 dev->mcu.reg_pairs[i].value = val; in mt76x0_read_resp_regs() 99 u32 reg = get_unaligned_le32(buf + 8*i) - dev->mcu.reg_base; in mt76x0_read_resp_regs() 102 WARN_ON_ONCE(dev->mcu.reg_pairs[i].reg != reg); in mt76x0_read_resp_regs() 103 dev->mcu.reg_pairs[i].value = val; in mt76x0_read_resp_regs() 110 struct urb *urb = dev->mcu.resp.urb; in mt76x0_mcu_wait_resp() [all …]
|
D | Makefile | 4 usb.o init.o main.o mcu.o trace.o dma.o eeprom.o phy.o \
|
D | mt76x0.h | 165 struct mt76x0_mcu mcu; member
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/ |
D | sensorhub.txt | 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>;
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | usb_mcu.c | 55 struct mt76u_buf *buf = &usb->mcu.res; in mt76u_mcu_wait_resp() 60 if (!wait_for_completion_timeout(&usb->mcu.cmpl, in mt76u_mcu_wait_resp() 72 &usb->mcu.cmpl); in mt76u_mcu_wait_resp() 102 mutex_lock(&usb->mcu.mutex); in mt76u_mcu_send_msg() 106 seq = ++usb->mcu.msg_seq & 0xf; in mt76u_mcu_send_msg() 108 seq = ++usb->mcu.msg_seq & 0xf; in mt76u_mcu_send_msg() 126 mutex_unlock(&usb->mcu.mutex); in mt76u_mcu_send_msg() 227 err = mt76u_buf_alloc(dev, &usb->mcu.res, 1, in mt76u_mcu_init_rx() 234 &usb->mcu.res, GFP_KERNEL, in mt76u_mcu_init_rx() 236 &usb->mcu.cmpl); in mt76u_mcu_init_rx() [all …]
|
D | mt76x2_mcu.c | 47 wait_event_timeout(dev->mcu.wait, !skb_queue_empty(&dev->mcu.res_q), in mt76x2_mcu_get_response() 49 return skb_dequeue(&dev->mcu.res_q); in mt76x2_mcu_get_response() 63 mutex_lock(&dev->mcu.mutex); in mt76x2_mcu_msg_send() 65 seq = ++dev->mcu.msg_seq & 0xf; in mt76x2_mcu_msg_send() 67 seq = ++dev->mcu.msg_seq & 0xf; in mt76x2_mcu_msg_send() 97 mutex_unlock(&dev->mcu.mutex); in mt76x2_mcu_msg_send() 402 mutex_init(&dev->mcu.mutex); in mt76x2_mcu_init() 423 while ((skb = skb_dequeue(&dev->mcu.res_q)) != NULL) in mt76x2_mcu_cleanup()
|
D | mt76x2_usb.c | 92 usb_kill_urb(usb->mcu.res.urb); in mt76x2u_suspend() 103 reinit_completion(&usb->mcu.cmpl); in mt76x2u_resume() 106 &usb->mcu.res, GFP_KERNEL, in mt76x2u_resume() 108 &usb->mcu.cmpl); in mt76x2u_resume()
|
D | mt76x2_dma.c | 121 init_waitqueue_head(&dev->mcu.wait); in mt76x2_dma_init() 122 skb_queue_head_init(&dev->mcu.res_q); in mt76x2_dma_init()
|
D | mt76x2_common.c | 337 skb_queue_tail(&dev->mcu.res_q, skb); in mt76x2_queue_rx_skb() 338 wake_up(&dev->mcu.wait); in mt76x2_queue_rx_skb()
|
D | mt76x2u_mcu.c | 461 usb_kill_urb(usb->mcu.res.urb); in mt76x2u_mcu_deinit() 462 mt76u_buf_free(&usb->mcu.res); in mt76x2u_mcu_deinit()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | mcu.c | 78 struct urb *urb = dev->mcu.resp.urb; in mt7601u_mcu_wait_resp() 83 if (!wait_for_completion_timeout(&dev->mcu.resp_cmpl, in mt7601u_mcu_wait_resp() 90 rxfce = get_unaligned_le32(dev->mcu.resp.buf); in mt7601u_mcu_wait_resp() 94 &dev->mcu.resp, GFP_KERNEL, in mt7601u_mcu_wait_resp() 96 &dev->mcu.resp_cmpl); in mt7601u_mcu_wait_resp() 130 mutex_lock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 134 seq = ++dev->mcu.msg_seq & 0xf; in mt7601u_mcu_msg_send() 138 if (dev->mcu.resp_cmpl.done) in mt7601u_mcu_msg_send() 154 mutex_unlock(&dev->mcu.mutex); in mt7601u_mcu_msg_send() 501 mutex_init(&dev->mcu.mutex); in mt7601u_mcu_init() [all …]
|
D | Makefile | 4 usb.o init.o main.o mcu.o trace.o dma.o core.o eeprom.o phy.o \
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mcu-mpc8349emitx.txt | 4 - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx". 11 mcu@a { 14 "fsl,mcu-mpc8349emitx";
|
/Linux-v4.19/drivers/perf/ |
D | xgene_pmu.c | 366 XGENE_PMU_EVENT_ATTR(mcu-request, 0x12), 367 XGENE_PMU_EVENT_ATTR(mcu-rd-request, 0x13), 368 XGENE_PMU_EVENT_ATTR(mcu-hp-rd-request, 0x14), 369 XGENE_PMU_EVENT_ATTR(mcu-wr-request, 0x15), 370 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-all, 0x16), 371 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-cancel, 0x17), 372 XGENE_PMU_EVENT_ATTR(mcu-rd-response, 0x18), 373 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-speculative-all, 0x19), 374 XGENE_PMU_EVENT_ATTR(mcu-rd-proceed-speculative-cancel, 0x1a), 375 XGENE_PMU_EVENT_ATTR(mcu-wr-proceed-all, 0x1b), [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/hwmon/ |
D | nsa320-mcu.txt | 5 - compatible : "zyxel,nsa320-mcu" 13 compatible = "zyxel,nsa320-mcu";
|
/Linux-v4.19/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";
|
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 {
|
D | vf610-zii-cfu1.dts | 63 reg_vcc_3v3_mcu: regulator-vcc-3v3-mcu {
|
/Linux-v4.19/drivers/edac/ |
D | xgene_edac.c | 449 static int xgene_edac_mc_remove(struct xgene_edac_mc_ctx *mcu) in xgene_edac_mc_remove() argument 451 xgene_edac_mc_irq_ctl(mcu->mci, false); in xgene_edac_mc_remove() 452 edac_mc_del_mc(&mcu->mci->dev); in xgene_edac_mc_remove() 453 edac_mc_free(mcu->mci); in xgene_edac_mc_remove() 1839 struct xgene_edac_mc_ctx *mcu; in xgene_edac_isr() local 1841 list_for_each_entry(mcu, &ctx->mcus, next) in xgene_edac_isr() 1842 xgene_edac_mc_check(mcu->mci); in xgene_edac_isr() 1981 struct xgene_edac_mc_ctx *mcu; in xgene_edac_remove() local 1988 list_for_each_entry_safe(mcu, temp_mcu, &edac->mcus, next) in xgene_edac_remove() 1989 xgene_edac_mc_remove(mcu); in xgene_edac_remove()
|
/Linux-v4.19/arch/powerpc/boot/dts/ |
D | mpc8349emitx.dts | 137 mcu_pio: mcu@a { 140 "fsl,mcu-mpc8349emitx";
|
D | mpc8379_rdb.dts | 160 mcu_pio: mcu@a { 163 "fsl,mcu-mpc8349emitx";
|
D | mpc8377_rdb.dts | 162 mcu_pio: mcu@a { 165 "fsl,mcu-mpc8349emitx";
|
D | mpc8315erdb.dts | 126 mcu_pio: mcu@a { 129 "fsl,mcu-mpc8349emitx";
|
D | mpc8378_rdb.dts | 162 mcu_pio: mcu@a { 165 "fsl,mcu-mpc8349emitx";
|