Home
last modified time | relevance | path

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

12

/linux/drivers/usb/mtu3/
H A 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
H A 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 …]
H A Dmtu3.h3 * 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 …]
H A DKconfig19 will be called mtu3.ko.
24 prompt "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.
H A 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 …]
H A Dmtu3_qmu.c24 #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 …]
H A 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);
H A Dmtu3_host.c18 #include "mtu3.h"
/linux/Documentation/devicetree/bindings/usb/
H A 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,mt8186-mtu3
28 - mediatek,mt8188-mtu3
29 - mediatek,mt8192-mtu3
30 - mediatek,mt8195-mtu3
31 - mediatek,mt8365-mtu3
32 - const: mediatek,mtu3
[all …]
/linux/drivers/pwm/
H A Dpwm-rz-mtu3.c29 #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/include/linux/mfd/
H A Drz-mtu3.h31 /* 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/arch/arm64/boot/dts/renesas/
H A Drzg2l-smarc-pinfunction.dtsi61 mtu3_pins: mtu3 {
62 mtu3-ext-clk-input-pin {
67 mtu3-pwm {
75 mtu3-zphase-clk {
H A Drzg2lc-smarc-pinfunction.dtsi53 mtu3_pins: mtu3 {
54 mtu3-pwm {
H A Drzg2ul-smarc.dtsi114 &mtu3 {
H A Drzg2ul-smarc-pinfunction.dtsi53 mtu3_pins: mtu3 {
H A Drzg2l-smarc.dtsi150 &mtu3 {
H A Dr9a07g043.dtsi77 mtu3: timer@10001200 { label
78 compatible = "renesas,r9a07g043-mtu3",
79 "renesas,rz-mtu3";
H A Dr9a07g044l2-remi-pi.dts207 &mtu3 {
/linux/drivers/counter/
H A Drz-mtu3-cnt.c10 #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");
H A DMakefile12 obj-$(CONFIG_RZ_MTU3_CNT) += rz-mtu3-cnt.o
H A DKconfig102 module will be called rz-mtu3-cnt.
/linux/Documentation/devicetree/bindings/phy/
H A Dmediatek,tphy.yaml295 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
/linux/drivers/usb/
H A DKconfig130 source "drivers/usb/mtu3/Kconfig"
/linux/drivers/mfd/
H A Drz-mtu3.h3 * MFD internals for Renesas RZ/G2L MTU3 Core driver
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt2712e.dtsi798 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
861 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";

12