Home
last modified time | relevance | path

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

/linux/drivers/usb/dwc3/
H A Dcore.c52 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
110 void dwc3_enable_susphy(struct dwc3 *dwc, bool enable) in dwc3_enable_susphy()
136 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode, bool ignore_susphy) in dwc3_set_prtcap()
163 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local
287 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
303 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
319 int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
376 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
404 static void dwc3_ref_clk_period(struct dwc3 *dwc) in dwc3_ref_clk_period()
474 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 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
248 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
309 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
453 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
485 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
[all …]
H A Ddebugfs.c287 struct dwc3 *dwc = s->private; in dwc3_host_lsp() local
317 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp() local
331 struct dwc3 *dwc = s->private; in dwc3_lsp_show() local
372 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local
402 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
443 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
477 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
529 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
574 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
617 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()
66 struct dwc3 *dwc; in dwc3_xhci_plat_start() local
81 static void dwc3_host_fill_xhci_irq_res(struct dwc3 *dwc, in dwc3_host_fill_xhci_irq_res()
96 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq()
127 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
221 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-qcom.c75 struct dwc3 dwc; member
319 struct dwc3 *dwc = &qcom->dwc; in dwc3_qcom_read_usb2_speed() local
489 struct dwc3 *dwc = &qcom->dwc; in qcom_dwc3_resume_irq() local
766 struct dwc3 *dwc = platform_get_drvdata(pdev); in dwc3_qcom_remove() local
779 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_pm_suspend() local
799 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_pm_resume() local
819 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_complete() local
826 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_prepare() local
833 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_runtime_suspend() local
846 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_qcom_runtime_resume() local
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 Dcore.h706 struct dwc3 *dwc; member
756 struct dwc3 *dwc; member
1598 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth()
1621 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1623 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1640 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1642 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1644 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1646 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1648 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
[all …]
H A Dglue.h20 struct dwc3 *dwc; member
H A Ddwc3-imx8mp.c145 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local
294 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local
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()
H A Dregs.h298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs()
303 #define channel_readl(dwc, name) \ argument
305 #define channel_writel(dwc, name, val) \ argument
/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/include/math-emu/
H A Dop-common.h829 #define FP_CONV(dfs,sfs,dwc,swc,D,S) \ argument