Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,rz-mtu3.yaml4 $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/drivers/usb/mtu3/
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 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.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 Dmtu3_gadget.c11 #include "mtu3.h"
20 struct mtu3 *mtu = mreq->mtu; in mtu3_req_complete()
64 struct mtu3 *mtu = mep->mtu; in mtu3_ep_enable()
135 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 *mt in mtu3_gadget_ep_set_halt()
[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_debugfs.c13 #include "mtu3.h"
82 struct mtu3 *mtu = sf->private; in mtu3_link_state_show()
94 struct mtu3 *mtu = sf->private; in mtu3_ep_used_show()
125 static void mtu3_debugfs_regset(struct mtu3 *mtu, void __iomem *base, in mtu3_debugfs_regset()
145 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_debugfs_ep_regset()
177 struct mtu3 *mtu = mep->mtu; in mtu3_ep_info_show()
191 struct mtu3 *mtu = mep->mtu; in mtu3_fifo_show()
205 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_ring_show()
223 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_gpd_show()
283 struct mtu3 *mt
[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_dr.c11 #include "mtu3.h"
133 struct mtu3 *mtu = ssusb->u3d; in ssusb_mode_sw_work()
/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 …]
H A DMakefile52 obj-$(CONFIG_PWM_RZ_MTU3) += pwm-rz-mtu3.o
/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/drivers/mfd/
H A Drz-mtu3.c13 #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",
H A Drz-mtu3.h3 * MFD internals for Renesas RZ/G2L MTU3 Core driver
/linux/arch/arm64/boot/dts/renesas/
H A Drzg2l-smarc-pinfunction.dtsi56 mtu3_pins: mtu3 {
57 mtu3-ext-clk-input-pin {
62 mtu3-pwm {
70 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 {
/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/drivers/usb/
H A DKconfig130 source "drivers/usb/mtu3/Kconfig"

12