| /drivers/usb/host/ |
| A D | xhci-plat.c | 166 if (!sysdev) in xhci_plat_probe() 167 sysdev = &pdev->dev; in xhci_plat_probe() 177 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 387 struct device *sysdev; in xhci_generic_plat_probe() local 397 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_generic_plat_probe() 398 if (is_of_node(sysdev->fwnode) || in xhci_generic_plat_probe() 399 is_acpi_device_node(sysdev->fwnode)) in xhci_generic_plat_probe() 401 else if (dev_is_pci(sysdev)) in xhci_generic_plat_probe() 405 if (!sysdev) in xhci_generic_plat_probe() 406 sysdev = &pdev->dev; in xhci_generic_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() 375 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc() 456 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx() 491 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_port_bw_ctx() 555 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx() 580 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx() 620 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info() 831 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info() 1650 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc() 1714 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free() [all …]
|
| A D | xhci-plat.h | 28 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev,
|
| A D | xhci-sideband.c | 28 dev = xhci_to_hcd(sb->xhci)->self.sysdev; in xhci_ring_to_sgtable() 387 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
|
| A D | xhci.c | 236 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 762 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1300 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1309 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1314 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1377 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5386 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
| A D | xhci-ring.c | 842 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_unmap_td_bounce_buffer() 3559 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_align_td()
|
| /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() 193 return dma_alloc_coherent(hcd->self.sysdev, in hcd_buffer_alloc_pages() 214 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free_pages()
|
| A D | hcd.c | 1313 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma() 1346 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1352 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1358 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1422 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1463 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1478 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1493 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 2603 hcd->self.sysdev = sysdev; in __usb_create_hcd() 3117 dev_to_node(hcd->self.sysdev), in usb_hcd_setup_local_mem() [all …]
|
| A D | usb.c | 670 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev() 695 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev() 851 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device() 1065 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_alloc_noncoherent() 1107 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_free_noncoherent()
|
| A D | usb-acpi.c | 307 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
|
| A D | devio.c | 286 if (dma_mmap_coherent(hcd->self.sysdev, vma, mem, dma_handle, in usbdev_mmap()
|
| /drivers/dma/ |
| A D | idma64.c | 599 idma64->dma.dev = chip->sysdev; in idma64_probe() 637 struct device *sysdev = dev->parent; in idma64_platform_probe() local 652 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in idma64_platform_probe() 657 chip->sysdev = sysdev; in idma64_platform_probe()
|
| A D | idma64.h | 223 struct device *sysdev; member
|
| /drivers/usb/cdns3/ |
| A D | cdns3-gadget.c | 524 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 532 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback() 805 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback() 811 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_gadget_giveback() 883 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf() 914 buf->buf = dma_alloc_noncoherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 940 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 947 dma_sync_single_for_device(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf() 3266 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() 3298 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 | 1292 struct device *sysdev; member
|
| /drivers/usb/dwc3/ |
| A D | gadget.c | 206 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request() 490 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 1625 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 3019 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_start() 3037 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_stop() 4687 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4774 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_init() 4784 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() 4791 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init() 4809 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit() [all …]
|
| A D | host.c | 209 device_wakeup_enable(dwc->sysdev); in dwc3_host_init()
|
| A D | core.c | 477 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 503 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 1736 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1738 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1740 dwc->sys_wakeup = device_may_wakeup(dwc->sysdev); in dwc3_get_properties() 2245 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_core_probe()
|
| A D | ep0.c | 1002 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1028 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data() 1050 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
|
| A D | core.h | 1189 struct device *sysdev; member
|
| /drivers/net/wwan/ |
| A D | wwan_hwsim.c | 261 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument 263 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
|
| /drivers/media/usb/pwc/ |
| A D | pwc-if.c | 160 struct device *dmadev = dev->bus->sysdev; in pwc_alloc_urb_buffer() 180 struct device *dmadev = dev->bus->sysdev; in pwc_free_urb_buffer() 287 struct device *dmadev = urb->dev->bus->sysdev; in pwc_isoc_handler()
|
| /drivers/usb/storage/ |
| A D | scsiglue.c | 94 struct device *dev = us->pusb_dev->bus->sysdev; in sdev_configure()
|