Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/usb/host/
Dxhci-plat.c180 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
205 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
206 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
207 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
210 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
215 if (!sysdev) in xhci_plat_probe()
216 sysdev = &pdev->dev; in xhci_plat_probe()
219 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
221 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
224 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()
849 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1662 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1727 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1751 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command()
[all …]
Dehci-hub.c784 hcd->self.sysdev, in request_single_step_set_feature_urb()
789 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()
Dxhci.c228 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
778 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown()
5137 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
/Linux-v5.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.c1327 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma()
1360 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1366 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1372 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1430 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1434 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1464 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1479 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1484 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1494 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()
/Linux-v5.10/arch/powerpc/sysdev/
DKconfig28 source "arch/powerpc/sysdev/xics/Kconfig"
29 source "arch/powerpc/sysdev/xive/Kconfig"
/Linux-v5.10/arch/powerpc/
DKbuild7 obj-y += sysdev/
/Linux-v5.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
/Linux-v5.10/drivers/usb/dwc3/
Dcore.c336 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
362 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
475 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()
478 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers()
479 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers()
503 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
522 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
1282 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1284 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()
449 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
465 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1296 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3807 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
3822 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
3893 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
3900 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
3913 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
3916 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
Dep0.c967 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
993 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1015 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
Dcore.h1080 struct device *sysdev; member
/Linux-v5.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()
553 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
561 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
833 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback()
901 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf()
930 buf->buf = dma_alloc_coherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
2523 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue()
3106 dma_free_coherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit()
3114 dma_free_coherent(priv_dev->sysdev, 8, priv_dev->setup_buf, in cdns3_gadget_exit()
[all …]
Dep0.c752 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
Dgadget.h1287 struct device *sysdev; member
/Linux-v5.10/Documentation/admin-guide/
Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/Linux-v5.10/drivers/usb/storage/
Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/Linux-v5.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.
/Linux-v5.10/include/linux/usb/
Dhcd.h458 struct device *sysdev, struct device *dev, const char *bus_name,
/Linux-v5.10/include/linux/
Dusb.h426 struct device *sysdev; /* as seen from firmware or bus */ member

12