Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/host/
Dxhci-plat.c156 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
181 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
182 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
183 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
186 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
191 if (!sysdev) in xhci_plat_probe()
192 sysdev = &pdev->dev; in xhci_plat_probe()
195 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
197 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
200 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()
368 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc()
464 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
534 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
562 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
622 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
840 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1647 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1712 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1736 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command()
[all …]
Dxhci-dbgcap.c23 vaddr = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in dbc_dma_alloc_coherent()
34 dma_free_coherent(xhci_to_hcd(xhci)->self.sysdev, in dbc_dma_free_coherent()
141 struct device *dev = xhci_to_hcd(dbc->xhci)->self.sysdev; in xhci_dbc_giveback()
297 dev = xhci_to_hcd(xhci)->self.sysdev; in dbc_ep_do_queue()
Dehci-hub.c785 hcd->self.sysdev, in request_single_step_set_feature_urb()
790 hcd->self.sysdev, in request_single_step_set_feature_urb()
Dxhci.c229 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()
798 pci_set_power_state(to_pci_dev(hcd->self.sysdev), PCI_D3hot); in xhci_shutdown()
4971 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
/Linux-v4.19/drivers/usb/core/
Dbuffer.c69 (!is_device_dma_capable(hcd->self.sysdev) && in hcd_buffer_create()
78 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create()
133 (!is_device_dma_capable(bus->sysdev) && in hcd_buffer_alloc()
143 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc()
160 (!is_device_dma_capable(bus->sysdev) && in hcd_buffer_free()
172 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free()
Dusb.c593 dev->dev.dma_mask = bus->sysdev->dma_mask; in usb_alloc_dev()
594 dev->dev.dma_pfn_offset = bus->sysdev->dma_pfn_offset; in usb_alloc_dev()
595 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev()
620 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev()
943 || !(controller = bus->sysdev))
981 || !(controller = bus->sysdev))
1015 || !(controller = bus->sysdev))
1065 || !(controller = bus->sysdev)
1101 || !(controller = bus->sysdev)
1129 || !(controller = bus->sysdev)
Dhcd.c1429 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma()
1462 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1468 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1474 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1525 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1529 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1560 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1575 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1580 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1593 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
[all …]
Dhub.c4533 driver_name = udev->bus->sysdev->driver->name; in hub_port_init()
/Linux-v4.19/arch/powerpc/sysdev/
DKconfig31 source "arch/powerpc/sysdev/xics/Kconfig"
32 source "arch/powerpc/sysdev/xive/Kconfig"
/Linux-v4.19/drivers/usb/dwc3/
Dcore.c318 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
344 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
457 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()
460 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers()
461 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers()
485 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
504 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
1235 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1237 dwc->sysdev = dwc->dev; in dwc3_get_properties()
Dgadget.c185 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
439 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
455 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1179 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3166 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
3181 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
3240 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
3247 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
3260 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
3263 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
Dep0.c951 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
977 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()
Dcore.h1020 struct device *sysdev; member
/Linux-v4.19/Documentation/driver-api/
Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/Linux-v4.19/include/linux/usb/
Dhcd.h450 struct device *sysdev, struct device *dev, const char *bus_name,
/Linux-v4.19/arch/powerpc/
DMakefile264 arch/powerpc/sysdev/ \
DKconfig393 source "arch/powerpc/sysdev/Kconfig"
/Linux-v4.19/include/linux/
Dusb.h428 struct device *sysdev; /* as seen from firmware or bus */ member