Home
last modified time | relevance | path

Searched refs:dwc (Results 1 – 25 of 71) sorted by relevance

123

/linux/drivers/usb/dwc3/
A Dcore.c137 if (dwc->desired_dr_role == dwc->current_dr_role) in __dwc3_set_mode()
183 dwc3_set_prtcap(dwc, dwc->desired_dr_role); in __dwc3_set_mode()
248 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
390 evt->dwc = dwc; in dwc3_alloc_one_event_buffer()
485 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers()
537 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
556 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
838 if (dwc->disable_scramble_quirk && dwc->is_fpga) in dwc3_core_setup_global_control()
1333 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1335 dwc->sysdev = dwc->dev; in dwc3_get_properties()
[all …]
A Ddrd.c56 spin_lock(&dwc->lock); in dwc3_otg_thread_irq()
350 if (dwc->desired_otg_role == dwc->current_otg_role) in dwc3_otg_update()
373 dwc->current_otg_role = dwc->desired_otg_role; in dwc3_otg_update()
401 if (dwc->usb2_phy) in dwc3_otg_update()
419 if (dwc->edev) { in dwc3_drd_update()
558 dwc->role_sw = usb_role_switch_register(dwc->dev, &dwc3_role_switch); in dwc3_setup_role_switch()
574 dwc->edev = dwc3_get_extcon(dwc); in dwc3_drd_init()
629 if (dwc->role_sw) in dwc3_drd_exit()
632 if (dwc->edev) in dwc3_drd_exit()
658 if (dwc->otg_irq) in dwc3_drd_exit()
[all …]
A Dep0.c40 dwc = dep->dwc; in dwc3_ep0_prepare_one_trb()
72 dwc = dep->dwc; in dwc3_ep0_start_trans()
90 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local
193 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local
249 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
259 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
369 dwc->ep0_usb_req.request.buf = dwc->setup_buf; in dwc3_ep0_handle_status()
604 ret = dwc->gadget_driver->setup(dwc->gadget, ctrl); in dwc3_ep0_delegate_req()
668 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_set_sel_cmpl() local
737 dwc->ep0_usb_req.request.buf = dwc->setup_buf; in dwc3_ep0_set_sel()
[all …]
A Dgadget.c178 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
211 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
276 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
422 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
454 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
473 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
540 dwc = dep->dwc; in dwc3_gadget_start_config()
565 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_set_ep_config() local
1054 dwc = dep->dwc; in dwc3_gadget_ep_enable()
1081 dwc = dep->dwc; in dwc3_gadget_ep_disable()
[all …]
A Ddebugfs.c639 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_size_show() local
661 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_size_show() local
683 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() local
698 struct dwc3 *dwc = dep->dwc; in dwc3_rx_request_queue_show() local
713 struct dwc3 *dwc = dep->dwc; in dwc3_rx_info_queue_show() local
728 struct dwc3 *dwc = dep->dwc; in dwc3_descriptor_fetch_queue_show() local
743 struct dwc3 *dwc = dep->dwc; in dwc3_event_queue_show() local
758 struct dwc3 *dwc = dep->dwc; in dwc3_transfer_type_show() local
793 struct dwc3 *dwc = dep->dwc; in dwc3_trb_ring_show() local
831 struct dwc3 *dwc = dep->dwc; in dwc3_ep_info_register_show() local
[all …]
A Dulpi.c53 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local
60 ret = dwc3_ulpi_busyloop(dwc, addr, true); in dwc3_ulpi_read()
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() argument
89 dwc->ulpi = ulpi_register_interface(dwc->dev, &dwc3_ulpi_ops); in dwc3_ulpi_init()
90 if (IS_ERR(dwc->ulpi)) { in dwc3_ulpi_init()
92 return PTR_ERR(dwc->ulpi); in dwc3_ulpi_init()
98 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit() argument
100 if (dwc->ulpi) { in dwc3_ulpi_exit()
101 ulpi_unregister_interface(dwc->ulpi); in dwc3_ulpi_exit()
[all …]
A Dhost.c45 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() argument
54 irq = dwc3_host_get_irq(dwc); in dwc3_host_init()
67 dwc->xhci_resources[1].start = irq; in dwc3_host_init()
68 dwc->xhci_resources[1].end = irq; in dwc3_host_init()
70 dwc->xhci_resources[1].name = res->name; in dwc3_host_init()
78 xhci->dev.parent = dwc->dev; in dwc3_host_init()
81 dwc->xhci = xhci; in dwc3_host_init()
92 if (dwc->usb3_lpm_capable) in dwc3_host_init()
95 if (dwc->usb2_lpm_disable) in dwc3_host_init()
130 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() argument
[all …]
A Ddwc3-pci.c185 dwc->has_dsm_for_pm = true; in dwc3_pci_quirks()
256 struct dwc3_pci *dwc; in dwc3_pci_probe() local
269 dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); in dwc3_pci_probe()
270 if (!dwc) in dwc3_pci_probe()
274 if (!dwc->dwc3) in dwc3_pci_probe()
294 dwc->pci = pci; in dwc3_pci_probe()
295 dwc->dwc3->dev.parent = dev; in dwc3_pci_probe()
302 ret = dwc3_pci_quirks(dwc); in dwc3_pci_probe()
313 pci_set_drvdata(pci, dwc); in dwc3_pci_probe()
432 if (!dwc->has_dsm_for_pm) in dwc3_pci_dsm()
[all …]
A Ddwc3-haps.c43 struct dwc3_haps *dwc; in dwc3_haps_probe() local
56 dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); in dwc3_haps_probe()
57 if (!dwc) in dwc3_haps_probe()
61 if (!dwc->dwc3) in dwc3_haps_probe()
81 dwc->pci = pci; in dwc3_haps_probe()
82 dwc->dwc3->dev.parent = dev; in dwc3_haps_probe()
88 ret = platform_device_add(dwc->dwc3); in dwc3_haps_probe()
94 pci_set_drvdata(pci, dwc); in dwc3_haps_probe()
98 device_remove_software_node(&dwc->dwc3->dev); in dwc3_haps_probe()
99 platform_device_put(dwc->dwc3); in dwc3_haps_probe()
[all …]
A Dcore.h666 struct dwc3 *dwc; member
714 struct dwc3 *dwc; member
1477 (dwc->ip == _ip##_IP)
1514 bool dwc3_has_imod(struct dwc3 *dwc);
1520 int dwc3_host_init(struct dwc3 *dwc);
1521 void dwc3_host_exit(struct dwc3 *dwc);
1564 int dwc3_drd_init(struct dwc3 *dwc);
1565 void dwc3_drd_exit(struct dwc3 *dwc);
1566 void dwc3_otg_init(struct dwc3 *dwc);
1567 void dwc3_otg_exit(struct dwc3 *dwc);
[all …]
A Ddwc3-imx8mp.c82 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local
90 if ((dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc->xhci) in dwc3_imx8mp_interrupt()
91 pm_runtime_resume(&dwc->xhci->dev); in dwc3_imx8mp_interrupt()
92 else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_interrupt()
93 pm_runtime_get(dwc->dev); in dwc3_imx8mp_interrupt()
245 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local
257 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) { in dwc3_imx8mp_resume()
258 pm_runtime_mark_last_busy(dwc->dev); in dwc3_imx8mp_resume()
259 pm_runtime_put_autosuspend(dwc->dev); in dwc3_imx8mp_resume()
A Dgadget.h110 void dwc3_ep0_interrupt(struct dwc3 *dwc,
112 void dwc3_ep0_out_start(struct dwc3 *dwc);
118 void dwc3_ep0_send_delayed_status(struct dwc3 *dwc);
143 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe() argument
146 dwc3_writel(dwc->regs, DWC3_DCTL, value); in dwc3_gadget_dctl_write_safe()
/linux/drivers/dma/dw/
A Dcore.c170 dwc->tx_node_active = dwc->tx_node_active->next; in dwc_do_single_block()
191 if (dwc->nollp) { in dwc_dostart()
226 list_move(dwc->queue.next, &dwc->active_list); in dwc_dostart_first_queued()
440 list_move(dwc->queue.next, dwc->active_list.prev); in dwc_handle_error()
445 dwc_dostart(dwc, dwc_first_active(dwc)); in dwc_handle_error()
794 clamp(dwc->dma_sconfig.src_maxburst, 0U, dwc->max_burst); in dwc_config()
796 clamp(dwc->dma_sconfig.dst_maxburst, 0U, dwc->max_burst); in dwc_config()
798 dw->encode_maxburst(dwc, &dwc->dma_sconfig.src_maxburst); in dwc_config()
799 dw->encode_maxburst(dwc, &dwc->dma_sconfig.dst_maxburst); in dwc_config()
1062 if (dwc->nollp) in dwc_caps()
[all …]
A Didma32.c58 value |= dwc->chan.chan_id; in idma32_initialize_chan_xbar()
69 switch (dwc->direction) { in idma32_initialize_chan_xbar()
97 switch (dwc->direction) { in idma32_initialize_chan_xbar()
112 switch (dwc->direction) { in idma32_initialize_chan_xbar()
114 dst_id = dwc->chan.chan_id; in idma32_initialize_chan_xbar()
115 src_id = dwc->dws.src_id; in idma32_initialize_chan_xbar()
118 dst_id = dwc->dws.dst_id; in idma32_initialize_chan_xbar()
119 src_id = dwc->chan.chan_id; in idma32_initialize_chan_xbar()
186 if (bytes > dwc->block_size) { in idma32_bytes2block()
187 block = dwc->block_size; in idma32_bytes2block()
[all …]
A Ddw.c19 bool hs_polarity = dwc->dws.hs_polarity; in dw_dma_initialize_chan()
21 cfghi |= DWC_CFGH_DST_PER(dwc->dws.dst_id); in dw_dma_initialize_chan()
22 cfghi |= DWC_CFGH_SRC_PER(dwc->dws.src_id); in dw_dma_initialize_chan()
28 channel_writel(dwc, CFG_LO, cfglo); in dw_dma_initialize_chan()
29 channel_writel(dwc, CFG_HI, cfghi); in dw_dma_initialize_chan()
34 u32 cfglo = channel_readl(dwc, CFG_LO); in dw_dma_suspend_chan()
41 u32 cfglo = channel_readl(dwc, CFG_LO); in dw_dma_resume_chan()
52 block = dwc->block_size; in dw_dma_bytes2block()
53 *len = dwc->block_size << width; in dw_dma_bytes2block()
72 u8 p_master = dwc->dws.p_master; in dw_dma_prepare_ctllo()
[all …]
A Dregs.h298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() argument
300 return dwc->ch_regs; in __dwc_regs()
303 #define channel_readl(dwc, name) \ argument
304 readl(&(__dwc_regs(dwc)->name))
305 #define channel_writel(dwc, name, val) \ argument
306 writel((val), &(__dwc_regs(dwc)->name))
326 void (*initialize_chan)(struct dw_dma_chan *dwc);
327 void (*suspend_chan)(struct dw_dma_chan *dwc, bool drain);
328 void (*resume_chan)(struct dw_dma_chan *dwc, bool drain);
329 u32 (*prepare_ctllo)(struct dw_dma_chan *dwc);
[all …]
/linux/drivers/pwm/
A Dpwm-dwc.c202 struct dwc_pwm *dwc; in dwc_pwm_probe() local
205 dwc = devm_kzalloc(&pci->dev, sizeof(*dwc), GFP_KERNEL); in dwc_pwm_probe()
206 if (!dwc) in dwc_pwm_probe()
226 if (!dwc->base) { in dwc_pwm_probe()
233 dwc->chip.dev = dev; in dwc_pwm_probe()
270 dwc->ctx[i].cnt = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT(i)); in dwc_pwm_suspend()
271 dwc->ctx[i].cnt2 = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT2(i)); in dwc_pwm_suspend()
272 dwc->ctx[i].ctrl = dwc_pwm_readl(dwc, DWC_TIM_CTRL(i)); in dwc_pwm_suspend()
285 dwc_pwm_writel(dwc, dwc->ctx[i].cnt, DWC_TIM_LD_CNT(i)); in dwc_pwm_resume()
286 dwc_pwm_writel(dwc, dwc->ctx[i].cnt2, DWC_TIM_LD_CNT2(i)); in dwc_pwm_resume()
[all …]
/linux/drivers/pci/controller/dwc/
A D.built-in.a.cmd1dwc/built-in.a := echo >/dev/null; rm -f drivers/pci/controller/dwc/built-in.a; /usr/bin/ccache /h…
/linux/drivers/pci/controller/
A Dbuilt-in.a20 dwc/pcie-designware.o/
22 dwc/pci-imx6.o/
23 dwc/pci-layerscape.o/
24 dwc/pcie-qcom.o/
25 dwc/pcie-armada8k.o/
26 dwc/pcie-kirin.o/
27 dwc/pcie-histb.o/
28 dwc/pcie-visconti.o/
29 dwc/pcie-hisi.o/
30 dwc/pcie-al.o/
[all …]
/linux/drivers/net/ethernet/synopsys/
A DMakefile6 obj-$(CONFIG_DWC_XLGMAC) += dwc-xlgmac.o
7 dwc-xlgmac-objs := dwc-xlgmac-net.o dwc-xlgmac-desc.o \
8 dwc-xlgmac-hw.o dwc-xlgmac-common.o \
9 dwc-xlgmac-ethtool.o
11 dwc-xlgmac-$(CONFIG_DWC_XLGMAC_PCI) += dwc-xlgmac-pci.o
/linux/drivers/pci/
A Dbuilt-in.a62 controller/dwc/pcie-designware.o/
64 controller/dwc/pci-imx6.o/
65 controller/dwc/pci-layerscape.o/
66 controller/dwc/pcie-qcom.o/
67 controller/dwc/pcie-armada8k.o/
68 controller/dwc/pcie-kirin.o/
69 controller/dwc/pcie-histb.o/
70 controller/dwc/pcie-visconti.o/
71 controller/dwc/pcie-hisi.o/
72 controller/dwc/pcie-al.o/
[all …]
/linux/drivers/scsi/ufs/
A DMakefile15 obj-$(CONFIG_SCSI_UFS_DWC_TC_PCI) += tc-dwc-g210-pci.o ufshcd-dwc.o tc-dwc-g210.o
16 obj-$(CONFIG_SCSI_UFS_DWC_TC_PLATFORM) += tc-dwc-g210-pltfrm.o ufshcd-dwc.o tc-dwc-g210.o
/linux/Documentation/devicetree/bindings/net/
A Dsnps,dwc-qos-ethernet.txt14 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10"
16 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10"
18 - "snps,dwc-qos-ethernet-4.10"
72 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
78 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
83 - "snps,dwc-qos-ethernet-4.10" (deprecated):
97 - "nvidia,tegra186-eqos", "snps,dwc-qos-ethernet-4.10":
99 - "axis,artpec6-eqos", "snps,dwc-qos-ethernet-4.10":
101 - "snps,dwc-qos-ethernet-4.10" (deprecated):
123 - compatible: Must be "snps,dwc-qos-ethernet-mdio".
[all …]
/linux/sound/soc/dwc/
A D.built-in.a.cmd1dwc/built-in.a := echo >/dev/null; rm -f sound/soc/dwc/built-in.a; /usr/bin/ccache /home/test/work…
/linux/Documentation/devicetree/bindings/ufs/
A Dtc-dwc-g210-pltfrm.txt11 "snps,dwc-ufshcd-1.40a"
20 dwc-ufs@d0000000 {
22 "snps,dwc-ufshcd-1.40a",

Completed in 74 milliseconds

123