Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/usb/host/
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 …]
Dehci-mem.c128 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()
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()
631 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
854 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1675 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1740 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1764 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command()
[all …]
Dehci-hub.c787 hcd->self.sysdev, in request_single_step_set_feature_urb()
792 hcd->self.sysdev, in request_single_step_set_feature_urb()
Dxhci-dbgcap.c963 dbc->dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_do_dbc_init()
/kernel/linux/linux-5.10/drivers/usb/core/
Dbuffer.c77 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create()
139 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc()
171 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free()
Dhcd.c1334 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma()
1367 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1373 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1379 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1437 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1441 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1471 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1486 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1491 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1501 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
[all …]
Dusb.c602 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev()
627 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev()
773 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
DKconfig28 source "arch/powerpc/sysdev/xics/Kconfig"
29 source "arch/powerpc/sysdev/xive/Kconfig"
/kernel/linux/linux-5.10/arch/powerpc/
DKbuild7 obj-y += sysdev/
/kernel/linux/linux-5.10/drivers/dma/
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()
Didma64.h223 struct device *sysdev; member
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dcore.c354 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
380 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
493 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()
496 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers()
497 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers()
521 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
540 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
1318 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1320 dwc->sysdev = dwc->dev; in dwc3_get_properties()
Dgadget.c188 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
460 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
476 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1326 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3927 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
3942 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
4014 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
4021 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
4038 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
4041 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
Dep0.c970 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
996 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1018 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
Dcore.h1088 struct device *sysdev; member
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.c213 dma_free_coherent(priv_dev->sysdev, in cdns3_free_trb_pool()
237 priv_ep->trb_pool = dma_alloc_coherent(priv_dev->sysdev, in cdns3_allocate_trb_pool()
540 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
548 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
820 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback()
888 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf()
917 buf->buf = dma_alloc_coherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
2530 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue()
3118 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit()
3126 dma_free_coherent(priv_dev->sysdev, 8, priv_dev->setup_buf, in cdns3_gadget_exit()
[all …]
Dep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
Dgadget.h1287 struct device *sysdev; member
/kernel/linux/linux-5.10/Documentation/admin-guide/
Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
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()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-power343 number of times preparing all non-sysdev devices for
352 non-sysdev devices failed.
376 of all non-sysdev devices failed.
/kernel/linux/linux-5.10/include/linux/usb/
Dhcd.h461 struct device *sysdev, struct device *dev, const char *bus_name,
/kernel/linux/linux-5.10/include/linux/
Dusb.h426 struct device *sysdev; /* as seen from firmware or bus */ member

12