Home
last modified time | relevance | path

Searched defs:dwc (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/usb/dwc3/
H A Dcore.c53 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
111 void dwc3_enable_susphy(struct dwc3 *dwc, bool enable) in dwc3_enable_susphy()
138 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode, bool ignore_susphy) in dwc3_set_prtcap()
167 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local
290 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
306 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
322 int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
379 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
407 static void dwc3_ref_clk_period(struct dwc3 *dwc) in dwc3_ref_clk_period()
477 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
[all …]
H A Ddrd.c19 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events()
27 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events()
35 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events()
54 struct dwc3 *dwc = _dwc; in dwc3_otg_thread_irq() local
72 struct dwc3 *dwc = _dwc; in dwc3_otg_irq() local
93 static void dwc3_otgregs_init(struct dwc3 *dwc) in dwc3_otgregs_init()
137 static int dwc3_otg_get_irq(struct dwc3 *dwc) in dwc3_otg_get_irq()
167 void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
186 void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
195 void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
[all …]
H A Dep0.c40 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb() local
68 struct dwc3 *dwc; in dwc3_ep0_start_trans() local
92 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local
196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local
224 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
259 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
269 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
280 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
313 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
339 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[all …]
H A Dgadget.c41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
142 static void dwc3_ep0_reset_state(struct dwc3 *dwc) in dwc3_ep0_reset_state()
196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
229 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
255 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
316 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
461 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
493 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
[all …]
H A Ddebugfs.c283 struct dwc3 *dwc = s->private; in dwc3_host_lsp() local
313 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp() local
327 struct dwc3 *dwc = s->private; in dwc3_lsp_show() local
368 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local
398 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
437 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
471 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
523 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
568 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
611 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
[all …]
H A Dhost.c29 static void dwc3_power_off_all_roothub_ports(struct dwc3 *dwc) in dwc3_power_off_all_roothub_ports()
69 struct dwc3 *dwc; in dwc3_xhci_plat_start() local
84 static void dwc3_host_fill_xhci_irq_res(struct dwc3 *dwc, in dwc3_host_fill_xhci_irq_res()
99 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq()
130 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
225 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
H A Dulpi.c24 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop()
53 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local
71 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write() local
86 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
98 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
H A Ddwc3-pci.c226 static int dwc3_pci_quirks(struct dwc3_pci *dwc, in dwc3_pci_quirks()
317 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local
333 struct dwc3_pci *dwc; in dwc3_pci_probe() local
401 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local
465 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm()
493 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local
503 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local
519 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local
526 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
H A Ddwc3-qcom.c74 struct dwc3 dwc; member
236 struct dwc3 *dwc = &qcom->dwc; in dwc3_qcom_read_usb2_speed() local
406 struct dwc3 *dwc = &qcom->dwc; in qcom_dwc3_resume_irq() local
561 static void dwc3_qcom_set_role_notifier(struct dwc3 *dwc, enum usb_role next_role) in dwc3_qcom_set_role_notifier()
588 static void dwc3_qcom_run_stop_notifier(struct dwc3 *dwc, bool is_on) in dwc3_qcom_run_stop_notifier()
735 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_qcom_remove() local
750 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_pm_suspend() local
770 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_pm_resume() local
790 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_complete() local
797 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_prepare() local
[all …]
H A Ddwc3-google.c55 struct dwc3 dwc; member
205 struct dwc3 *dwc = &google->dwc; in dwc3_google_resume_irq() local
465 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_google_remove() local
532 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_pm_suspend() local
545 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_pm_resume() local
558 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_complete() local
565 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_prepare() local
572 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_runtime_suspend() local
585 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_google_runtime_resume() local
H A Ddwc3-generic-plat.c25 struct dwc3 dwc; member
146 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_generic_remove() local
153 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_generic_suspend() local
168 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_generic_resume() local
H A Dio.h19 static inline u32 dwc3_readl(struct dwc3 *dwc, u32 offset) in dwc3_readl()
41 static inline void dwc3_writel(struct dwc3 *dwc, u32 offset, u32 value) in dwc3_writel()
H A Ddwc3-haps.c43 struct dwc3_haps *dwc; in dwc3_haps_probe() local
105 struct dwc3_haps *dwc = pci_get_drvdata(pci); in dwc3_haps_remove() local
H A Ddwc3-imx8mp.c145 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3_pdev); in dwc3_imx8mp_interrupt() local
161 static void dwc3_imx_pre_set_role(struct dwc3 *dwc, enum usb_role role) in dwc3_imx_pre_set_role()
330 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3_pdev); in dwc3_imx8mp_resume() local
H A Dcore.h706 struct dwc3 *dwc; member
754 struct dwc3 *dwc; member
1615 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth()
1634 static inline void dwc3_pre_set_role(struct dwc3 *dwc, enum usb_role role) in dwc3_pre_set_role()
1640 static inline void dwc3_pre_run_stop(struct dwc3 *dwc, bool is_on) in dwc3_pre_run_stop()
1650 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1652 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1669 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1671 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1673 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
[all …]
H A Ddwc3-apple.c90 struct dwc3 dwc; member
487 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_apple_remove() local
H A Dglue.h35 struct dwc3 *dwc; member
H A Ddwc3-qcom-legacy.c306 struct dwc3 *dwc; in dwc3_qcom_is_host() local
322 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in dwc3_qcom_read_usb2_speed() local
501 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq() local
H A Dgadget.h147 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe()
/linux/drivers/dma/dw/
H A Dcore.c49 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
57 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() local
78 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
97 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
115 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
128 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
139 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
149 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block()
172 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart()
217 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued()
[all …]
H A Didma32.c36 static unsigned int idma32_get_slave_devfn(struct dw_dma_chan *dwc) in idma32_get_slave_devfn()
46 static void idma32_initialize_chan_xbar(struct dw_dma_chan *dwc) in idma32_initialize_chan_xbar()
141 static void idma32_initialize_chan_generic(struct dw_dma_chan *dwc) in idma32_initialize_chan_generic()
161 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan()
171 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan()
181 static u32 idma32_bytes2block(struct dw_dma_chan *dwc, in idma32_bytes2block()
197 static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in idma32_block2bytes()
207 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo()
H A Ddw.c14 static void dw_dma_initialize_chan(struct dw_dma_chan *dwc) in dw_dma_initialize_chan()
32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan()
39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan()
46 static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc, in dw_dma_bytes2block()
62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in dw_dma_block2bytes()
76 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo()
/linux/drivers/pwm/
H A Dpwm-dwc-core.c24 static void __dwc_pwm_set_enable(struct dwc_pwm *dwc, int pwm, int enabled) in __dwc_pwm_set_enable()
38 static int __dwc_pwm_configure_timer(struct dwc_pwm *dwc, in __dwc_pwm_configure_timer()
101 struct dwc_pwm *dwc = to_dwc_pwm(chip); in dwc_pwm_apply() local
123 struct dwc_pwm *dwc = to_dwc_pwm(chip); in dwc_pwm_get_state() local
165 struct dwc_pwm *dwc; in dwc_pwm_alloc() local
H A Dpwm-dwc.h64 static inline u32 dwc_pwm_readl(struct dwc_pwm *dwc, u32 offset) in dwc_pwm_readl()
69 static inline void dwc_pwm_writel(struct dwc_pwm *dwc, u32 value, u32 offset) in dwc_pwm_writel()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-eic7700.c49 struct eic7700_qos_priv *dwc = (struct eic7700_qos_priv *)priv; in eic7700_clks_config() local
63 struct eic7700_qos_priv *dwc = priv; in eic7700_dwmac_init() local
70 struct eic7700_qos_priv *dwc = priv; in eic7700_dwmac_exit() local

12