/Linux-v5.15/drivers/usb/host/ |
D | xhci-plat.c | 191 struct device *sysdev, *tmpdev; in xhci_plat_probe() local 216 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe() 217 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe() 218 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe() 221 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe() 226 if (!sysdev) in xhci_plat_probe() 227 sysdev = &pdev->dev; in xhci_plat_probe() 230 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe() 232 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe() 235 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() 377 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc() 473 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx() 543 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx() 571 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx() 614 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info() 832 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 | 227 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 782 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1287 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1294 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1299 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1362 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5203 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
/Linux-v5.15/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 | 1328 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma() 1361 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1367 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1373 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1431 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1435 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1465 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1480 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1485 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1495 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() [all …]
|
D | usb.c | 648 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev() 673 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev() 819 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
|
/Linux-v5.15/arch/powerpc/sysdev/ |
D | Kconfig | 28 source "arch/powerpc/sysdev/xics/Kconfig" 29 source "arch/powerpc/sysdev/xive/Kconfig"
|
/Linux-v5.15/arch/powerpc/ |
D | Kbuild | 7 obj-y += sysdev/
|
/Linux-v5.15/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.15/drivers/usb/dwc3/ |
D | core.c | 346 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 372 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 485 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers() 488 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers() 489 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers() 513 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers() 532 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers() 1306 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1308 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1568 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() 448 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 464 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool() 1506 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 4216 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4231 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4308 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 4315 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init() 4332 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit() 4335 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
|
D | ep0.c | 974 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1000 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1022 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
|
D | core.h | 1110 struct device *sysdev; member
|
/Linux-v5.15/drivers/usb/cdns3/ |
D | cdns3-gadget.c | 536 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 544 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 816 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback() 822 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_gadget_giveback() 890 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf() 921 buf->buf = dma_alloc_noncoherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 947 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 954 dma_sync_single_for_device(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 2534 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue() 3117 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-v5.15/Documentation/admin-guide/ |
D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
/Linux-v5.15/drivers/net/wwan/ |
D | wwan_hwsim.c | 258 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument 260 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
|
/Linux-v5.15/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-v5.15/drivers/usb/storage/ |
D | scsiglue.c | 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
|
/Linux-v5.15/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-v5.15/include/linux/usb/ |
D | hcd.h | 463 struct device *sysdev, struct device *dev, const char *bus_name,
|
/Linux-v5.15/include/linux/ |
D | usb.h | 426 struct device *sysdev; /* as seen from firmware or bus */ member
|