Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/mtu3/
Dmtu3.h25 struct mtu3;
246 struct mtu3 *u3d;
279 struct mtu3 *mtu;
304 struct mtu3 *mtu;
326 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()
428 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep,
430 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep);
432 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()
141 static void mtu3_device_reset(struct mtu3 *mtu) in mtu3_device_reset()
151 static void mtu3_intr_disable(struct mtu3 *mtu) in mtu3_intr_disable()
161 static void mtu3_intr_status_clear(struct mtu3 *mtu) in mtu3_intr_status_clear()
176 static void mtu3_intr_enable(struct mtu3 *mtu) in mtu3_intr_enable()
208 struct mtu3 *mtu = mep->mtu; in mtu3_ep_reset()
218 struct mtu3 *mtu = mep->mtu; in mtu3_ep_stall_set()
[all …]
Dmtu3_gadget.c19 struct mtu3 *mtu; in mtu3_req_complete()
71 struct mtu3 *mtu = mep->mtu; in mtu3_ep_enable()
137 struct mtu3 *mtu = mep->mtu; in mtu3_ep_disable()
159 struct mtu3 *mtu; in mtu3_gadget_ep_enable()
215 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_disable()
268 struct mtu3 *mtu; in mtu3_gadget_queue()
340 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_dequeue()
377 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_ep_set_halt()
448 struct mtu3 *mtu = gadget_to_mtu3(gadget); in mtu3_gadget_get_frame()
455 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()
164 struct mtu3 *mtu; in ep0_set_sel_complete()
176 static int ep0_set_sel(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in ep0_set_sel()
197 ep0_get_status(struct mtu3 *mtu, const struct usb_ctrlrequest *setup) in ep0_get_status()
265 static int handle_test_mode(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in handle_test_mode()
315 static int ep0_handle_feature_dev(struct mtu3 *mtu, in ep0_handle_feature_dev()
[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()
290 struct mtu3 *mtu = mep->mtu; in mtu3_prepare_rx_gpd()
328 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_start()
372 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_stop()
413 static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum) in qmu_tx_zlp_error_handler()
464 static void qmu_done_tx(struct mtu3 *mtu, u8 epnum) in qmu_done_tx()
504 static void qmu_done_rx(struct mtu3 *mtu, u8 epnum) in qmu_done_rx()
542 static void qmu_done_isr(struct mtu3 *mtu, u32 done_status) in qmu_done_isr()
554 static void qmu_exception_isr(struct mtu3 *mtu, u32 qmu_status) in qmu_exception_isr()
[all …]
DKconfig19 will be called mtu3.ko.
Dmtu3_dr.c159 struct mtu3 *mtu = ssusb->u3d; in ssusb_set_mailbox()
Dmtu3_trace.h11 #define TRACE_SYSTEM mtu3
/Linux-v5.4/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
Dusb-conn-gpio.txt23 &mtu3 {
/Linux-v5.4/drivers/usb/
DMakefile19 obj-$(CONFIG_USB_MTU3) += mtu3/
DKconfig116 source "drivers/usb/mtu3/Kconfig"
/Linux-v5.4/arch/arm64/boot/dts/mediatek/
Dmt2712e.dtsi670 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
732 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
Dmt8173.dtsi845 compatible = "mediatek,mt8173-mtu3";
/Linux-v5.4/
DMAINTAINERS10344 F: drivers/usb/mtu3/