/Linux-v5.4/drivers/usb/host/ |
D | xhci-plat.c | 160 struct device *sysdev, *tmpdev; in xhci_plat_probe() local 183 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe() 184 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe() 185 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe() 188 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe() 193 if (!sysdev) in xhci_plat_probe() 194 sysdev = &pdev->dev; in xhci_plat_probe() 197 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe() 199 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe() 202 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe() [all …]
|
D | ehci-mem.c | 128 dma_free_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_cleanup() 145 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 155 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 169 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 179 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 189 dma_alloc_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init()
|
D | xhci-mem.c | 36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc() 368 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc() 464 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx() 534 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx() 562 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx() 622 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info() 840 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info() 1647 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc() 1712 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free() 1736 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command() [all …]
|
D | xhci-dbgcap.c | 23 vaddr = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in dbc_dma_alloc_coherent() 33 dma_free_coherent(xhci_to_hcd(xhci)->self.sysdev, in dbc_dma_free_coherent() 140 struct device *dev = xhci_to_hcd(dbc->xhci)->self.sysdev; in xhci_dbc_giveback() 296 dev = xhci_to_hcd(xhci)->self.sysdev; in dbc_ep_do_queue()
|
D | ehci-hub.c | 785 hcd->self.sysdev, in request_single_step_set_feature_urb() 790 hcd->self.sysdev, in request_single_step_set_feature_urb()
|
D | xhci.c | 228 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 778 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 795 pci_set_power_state(to_pci_dev(hcd->self.sysdev), PCI_D3hot); in xhci_shutdown() 5124 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
/Linux-v5.4/drivers/usb/core/ |
D | buffer.c | 77 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create() 139 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc() 171 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free()
|
D | hcd.c | 1326 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma() 1359 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1365 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1371 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1422 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1426 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1457 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1472 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1477 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1490 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() [all …]
|
D | usb.c | 613 dev->dev.dma_mask = bus->sysdev->dma_mask; in usb_alloc_dev() 614 dev->dev.dma_pfn_offset = bus->sysdev->dma_pfn_offset; in usb_alloc_dev() 615 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev() 640 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev()
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | Kconfig | 28 source "arch/powerpc/sysdev/xics/Kconfig" 29 source "arch/powerpc/sysdev/xive/Kconfig"
|
/Linux-v5.4/arch/powerpc/ |
D | Kbuild | 7 obj-y += sysdev/
|
/Linux-v5.4/drivers/dma/ |
D | idma64.c | 591 idma64->dma.dev = chip->sysdev; in idma64_probe() 631 struct device *sysdev = dev->parent; in idma64_platform_probe() local 648 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in idma64_platform_probe() 653 chip->sysdev = sysdev; in idma64_platform_probe()
|
D | idma64.h | 223 struct device *sysdev; member
|
/Linux-v5.4/drivers/usb/dwc3/ |
D | core.c | 330 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 356 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 469 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers() 472 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers() 473 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers() 497 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers() 516 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers() 1244 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1246 dwc->sysdev = dwc->dev; in dwc3_get_properties()
|
D | gadget.c | 185 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request() 439 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 455 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool() 1193 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 3317 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 3332 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 3393 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 3400 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init() 3413 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit() 3416 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
|
D | ep0.c | 958 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 984 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1003 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
|
D | core.h | 1051 struct device *sysdev; member
|
/Linux-v5.4/drivers/usb/cdns3/ |
D | gadget.c | 186 priv_ep->trb_pool = dma_alloc_coherent(priv_dev->sysdev, in cdns3_allocate_trb_pool() 213 dma_free_coherent(priv_dev->sysdev, in cdns3_free_trb_pool() 646 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback() 712 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf() 741 buf->buf = dma_alloc_coherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 2005 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue() 2555 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() 2563 dma_free_coherent(priv_dev->sysdev, 8, priv_dev->setup_buf, in cdns3_gadget_exit() 2583 priv_dev->sysdev = cdns->dev; in cdns3_gadget_start() 2643 priv_dev->setup_buf = dma_alloc_coherent(priv_dev->sysdev, 8, in cdns3_gadget_start() [all …]
|
D | ep0.c | 755 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
|
D | gadget.h | 1256 struct device *sysdev; member
|
/Linux-v5.4/Documentation/admin-guide/ |
D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
/Linux-v5.4/drivers/usb/storage/ |
D | scsiglue.c | 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-power | 338 number of times preparing all non-sysdev devices for 347 non-sysdev devices failed. 371 of all non-sysdev devices failed.
|
/Linux-v5.4/include/linux/usb/ |
D | hcd.h | 458 struct device *sysdev, struct device *dev, const char *bus_name,
|
/Linux-v5.4/include/linux/ |
D | usb.h | 426 struct device *sysdev; /* as seen from firmware or bus */ member
|