Home
last modified time | relevance | path

Searched refs:sysdev (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/usb/host/
A Dxhci-plat.c191 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 Dehci-mem.c127 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 Dxhci-mem.c36 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 Dxhci.c227 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 Dbuffer.c78 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 Dhcd.c1328 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 Dusb.c648 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 DKconfig28 source "arch/powerpc/sysdev/xics/Kconfig"
29 source "arch/powerpc/sysdev/xive/Kconfig"
/linux/drivers/usb/dwc3/
A Dcore.c370 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 Dgadget.c188 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 Dep0.c974 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 Dcore.h1117 struct device *sysdev; member
/linux/drivers/dma/
A Didma64.c591 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 Didma64.h223 struct device *sysdev; member
/linux/drivers/usb/cdns3/
A Dcdns3-gadget.c523 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 Dcdns3-ep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
A Dcdns3-gadget.h1289 struct device *sysdev; member
/linux/arch/powerpc/
A DKbuild7 obj-y += sysdev/
/linux/drivers/net/wwan/
A Dwwan_hwsim.c258 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 Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/linux/drivers/media/usb/pwc/
A Dpwc-if.c161 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 Dsysfs-power343 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 Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/linux/include/linux/usb/
A Dhcd.h461 struct device *sysdev, struct device *dev, const char *bus_name,
/linux/include/linux/
A Dusb.h426 struct device *sysdev; /* as seen from firmware or bus */ member

Completed in 103 milliseconds

12