Home
last modified time | relevance | path

Searched refs:mtu3 (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3.h25 struct mtu3;
246 struct mtu3 *u3d;
279 struct mtu3 *mtu;
302 struct mtu3 *mtu;
324 struct mtu3 { struct
368 static inline struct mtu3 *gadget_to_mtu3(struct usb_gadget *g) in gadget_to_mtu3() argument
370 return container_of(g, struct mtu3, g); in gadget_to_mtu3()
421 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep,
423 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep);
425 void mtu3_ep0_setup(struct mtu3 *mtu);
[all …]
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.c71 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()
145 static void mtu3_device_reset(struct mtu3 *mtu) in mtu3_device_reset()
154 static void mtu3_intr_status_clear(struct mtu3 *mtu) in mtu3_intr_status_clear()
171 static void mtu3_intr_disable(struct mtu3 *mtu) in mtu3_intr_disable()
181 static void mtu3_intr_enable(struct mtu3 *mtu) in mtu3_intr_enable()
210 void mtu3_set_speed(struct mtu3 *mtu, enum usb_device_speed speed) in mtu3_set_speed()
250 static void mtu3_csr_init(struct mtu3 *mtu) in mtu3_csr_init()
[all …]
Dmtu3_gadget.c19 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()
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()
431 struct mtu3 *mtu = gadget_to_mtu3(gadget); in mtu3_gadget_get_frame()
438 struct mtu3 *mtu = gadget_to_mtu3(gadget); in mtu3_gadget_wakeup()
[all …]
Dmtu3_gadget_ep0.c39 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()
206 ep0_get_status(struct mtu3 *mtu, const struct usb_ctrlrequest *setup) in ep0_get_status()
274 static int handle_test_mode(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in handle_test_mode()
[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_debugfs.c80 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
92 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
123 static void mtu3_debugfs_regset(struct mtu3 *mtu, void __iomem *base, in mtu3_debugfs_regset()
143 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_debugfs_ep_regset()
175 struct mtu3 *mtu = mep->mtu; in mtu3_ep_info_show()
189 struct mtu3 *mtu = mep->mtu; in mtu3_fifo_show()
203 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_ring_show()
221 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_gpd_show()
291 struct mtu3 *mtu = sf->private; in mtu3_probe_show()
318 struct mtu3 *mtu = sf->private; in mtu3_probe_write()
[all …]
Dmtu3_qmu.c191 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()
559 static void qmu_exception_isr(struct mtu3 *mtu, u32 qmu_status) in qmu_exception_isr()
[all …]
DKconfig19 will be called mtu3.ko.
Dmtu3_trace.h11 #define TRACE_SYSTEM mtu3
Dmtu3_dr.c157 struct mtu3 *mtu = ssusb->u3d; in ssusb_set_mailbox()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dmediatek,mtu3.txt4 - compatible : should be "mediatek,<soc-model>-mtu3", "mediatek,mtu3",
6 when using "mediatek,mtu3" compatible string, you need SoC specific
8 - "mediatek,mt8173-mtu3"
67 The xhci should be added as subnode to mtu3 as shown in the following example
76 compatible = "mediatek,mt8173-mtu3";
Dmediatek,mtk-xhci.txt84 In the case, xhci is added as subnode to mtu3. An example and the DT binding
85 details of mtu3 can be found in:
86 Documentation/devicetree/bindings/usb/mediatek,mtu3.txt
/kernel/linux/linux-5.10/drivers/usb/
DMakefile19 obj-$(CONFIG_USB_MTU3) += mtu3/
DKconfig116 source "drivers/usb/mtu3/Kconfig"
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt2712e.dtsi792 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
855 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
Dmt8183.dtsi664 compatible ="mediatek,mt8183-mtu3", "mediatek,mtu3";
Dmt8173.dtsi863 compatible = "mediatek,mt8173-mtu3";
/kernel/linux/linux-5.10/
DMAINTAINERS11132 F: drivers/usb/mtu3/