Home
last modified time | relevance | path

Searched full:mtu3 (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/drivers/usb/mtu3/
DMakefile8 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
Dmtu3_core.c18 #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 …]
Dmtu3.h3 * mtu3.h - MediaTek USB3 DRD header
27 struct mtu3;
56 #define MTU3_DRIVER_NAME "mtu3"
244 struct mtu3 *u3d;
276 struct mtu3 *mtu;
299 struct mtu3 *mtu;
310 * struct mtu3 - device driver instance data.
322 struct mtu3 { struct
369 static inline struct mtu3 *gadget_to_mtu3(struct usb_gadget *g) in gadget_to_mtu3() argument
371 return container_of(g, struct mtu3, g); in gadget_to_mtu3()
[all …]
Dmtu3_gadget.c10 #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()
156 struct mtu3 *mtu; in mtu3_gadget_ep_enable()
210 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_disable()
227 dev_dbg(mtu->dev, "%s active_ep=%d, mtu3 is_active=%d\n", in mtu3_gadget_ep_disable()
264 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_queue()
327 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_dequeue()
366 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_set_halt()
[all …]
DKconfig19 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.
Dmtu3_gadget_ep0.c13 #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 …]
Dmtu3_debugfs.c12 #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 …]
Dmtu3_qmu.c24 #include "mtu3.h"
191 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_resume()
249 struct mtu3 *mtu = mep->mtu; in mtu3_prepare_tx_gpd()
292 struct mtu3 *mtu = mep->mtu; in mtu3_prepare_rx_gpd()
332 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_start()
376 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_stop()
417 static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum) in qmu_tx_zlp_error_handler()
469 static void qmu_done_tx(struct mtu3 *mtu, u8 epnum) in qmu_done_tx()
509 static void qmu_done_rx(struct mtu3 *mtu, u8 epnum) in qmu_done_rx()
547 static void qmu_done_isr(struct mtu3 *mtu, u32 done_status) in qmu_done_isr()
[all …]
Dmtu3_qmu.h31 irqreturn_t mtu3_qmu_isr(struct mtu3 *mtu);
32 int mtu3_qmu_init(struct mtu3 *mtu);
33 void mtu3_qmu_exit(struct mtu3 *mtu);
Dmtu3_dr.c10 #include "mtu3.h"
132 struct mtu3 *mtu = ssusb->u3d; in ssusb_mode_sw_work()
Dmtu3_trace.h11 #define TRACE_SYSTEM mtu3
19 #include "mtu3.h"
Dmtu3_plat.c18 #include "mtu3.h"
608 {.compatible = "mediatek,mt8173-mtu3",},
609 {.compatible = "mediatek,mtu3",},
Dmtu3_host.c17 #include "mtu3.h"
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dmediatek,mtu3.yaml5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml#
24 - mediatek,mt2712-mtu3
25 - mediatek,mt8173-mtu3
26 - mediatek,mt8183-mtu3
27 - mediatek,mt8188-mtu3
28 - mediatek,mt8192-mtu3
29 - mediatek,mt8195-mtu3
30 - const: mediatek,mtu3
201 The xhci should be added as subnode to mtu3 as shown in the following
230 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dmediatek,tphy.yaml274 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
/Linux-v6.1/drivers/usb/
DMakefile21 obj-$(CONFIG_USB_MTU3) += mtu3/
DKconfig116 source "drivers/usb/mtu3/Kconfig"
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt2712e.dtsi798 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
861 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
Dmt8173.dtsi925 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
Dmt8183.dtsi1459 compatible = "mediatek,mt8183-mtu3", "mediatek,mtu3";
/Linux-v6.1/
DMAINTAINERS13075 F: drivers/usb/mtu3/