/linux-6.3-rc2/drivers/usb/dwc3/ |
A D | core.c | 256 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local 450 evt->dwc = dwc; in dwc3_alloc_one_event_buffer() 545 dwc->scratchbuf = kmalloc_array(dwc->nr_scratch, in dwc3_alloc_scratch_buffers() 597 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers() 616 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers() 931 if (dwc->disable_scramble_quirk && dwc->is_fpga) in dwc3_core_setup_global_control() 1479 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1481 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1609 if (dwc->imod_interval && !dwc3_has_imod(dwc)) { in dwc3_check_params() 1903 dwc->edev = dwc3_get_extcon(dwc); in dwc3_probe() [all …]
|
A D | drd.c | 56 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() 513 dwc->role_sw = usb_role_switch_register(dwc->dev, &dwc3_role_switch); in dwc3_setup_role_switch() 545 if (dwc->edev) { in dwc3_drd_init() 591 if (dwc->role_sw) in dwc3_drd_exit() 594 if (dwc->edev) in dwc3_drd_exit() 620 if (dwc->otg_irq) in dwc3_drd_exit() [all …]
|
A D | ep0.c | 40 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 251 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 261 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local 388 dwc->ep0_usb_req.request.buf = dwc->setup_buf; in dwc3_ep0_handle_status() 687 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_set_sel_cmpl() local 821 if (!dwc->gadget_driver || !dwc->softconnect || !dwc->connected) in dwc3_ep0_inspect_setup() 1060 struct dwc3 *dwc = dep->dwc; in dwc3_ep0_start_control_status() local [all …]
|
A D | gadget.c | 178 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 440 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local 472 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local 491 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local 558 dwc = dep->dwc; in dwc3_gadget_start_config() 583 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_set_ep_config() local 1084 dwc = dep->dwc; in dwc3_gadget_ep_enable() 1111 dwc = dep->dwc; in dwc3_gadget_ep_disable() [all …]
|
A D | host.c | 22 dwc->xhci_resources[1].start = irq; in dwc3_host_fill_xhci_irq_res() 23 dwc->xhci_resources[1].end = irq; in dwc3_host_fill_xhci_irq_res() 28 dwc->xhci_resources[1].name = name; in dwc3_host_fill_xhci_irq_res() 67 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() argument 74 irq = dwc3_host_get_irq(dwc); in dwc3_host_init() 84 xhci->dev.parent = dwc->dev; in dwc3_host_init() 86 dwc->xhci = xhci; in dwc3_host_init() 97 if (dwc->usb3_lpm_capable) in dwc3_host_init() 100 if (dwc->usb2_lpm_disable) in dwc3_host_init() 135 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() argument [all …]
|
A D | debugfs.c | 639 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 D | ulpi.c | 53 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 D | dwc3-pci.c | 216 dwc->has_dsm_for_pm = true; in dwc3_pci_quirks() 307 struct dwc3_pci *dwc; in dwc3_pci_probe() local 320 dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); in dwc3_pci_probe() 321 if (!dwc) in dwc3_pci_probe() 325 if (!dwc->dwc3) in dwc3_pci_probe() 345 dwc->pci = pci; in dwc3_pci_probe() 346 dwc->dwc3->dev.parent = dev; in dwc3_pci_probe() 360 pci_set_drvdata(pci, dwc); in dwc3_pci_probe() 369 platform_device_put(dwc->dwc3); in dwc3_pci_probe() 500 if (!dwc->has_dsm_for_pm) in dwc3_pci_dsm() [all …]
|
A D | dwc3-haps.c | 43 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 D | core.h | 678 struct dwc3 *dwc; member 726 struct dwc3 *dwc; member 1506 (dwc->ip == _ip##_IP) 1543 bool dwc3_has_imod(struct dwc3 *dwc); 1551 int dwc3_host_init(struct dwc3 *dwc); 1552 void dwc3_host_exit(struct dwc3 *dwc); 1596 int dwc3_drd_init(struct dwc3 *dwc); 1597 void dwc3_drd_exit(struct dwc3 *dwc); 1598 void dwc3_otg_init(struct dwc3 *dwc); 1599 void dwc3_otg_exit(struct dwc3 *dwc); [all …]
|
A D | gadget.h | 110 void dwc3_ep0_interrupt(struct dwc3 *dwc, 112 void dwc3_ep0_out_start(struct dwc3 *dwc); 113 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep); 114 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc); 120 void dwc3_ep0_send_delayed_status(struct dwc3 *dwc); 146 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe() argument 149 dwc3_writel(dwc->regs, DWC3_DCTL, value); in dwc3_gadget_dctl_write_safe()
|
A D | dwc3-imx8mp.c | 130 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local 138 if ((dwc->current_dr_role == DWC3_GCTL_PRTCAP_HOST) && dwc->xhci) in dwc3_imx8mp_interrupt() 139 pm_runtime_resume(&dwc->xhci->dev); in dwc3_imx8mp_interrupt() 140 else if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) in dwc3_imx8mp_interrupt() 141 pm_runtime_get(dwc->dev); in dwc3_imx8mp_interrupt() 305 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local 320 if (dwc->current_dr_role == DWC3_GCTL_PRTCAP_DEVICE) { in dwc3_imx8mp_resume() 321 pm_runtime_mark_last_busy(dwc->dev); in dwc3_imx8mp_resume() 322 pm_runtime_put_autosuspend(dwc->dev); in dwc3_imx8mp_resume()
|
/linux-6.3-rc2/drivers/dma/dw/ |
A D | core.c | 167 dwc->tx_node_active = dwc->tx_node_active->next; in dwc_do_single_block() 188 if (dwc->nollp) { in dwc_dostart() 223 list_move(dwc->queue.next, &dwc->active_list); in dwc_dostart_first_queued() 437 list_move(dwc->queue.next, dwc->active_list.prev); in dwc_handle_error() 442 dwc_dostart(dwc, dwc_first_active(dwc)); in dwc_handle_error() 791 clamp(dwc->dma_sconfig.src_maxburst, 0U, dwc->max_burst); in dwc_config() 793 clamp(dwc->dma_sconfig.dst_maxburst, 0U, dwc->max_burst); in dwc_config() 795 dw->encode_maxburst(dwc, &dwc->dma_sconfig.src_maxburst); in dwc_config() 796 dw->encode_maxburst(dwc, &dwc->dma_sconfig.dst_maxburst); in dwc_config() 1058 if (dwc->nollp) in dwc_caps() [all …]
|
A D | idma32.c | 58 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 D | dw.c | 19 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 D | regs.h | 298 __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-6.3-rc2/drivers/pwm/ |
A D | pwm-dwc.c | 205 dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); in dwc_pwm_alloc() 206 if (!dwc) in dwc_pwm_alloc() 214 return dwc; in dwc_pwm_alloc() 224 if (!dwc) in dwc_pwm_probe() 242 if (!dwc->base) { in dwc_pwm_probe() 276 dwc->ctx[i].cnt = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT(i)); in dwc_pwm_suspend() 277 dwc->ctx[i].cnt2 = dwc_pwm_readl(dwc, DWC_TIM_LD_CNT2(i)); in dwc_pwm_suspend() 278 dwc->ctx[i].ctrl = dwc_pwm_readl(dwc, DWC_TIM_CTRL(i)); in dwc_pwm_suspend() 291 dwc_pwm_writel(dwc, dwc->ctx[i].cnt, DWC_TIM_LD_CNT(i)); in dwc_pwm_resume() 292 dwc_pwm_writel(dwc, dwc->ctx[i].cnt2, DWC_TIM_LD_CNT2(i)); in dwc_pwm_resume() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/synopsys/ |
A D | Makefile | 6 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-6.3-rc2/Documentation/devicetree/bindings/ata/ |
A D | snps,dwc-ahci.yaml | 4 $id: http://devicetree.org/schemas/ata/snps,dwc-ahci.yaml# 17 - $ref: snps,dwc-ahci-common.yaml# 23 const: snps,dwc-ahci 28 - const: rockchip,rk3568-dwc-ahci 29 - const: snps,dwc-ahci 33 $ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port 50 compatible = "snps,dwc-ahci";
|
A D | baikal,bt1-ahci.yaml | 17 - $ref: snps,dwc-ahci-common.yaml# 50 $ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
|
/linux-6.3-rc2/drivers/ufs/host/ |
A D | Makefile | 3 obj-$(CONFIG_SCSI_UFS_DWC_TC_PCI) += tc-dwc-g210-pci.o ufshcd-dwc.o tc-dwc-g210.o 4 obj-$(CONFIG_SCSI_UFS_DWC_TC_PLATFORM) += tc-dwc-g210-pltfrm.o ufshcd-dwc.o tc-dwc-g210.o
|
/linux-6.3-rc2/Documentation/devicetree/bindings/ufs/ |
A D | snps,tc-dwc-g210.yaml | 4 $id: http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml# 18 - snps,dwc-ufshcd-1.40a 31 - const: snps,dwc-ufshcd-1.40a 47 "snps,dwc-ufshcd-1.40a",
|
/linux-6.3-rc2/Documentation/devicetree/bindings/net/ |
A D | snps,dwc-qos-ethernet.txt | 14 - "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-6.3-rc2/sound/soc/dwc/ |
A D | Makefile | 5 designware_i2s-y := dwc-i2s.o 6 designware_i2s-$(CONFIG_SND_DESIGNWARE_PCM) += dwc-pcm.o
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | aops.c | 2095 if (dwc == NULL) in ocfs2_dio_alloc_write_ctx() 2098 dwc->dw_zero_count = 0; in ocfs2_dio_alloc_write_ctx() 2099 dwc->dw_orphaned = 0; in ocfs2_dio_alloc_write_ctx() 2101 bh->b_private = dwc; in ocfs2_dio_alloc_write_ctx() 2104 return dwc; in ocfs2_dio_alloc_write_ctx() 2111 kfree(dwc); in ocfs2_dio_free_write_ctx() 2183 if (unlikely(dwc == NULL)) { in ocfs2_dio_wr_get_block() 2191 !dwc->dw_orphaned) { in ocfs2_dio_wr_get_block() 2202 dwc->dw_orphaned = 1; in ocfs2_dio_wr_get_block() 2302 !dwc->dw_orphaned) in ocfs2_dio_end_io_write() [all …]
|