Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-plat.c228 struct device *sysdev, *tmpdev; in xhci_plat_probe() local
253 for (sysdev = &pdev->dev; sysdev; sysdev = sysdev->parent) { in xhci_plat_probe()
254 if (is_of_node(sysdev->fwnode) || in xhci_plat_probe()
255 is_acpi_device_node(sysdev->fwnode)) in xhci_plat_probe()
258 else if (sysdev->bus == &pci_bus_type) in xhci_plat_probe()
263 if (!sysdev) in xhci_plat_probe()
264 sysdev = &pdev->dev; in xhci_plat_probe()
267 if (WARN_ON(!sysdev->dma_mask)) in xhci_plat_probe()
269 ret = dma_coerce_mask_and_coherent(sysdev, in xhci_plat_probe()
272 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
[all …]
H A 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()
H A Dxhci-mem.c36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
429 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc()
530 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
615 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
643 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
686 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
909 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1738 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1803 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1827 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command()
[all …]
H A Dehci-hub.c787 hcd->self.sysdev, in request_single_step_set_feature_urb()
792 hcd->self.sysdev, in request_single_step_set_feature_urb()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A 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 …]
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A DKconfig28 source "arch/powerpc/sysdev/xics/Kconfig"
29 source "arch/powerpc/sysdev/xive/Kconfig"
/OK3568_Linux_fs/kernel/drivers/dma/
H 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()
H A Didma64.h223 struct device *sysdev; member
/OK3568_Linux_fs/kernel/arch/powerpc/
H A DKbuild7 obj-y += sysdev/
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Dcore.c383 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
409 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
522 scratch_addr = dma_map_single(dwc->sysdev, dwc->scratchbuf, in dwc3_setup_scratch_buffers()
525 if (dma_mapping_error(dwc->sysdev, scratch_addr)) { in dwc3_setup_scratch_buffers()
526 dev_err(dwc->sysdev, "failed to map scratch buffer\n"); in dwc3_setup_scratch_buffers()
550 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_setup_scratch_buffers()
569 dma_unmap_single(dwc->sysdev, dwc->scratch_addr, dwc->nr_scratch * in dwc3_free_scratch_buffers()
1344 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1346 dwc->sysdev = dwc->dev; in dwc3_get_properties()
H A Dgadget.c188 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
478 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
494 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1696 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3533 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_ep_cleanup_completed_request()
4685 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
4700 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
4777 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
4784 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
4801 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
[all …]
H A Dep0.c1005 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1031 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1053 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
H A Dcore.h1133 struct device *sysdev; member
/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A 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 …]
H A Dep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
H A Dgadget.h1287 struct device *sysdev; member
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/OK3568_Linux_fs/kernel/drivers/media/usb/pwc/
H 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()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-power343 number of times preparing all non-sysdev devices for
352 non-sysdev devices failed.
376 of all non-sysdev devices failed.
/OK3568_Linux_fs/kernel/drivers/usb/storage/
H A Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dhcd.h470 struct device *sysdev, struct device *dev, const char *bus_name,
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dgadget.h1256 struct udevice *sysdev; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dusb.h437 struct device *sysdev; /* as seen from firmware or bus */ member

12