/linux/drivers/usb/host/ |
A 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 …]
|
A 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()
|
A 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 …]
|
A D | xhci.c | 227 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 781 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1286 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1293 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1298 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1361 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5206 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
/linux/drivers/usb/core/ |
A 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()
|
A 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() 1465 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1480 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1495 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 2592 hcd->self.sysdev = sysdev; in __usb_create_hcd() 3077 dev_to_node(hcd->self.sysdev), in usb_hcd_setup_local_mem() [all …]
|
A 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/arch/powerpc/sysdev/ |
A D | Kconfig | 28 source "arch/powerpc/sysdev/xics/Kconfig" 29 source "arch/powerpc/sysdev/xive/Kconfig"
|
/linux/drivers/usb/dwc3/ |
A D | core.c | 370 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 396 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 509 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers() 512 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers() 513 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_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() 1333 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1335 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1598 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_probe()
|
A D | gadget.c | 188 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request() 459 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 475 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool() 1523 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 4239 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4254 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4331 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 4338 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init() 4355 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit() 4358 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
|
A 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()
|
A D | core.h | 1117 struct device *sysdev; member
|
/linux/drivers/dma/ |
A 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()
|
A D | idma64.h | 223 struct device *sysdev; member
|
/linux/drivers/usb/cdns3/ |
A 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() 3105 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() 3137 priv_dev->sysdev = cdns->dev; in cdns3_gadget_start() [all …]
|
A D | cdns3-ep0.c | 753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
|
A D | cdns3-gadget.h | 1289 struct device *sysdev; member
|
/linux/arch/powerpc/ |
A D | Kbuild | 7 obj-y += sysdev/
|
/linux/drivers/net/wwan/ |
A 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/Documentation/admin-guide/ |
A D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
/linux/drivers/media/usb/pwc/ |
A 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/Documentation/ABI/testing/ |
A 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/drivers/usb/storage/ |
A D | scsiglue.c | 95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
|
/linux/include/linux/usb/ |
A D | hcd.h | 461 struct device *sysdev, struct device *dev, const char *bus_name,
|
/linux/include/linux/ |
A D | usb.h | 426 struct device *sysdev; /* as seen from firmware or bus */ member
|