/linux-6.12.1/Documentation/devicetree/bindings/timer/ |
D | renesas,rz-mtu3.yaml | 4 $id: http://devicetree.org/schemas/timer/renesas,rz-mtu3.yaml# 33 - [MTU0 MTU3, MTU4, MTU6, MTU7, and MTU8] 40 - [MTU3, MTU4, MTU6, and MTU7] 41 - Through interlocked operation of MTU3/4 and MTU6/7, the positive and 49 - [MTU3 and MTU4] 99 pwm4 - MTU3.MTIOC3A PWM mode 1 100 pwm5 - MTU3.MTIOC3C PWM mode 1 112 - renesas,r9a07g043-mtu3 # RZ/{G2UL,Five} 113 - renesas,r9a07g044-mtu3 # RZ/G2{L,LC} 114 - renesas,r9a07g054-mtu3 # RZ/V2L [all …]
|
/linux-6.12.1/drivers/usb/mtu3/ |
D | Makefile | 8 obj-$(CONFIG_USB_MTU3) += mtu3.o 10 mtu3-y := mtu3_plat.o 13 mtu3-y += mtu3_trace.o 17 mtu3-y += mtu3_host.o 21 mtu3-y += mtu3_core.o mtu3_gadget_ep0.o mtu3_gadget.o mtu3_qmu.o 25 mtu3-y += mtu3_dr.o 29 mtu3-y += mtu3_debugfs.o
|
D | mtu3_core.c | 18 #include "mtu3.h" 71 static inline void mtu3_ss_func_set(struct mtu3 *mtu, bool enable) in mtu3_ss_func_set() 83 static inline void mtu3_hs_softconn_set(struct mtu3 *mtu, bool enable) in mtu3_hs_softconn_set() 96 static int mtu3_device_enable(struct mtu3 *mtu) in mtu3_device_enable() 123 static void mtu3_device_disable(struct mtu3 *mtu) in mtu3_device_disable() 144 static void mtu3_dev_power_on(struct mtu3 *mtu) in mtu3_dev_power_on() 155 static void mtu3_dev_power_down(struct mtu3 *mtu) in mtu3_dev_power_down() 167 static void mtu3_device_reset(struct mtu3 *mtu) in mtu3_device_reset() 176 static void mtu3_intr_status_clear(struct mtu3 *mtu) in mtu3_intr_status_clear() 193 static void mtu3_intr_disable(struct mtu3 *mtu) in mtu3_intr_disable() [all …]
|
D | mtu3.h | 3 * mtu3.h - MediaTek USB3 DRD header 28 struct mtu3; 57 #define MTU3_DRIVER_NAME "mtu3" 245 struct mtu3 *u3d; 277 struct mtu3 *mtu; 300 struct mtu3 *mtu; 311 * struct mtu3 - device driver instance data. 323 struct mtu3 { struct 370 static inline struct mtu3 *gadget_to_mtu3(struct usb_gadget *g) in gadget_to_mtu3() argument 372 return container_of(g, struct mtu3, g); in gadget_to_mtu3() [all …]
|
D | mtu3_gadget.c | 10 #include "mtu3.h" 19 struct mtu3 *mtu = mreq->mtu; in mtu3_req_complete() 63 struct mtu3 *mtu = mep->mtu; in mtu3_ep_enable() 134 struct mtu3 *mtu = mep->mtu; in mtu3_ep_disable() 155 struct mtu3 *mtu; in mtu3_gadget_ep_enable() 209 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_disable() 226 dev_dbg(mtu->dev, "%s active_ep=%d, mtu3 is_active=%d\n", in mtu3_gadget_ep_disable() 263 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_queue() 326 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_dequeue() 365 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_set_halt() [all …]
|
D | Kconfig | 19 will be called mtu3.ko. 24 bool "MTU3 Mode Selection" 33 Select this when you want to use MTU3 in host mode only, 40 Select this when you want to use MTU3 in gadget mode only, 49 This is the default mode of working of MTU3 controller where 57 Say Y here to enable debugging messages in the MTU3 Driver.
|
D | mtu3_gadget_ep0.c | 13 #include "mtu3.h" 17 /* ep0 is always mtu3->in_eps[0] */ 39 static char *decode_ep0_state(struct mtu3 *mtu) in decode_ep0_state() 57 static void ep0_req_giveback(struct mtu3 *mtu, struct usb_request *req) in ep0_req_giveback() 63 forward_to_driver(struct mtu3 *mtu, const struct usb_ctrlrequest *setup) in forward_to_driver() 120 static void ep0_load_test_packet(struct mtu3 *mtu) in ep0_load_test_packet() 137 struct mtu3 *mtu = mep0->mtu; in ep0_stall_set() 156 static void ep0_do_status_stage(struct mtu3 *mtu) in ep0_do_status_stage() 173 struct mtu3 *mtu; in ep0_set_sel_complete() 185 static int ep0_set_sel(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in ep0_set_sel() [all …]
|
D | mtu3_debugfs.c | 12 #include "mtu3.h" 81 struct mtu3 *mtu = sf->private; in mtu3_link_state_show() 93 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show() 124 static void mtu3_debugfs_regset(struct mtu3 *mtu, void __iomem *base, in mtu3_debugfs_regset() 144 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_debugfs_ep_regset() 176 struct mtu3 *mtu = mep->mtu; in mtu3_ep_info_show() 190 struct mtu3 *mtu = mep->mtu; in mtu3_fifo_show() 204 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_ring_show() 222 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_gpd_show() 292 struct mtu3 *mtu = sf->private; in mtu3_probe_show() [all …]
|
D | mtu3_qmu.c | 24 #include "mtu3.h" 191 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_resume() 250 struct mtu3 *mtu = mep->mtu; in mtu3_prepare_tx_gpd() 293 struct mtu3 *mtu = mep->mtu; in mtu3_prepare_rx_gpd() 333 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_start() 377 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_stop() 425 static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum) in qmu_tx_zlp_error_handler() 474 static void qmu_error_rx(struct mtu3 *mtu, u8 epnum) in qmu_error_rx() 508 static void qmu_done_tx(struct mtu3 *mtu, u8 epnum) in qmu_done_tx() 548 static void qmu_done_rx(struct mtu3 *mtu, u8 epnum) in qmu_done_rx() [all …]
|
D | mtu3_qmu.h | 31 irqreturn_t mtu3_qmu_isr(struct mtu3 *mtu); 32 int mtu3_qmu_init(struct mtu3 *mtu); 33 void mtu3_qmu_exit(struct mtu3 *mtu);
|
D | mtu3_trace.h | 11 #define TRACE_SYSTEM mtu3 19 #include "mtu3.h"
|
D | mtu3_dr.c | 10 #include "mtu3.h" 132 struct mtu3 *mtu = ssusb->u3d; in ssusb_mode_sw_work()
|
D | mtu3_plat.c | 18 #include "mtu3.h" 616 {.compatible = "mediatek,mt8173-mtu3",}, 617 {.compatible = "mediatek,mtu3",},
|
/linux-6.12.1/Documentation/devicetree/bindings/usb/ |
D | mediatek,mtu3.yaml | 5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml# 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 27 - mediatek,mt8186-mtu3 28 - mediatek,mt8188-mtu3 29 - mediatek,mt8192-mtu3 30 - mediatek,mt8195-mtu3 31 - mediatek,mt8365-mtu3 32 - const: mediatek,mtu3 [all …]
|
/linux-6.12.1/drivers/pwm/ |
D | pwm-rz-mtu3.c | 29 #include <linux/mfd/rz-mtu3.h> 40 * struct rz_mtu3_channel_io_map - MTU3 pwm channel map 51 * struct rz_mtu3_pwm_channel - MTU3 pwm channel data 53 * @mtu: MTU3 channel data 54 * @map: MTU3 pwm channel map 62 * struct rz_mtu3_pwm_chip - MTU3 pwm private data 64 * @clk: MTU3 module clock 66 * @rate: MTU3 clock rate 67 * @user_count: MTU3 usage count 68 * @enable_count: MTU3 enable count [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | rz-mtu3.h | 31 /* 8-bit register offset macros of MTU3 channels except MTU5 */ 47 /* Only MTU3/4/6/7 have TBTM registers */ 63 /* 16-bit register offset macros of MTU3 channels except MTU5 */ 126 * struct rz_mtu3_channel - MTU3 channel private data 141 * struct rz_mtu3 - MTU3 core private data 143 * @clk: MTU3 module clock 145 * @priv_data: MTU3 core driver private data
|
/linux-6.12.1/arch/arm64/boot/dts/renesas/ |
D | rzg2l-smarc-pinfunction.dtsi | 56 mtu3_pins: mtu3 { 57 mtu3-ext-clk-input-pin { 62 mtu3-pwm { 70 mtu3-zphase-clk {
|
D | rzg2lc-smarc-pinfunction.dtsi | 53 mtu3_pins: mtu3 { 54 mtu3-pwm {
|
D | rzg2ul-smarc.dtsi | 114 &mtu3 {
|
/linux-6.12.1/drivers/mfd/ |
D | rz-mtu3.c | 13 #include <linux/mfd/rz-mtu3.h> 20 #include "rz-mtu3.h" 28 /******* MTU3 registers (original offset is +0x1200) *******/ 315 .name = "rz-mtu3-counter", 318 .name = "pwm-rz-mtu3", 375 { .compatible = "renesas,rz-mtu3", }, 383 .name = "rz-mtu3",
|
/linux-6.12.1/drivers/counter/ |
D | rz-mtu3-cnt.c | 10 #include <linux/mfd/rz-mtu3.h> 66 * struct rz_mtu3_cnt - MTU3 counter private data 68 * @clk: MTU3 module clock 896 .name = "rz-mtu3-counter", 903 MODULE_ALIAS("platform:rz-mtu3-counter");
|
D | Makefile | 12 obj-$(CONFIG_RZ_MTU3_CNT) += rz-mtu3-cnt.o
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | mediatek,tphy.yaml | 284 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
|
/linux-6.12.1/drivers/usb/ |
D | Makefile | 23 obj-$(CONFIG_USB_MTU3) += mtu3/
|
D | Kconfig | 130 source "drivers/usb/mtu3/Kconfig"
|