Home
last modified time | relevance | path

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

/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.h3 * mtu3.h - MediaTek USB3 DRD header
28 struct mtu3;
57 #define MTU3_DRIVER_NAME "mtu3"
252 struct mtu3 *u3d;
278 * struct mtu3_ep - common mtu3 endpoint description
285 struct mtu3 *mtu;
308 struct mtu3 *mtu;
319 * struct mtu3 - device driver instance data.
331 struct mtu3 { struct
378 static inline struct mtu3 *gadget_to_mtu3(struct usb_gadget *g) in gadget_to_mtu3() argument
[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()
328 struct mtu3 *mtu = mep->mtu; in mtu3_gadget_dequeue()
367 struct mtu3 *mtu = mep->mtu; 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_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);
/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/drivers/mfd/
H A Drz-mtu3.c13 #include <linux/mfd/rz-mtu3.h>
19 #include "rz-mtu3.h"
26 /******* MTU3 registers (original offset is +0x1200) *******/
304 .name = "rz-mtu3-counter",
307 .name = "pwm-rz-mtu3",
355 { .compatible = "renesas,rz-mtu3", },
363 .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.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 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
899 .name = "rz-mtu3-counter",
906 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.yaml296 compatible = "mediatek,mt8173-mtu3", "mediatek,mtu3";
/linux/drivers/usb/
H A DKconfig130 source "drivers/usb/mtu3/Kconfig"
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt2712e.dtsi798 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
861 compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
/linux/drivers/clk/renesas/
H A Dr9a09g077-cpg.c356 DEF_MOD("mtu3", 200, R9A09G077_CLK_PCLKH),
/linux/
H A DMAINTAINERS16844 F: drivers/usb/mtu3/
23232 F: Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
23233 F: drivers/counter/rz-mtu3-cnt.c