Home
last modified time | relevance | path

Searched refs:mcu (Results 1 – 25 of 113) sorted by relevance

12345

/linux-6.3-rc2/arch/powerpc/platforms/83xx/
A Dmcu_mpc8349emitx.c33 struct mcu { struct
46 struct mcu *mcu = glob_mcu; in shutdown_thread_fn() local
73 struct mcu *mcu = glob_mcu; in show_status() local
86 struct mcu *mcu = glob_mcu; in mcu_power_off() local
97 struct mcu *mcu = gpiochip_get_data(gc); in mcu_gpio_set() local
116 static int mcu_gpiochip_add(struct mcu *mcu) in mcu_gpiochip_add() argument
133 static void mcu_gpiochip_remove(struct mcu *mcu) in mcu_gpiochip_remove() argument
141 struct mcu *mcu; in mcu_probe() local
144 mcu = kzalloc(sizeof(*mcu), GFP_KERNEL); in mcu_probe()
145 if (!mcu) in mcu_probe()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_usb_mcu.c33 usb->mcu.rp[i].value = val; in mt76x02u_multiple_mcu_reads()
40 u8 *data = usb->mcu.data; in mt76x02u_mcu_wait_resp()
52 if (usb->mcu.rp) in mt76x02u_mcu_wait_resp()
120 mutex_lock(&dev->mcu.mutex); in mt76x02u_mcu_send_msg()
122 mutex_unlock(&dev->mcu.mutex); in mt76x02u_mcu_send_msg()
156 mutex_lock(&dev->mcu.mutex); in mt76x02u_mcu_wr_rp()
192 mutex_lock(&dev->mcu.mutex); in mt76x02u_mcu_rd_rp()
194 usb->mcu.rp = data; in mt76x02u_mcu_rd_rp()
195 usb->mcu.rp_len = n; in mt76x02u_mcu_rd_rp()
196 usb->mcu.base = base; in mt76x02u_mcu_rd_rp()
[all …]
A Dmcu.c41 wait_event_timeout(dev->mcu.wait, in mt76_mcu_get_response()
42 (!skb_queue_empty(&dev->mcu.res_q) || in mt76_mcu_get_response()
45 return skb_dequeue(&dev->mcu.res_q); in mt76_mcu_get_response()
51 skb_queue_tail(&dev->mcu.res_q, skb); in mt76_mcu_rx_event()
52 wake_up(&dev->mcu.wait); in mt76_mcu_rx_event()
82 mutex_lock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg()
93 expires = jiffies + dev->mcu.timeout; in mt76_mcu_skb_send_and_get_msg()
105 mutex_unlock(&dev->mcu.mutex); in mt76_mcu_skb_send_and_get_msg()
A Dmt76x02_mcu.c51 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()
A Dsdio_txrx.c183 mt76s_tx_pick_quota(struct mt76_sdio *sdio, bool mcu, int buf_sz, in mt76s_tx_pick_quota() argument
191 if (mcu && sdio->hw_ver == MT76_CONNAC2_SDIO) in mt76s_tx_pick_quota()
194 if (mcu) { in mt76s_tx_pick_quota()
210 mt76s_tx_update_quota(struct mt76_sdio *sdio, bool mcu, int pse_size, in mt76s_tx_update_quota() argument
213 if (mcu) { in mt76s_tx_update_quota()
242 bool mcu = q == dev->q_mcu[MT_MCUQ_WM]; in mt76s_tx_run_queue() local
273 if (mt76s_tx_pick_quota(sdio, mcu, e->buf_sz, &pse_sz, in mt76s_tx_run_queue()
302 mt76s_tx_update_quota(sdio, mcu, pse_sz, ple_sz); in mt76s_tx_run_queue()
/linux-6.3-rc2/Documentation/devicetree/bindings/iio/
A Dsamsung,sensorhub-rinato.yaml28 ap-mcu-gpios:
33 mcu-ap-gpios:
38 mcu-reset-gpios:
47 - ap-mcu-gpios
48 - mcu-ap-gpios
49 - mcu-reset-gpios
68 ap-mcu-gpios = <&gpx0 0 0>;
69 mcu-ap-gpios = <&gpx0 4 0>;
70 mcu-reset-gpios = <&gpx0 5 0>;
/linux-6.3-rc2/drivers/net/ethernet/mediatek/
A Dmtk_wed_mcu.c53 wait_event_timeout(wo->mcu.wait, !skb_queue_empty(&wo->mcu.res_q), in mtk_wed_mcu_get_response()
55 return skb_dequeue(&wo->mcu.res_q); in mtk_wed_mcu_get_response()
60 skb_queue_tail(&wo->mcu.res_q, skb); in mtk_wed_mcu_rx_event()
61 wake_up(&wo->mcu.wait); in mtk_wed_mcu_rx_event()
121 wo->mcu.timeout = 20 * HZ; in mtk_wed_mcu_skb_send_msg()
128 u16 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
131 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
183 mutex_lock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
189 expires = jiffies + wo->mcu.timeout; in mtk_wed_mcu_send_msg()
197 mutex_unlock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dmcu.c70 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 …]
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/fsl/
A Dmcu-mpc8349emitx.txt4 - compatible : "fsl,<mcu-chip>-<board>", "fsl,mcu-mpc8349emitx".
11 mcu@a {
14 "fsl,mcu-mpc8349emitx";
/linux-6.3-rc2/drivers/thermal/
A Dkhadas_mcu_fan.c20 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-6.3-rc2/Documentation/devicetree/bindings/thermal/
A Dmediatek,lvts-thermal.yaml22 - mediatek,mt8192-lvts-mcu
24 - mediatek,mt8195-lvts-mcu
63 - mediatek,mt8192-lvts-mcu
78 - mediatek,mt8195-lvts-mcu
111 compatible = "mediatek,mt8195-lvts-mcu";
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
A Dkhadas,mcu.yaml4 $id: http://devicetree.org/schemas/mfd/khadas,mcu.yaml#
20 - khadas,mcu # MCU revision is discoverable
40 compatible = "khadas,mcu";
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7921/
A Dsdio_mac.c78 wake_up(&dev->mt76.mcu.wait); in mt7921s_init_reset()
79 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_init_reset()
103 wake_up(&dev->mt76.mcu.wait); in mt7921s_mac_reset()
104 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_mac_reset()
A Dusb_mac.c187 wake_up(&dev->mt76.mcu.wait); in mt7921u_init_reset()
188 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921u_init_reset()
210 wake_up(&dev->mt76.mcu.wait); in mt7921u_mac_reset()
211 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921u_mac_reset()
/linux-6.3-rc2/drivers/perf/
A Dxgene_pmu.c354 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-6.3-rc2/arch/arm64/boot/dts/ti/
A Dk3-am654-industrial-thermal.dtsi33 mcu_thermal: mcu-thermal {
39 mcu_crit: mcu-crit {
A Dk3-j721s2-common-proc-board.dts150 mcu_cpsw_pins_default: mcu-cpsw-pins-default {
167 mcu_mdio_pins_default: mcu-mdio-pins-default {
174 mcu_mcan0_pins_default: mcu-mcan0-pins-default {
181 mcu_mcan1_pins_default: mcu-mcan1-pins-default {
188 mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-pins-default {
195 mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-pins-default {
A Dk3-j7200-som-p0.dtsi86 mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-pins-default {
104 mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default {
150 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
155 mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 {
A Dk3-am68-sk-base-board.dts179 mcu_cpsw_pins_default: mcu-cpsw-pins-default {
196 mcu_mdio_pins_default: mcu-mdio-pins-default {
203 mcu_mcan0_pins_default: mcu-mcan0-pins-default {
210 mcu_mcan1_pins_default: mcu-mcan1-pins-default {
217 mcu_i2c1_pins_default: mcu-i2c1-pins-default {
/linux-6.3-rc2/Documentation/devicetree/bindings/hwmon/
A Dnsa320-mcu.txt5 - compatible : "zyxel,nsa320-mcu"
13 compatible = "zyxel,nsa320-mcu";
/linux-6.3-rc2/arch/arm/boot/dts/
A Dkirkwood-nsa320.dts52 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 Dkirkwood-nsa325.dts42 pmx_mcu_data: pmx-mcu-data {
52 pmx_mcu_clk: pmx-mcu-clk {
57 pmx_mcu_act: pmx-mcu-act {
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7603/
A Dmcu.c46 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()
233 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7603_mcu_exit()
/linux-6.3-rc2/Documentation/devicetree/bindings/usb/
A Dmediatek,musb.yaml44 - const: mcu
104 clock-names = "main","mcu","univpll";
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7996/
A DMakefile5 mt7996e-y := pci.o init.o dma.o eeprom.o main.o mcu.o mac.o \

Completed in 36 milliseconds

12345