/linux-6.1.9/drivers/usb/host/ |
D | xhci-plat.c | 180 struct device *sysdev, *tmpdev; in xhci_plat_probe() local 205 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe() 206 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe() 207 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe() 210 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe() 215 if (!sysdev) in xhci_plat_probe() 216 sysdev = &pdev->dev; in xhci_plat_probe() 218 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe() 220 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe() 222 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe() [all …]
|
D | ehci-mem.c | 127 dma_free_coherent(ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_cleanup() 144 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 154 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 168 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 178 ehci_to_hcd(ehci)->self.sysdev, in ehci_mem_init() 188 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() 377 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc() 472 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx() 542 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx() 570 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx() 613 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info() 828 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info() 1648 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc() 1713 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free() 1737 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command() [all …]
|
D | xhci.c | 230 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 798 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1332 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1339 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1344 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1407 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5302 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
/linux-6.1.9/drivers/usb/core/ |
D | buffer.c | 78 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create() 141 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc() 173 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free()
|
D | hcd.c | 1336 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma() 1369 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1375 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1381 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1439 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1443 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1473 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1488 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1493 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1503 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() [all …]
|
D | usb.c | 602 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev() 627 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev() 781 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
|
D | usb-acpi.c | 261 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | Kconfig | 22 source "arch/powerpc/sysdev/xics/Kconfig" 23 source "arch/powerpc/sysdev/xive/Kconfig"
|
/linux-6.1.9/arch/powerpc/ |
D | Kbuild | 7 obj-y += sysdev/
|
/linux-6.1.9/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-6.1.9/drivers/usb/cdns3/ |
D | cdns3-gadget.c | 523 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 531 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 803 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback() 809 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_gadget_giveback() 877 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf() 908 buf->buf = dma_alloc_noncoherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 934 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 941 dma_sync_single_for_device(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 2533 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue() 3168 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() [all …]
|
D | cdns3-ep0.c | 753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
|
D | cdns3-gadget.h | 1289 struct device *sysdev; member
|
/linux-6.1.9/drivers/usb/dwc3/ |
D | core.c | 430 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 456 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 569 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers() 572 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers() 573 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_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() 1479 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1481 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1878 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_probe()
|
D | gadget.c | 188 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request() 477 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 493 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool() 1560 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 4441 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4456 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4533 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 4540 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init() 4557 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit() 4560 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
|
D | ep0.c | 993 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1019 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1041 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
|
/linux-6.1.9/drivers/media/usb/stk1160/ |
D | stk1160.h | 201 return bus_to_hcd(dev->udev->bus)->self.sysdev; in stk1160_get_dmadev()
|
/linux-6.1.9/Documentation/admin-guide/ |
D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
/linux-6.1.9/drivers/net/wwan/ |
D | wwan_hwsim.c | 259 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument 261 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
|
/linux-6.1.9/drivers/media/usb/pwc/ |
D | pwc-if.c | 161 struct device *dmadev = dev->bus->sysdev; in pwc_alloc_urb_buffer() 181 struct device *dmadev = dev->bus->sysdev; in pwc_free_urb_buffer() 288 struct device *dmadev = urb->dev->bus->sysdev; in pwc_isoc_handler()
|
/linux-6.1.9/drivers/usb/storage/ |
D | scsiglue.c | 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-power | 343 number of times preparing all non-sysdev devices for 352 non-sysdev devices failed. 376 of all non-sysdev devices failed.
|
/linux-6.1.9/include/linux/usb/ |
D | hcd.h | 450 struct device *sysdev, struct device *dev, const char *bus_name,
|