/linux/drivers/usb/host/ |
H A D | xhci-plat.c | 145 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const struct xhci_plat_pri… in xhci_plat_probe() argument 166 if (!sysdev) in xhci_plat_probe() 167 sysdev = &pdev->dev; in xhci_plat_probe() 169 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe() 177 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 278 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe() 291 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe() 305 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe() 313 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe() 320 dev_err(sysdev, "%s init usb3phy fail (ret=%d)\n", in xhci_plat_probe() [all …]
|
H 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()
|
H 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() 526 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx() 551 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx() 591 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info() 802 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info() 1615 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc() 1679 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free() 1703 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command() [all …]
|
H A D | xhci-plat.h | 27 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev,
|
H A D | xhci.c | 257 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 669 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1224 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1233 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1238 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1301 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5271 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
H A D | xhci-ring.c | 788 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_unmap_td_bounce_buffer() 3522 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_align_td()
|
/linux/drivers/usb/core/ |
H 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()
|
H 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() 1416 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1420 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1450 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1465 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1470 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1480 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() [all …]
|
H 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() 845 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
|
/linux/arch/powerpc/sysdev/ |
H A D | Kconfig | 22 source "arch/powerpc/sysdev/xics/Kconfig" 23 source "arch/powerpc/sysdev/xive/Kconfig"
|
/linux/drivers/usb/cdns3/ |
H 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() 2608 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue() 3264 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() [all …]
|
H A D | cdns3-ep0.c | 753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
|
H A D | cdns3-gadget.h | 1292 struct device *sysdev; member
|
/linux/drivers/media/usb/stk1160/ |
H A D | stk1160.h | 201 return bus_to_hcd(dev->udev->bus)->self.sysdev; in stk1160_get_dmadev()
|
/linux/drivers/usb/dwc3/ |
H A D | gadget.c | 206 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request() 492 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool() 508 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool() 1621 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 3041 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_start() 3059 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_stop() 4644 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4659 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4731 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_init() 4741 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() [all …]
|
H A D | core.c | 475 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 501 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 1730 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1732 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1734 dwc->sys_wakeup = device_may_wakeup(dwc->sysdev); in dwc3_get_properties() 2240 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_probe()
|
H A D | core.h | 1185 struct device *sysdev; member
|
/linux/drivers/net/wwan/ |
H 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()
|
/linux/Documentation/admin-guide/ |
H A D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
/linux/drivers/dma/ |
H A D | idma64.h | 223 struct device *sysdev; member
|
/linux/drivers/usb/storage/ |
H A D | scsiglue.c | 94 struct device *dev = us->pusb_dev->bus->sysdev; in sdev_configure()
|
/linux/Documentation/ABI/testing/ |
H 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/include/linux/usb/ |
H A D | hcd.h | 452 struct device *sysdev, struct device *dev, const char *bus_name,
|
/linux/sound/usb/ |
H A D | pcm.c | 1782 struct device *dev = subs->dev->bus->sysdev; in snd_usb_preallocate_buffer()
|
/linux/arch/powerpc/ |
H A D | Kconfig | 488 source "arch/powerpc/sysdev/Kconfig"
|