Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/usb/host/
Dxhci-plat.c141 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const struct xhci_plat_pri… in xhci_plat_probe() argument
162 if (!sysdev) in xhci_plat_probe()
163 sysdev = &pdev->dev; in xhci_plat_probe()
165 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
173 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
256 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
268 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()
281 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
288 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe()
295 dev_err(sysdev, "%s init usb3phy fail (ret=%d)\n", in xhci_plat_probe()
[all …]
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()
Dxhci-mem.c37 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()
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()
559 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
599 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
810 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1626 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1690 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
1714 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_command()
[all …]
Dxhci-plat.h25 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev,
Dxhci.c231 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
636 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown()
1172 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer()
1179 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer()
1184 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer()
1247 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf()
5129 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
/Linux-v6.6/drivers/usb/core/
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()
193 return dma_alloc_coherent(hcd->self.sysdev, in hcd_buffer_alloc_pages()
214 dma_free_coherent(hcd->self.sysdev, size, addr, dma); in hcd_buffer_free_pages()
Dhcd.c1315 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma()
1348 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1354 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1360 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1418 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1422 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1452 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1467 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1472 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1482 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
[all …]
Dusb.c670 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev()
695 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev()
845 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
Dusb-acpi.c257 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
/Linux-v6.6/arch/powerpc/sysdev/
DKconfig22 source "arch/powerpc/sysdev/xics/Kconfig"
23 source "arch/powerpc/sysdev/xive/Kconfig"
/Linux-v6.6/drivers/dma/
Didma64.c595 idma64->dma.dev = chip->sysdev; in idma64_probe()
633 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-v6.6/arch/powerpc/
DKbuild7 obj-y += sysdev/
/Linux-v6.6/drivers/usb/cdns3/
Dcdns3-gadget.c524 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
532 usb_gadget_map_request_by_dev(priv_dev->sysdev, req, in cdns3_wa2_gadget_giveback()
805 usb_gadget_unmap_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_giveback()
811 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_gadget_giveback()
879 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf()
910 buf->buf = dma_alloc_noncoherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
936 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
943 dma_sync_single_for_device(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
2549 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue()
3187 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit()
[all …]
Dcdns3-ep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
/Linux-v6.6/drivers/media/usb/stk1160/
Dstk1160.h201 return bus_to_hcd(dev->udev->bus)->self.sysdev; in stk1160_get_dmadev()
/Linux-v6.6/Documentation/admin-guide/
Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/Linux-v6.6/drivers/net/wwan/
Dwwan_hwsim.c259 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument
261 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
/Linux-v6.6/drivers/usb/dwc3/
Dgadget.c207 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
496 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
512 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1589 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
4560 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
4575 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
4653 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
4660 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_init()
4677 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_exit()
4680 dma_free_coherent(dwc->sysdev, sizeof(*dwc->ep0_trb) * 2, in dwc3_gadget_exit()
Dcore.c467 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
493 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
1455 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1457 dwc->sysdev = dwc->dev; in dwc3_get_properties()
1873 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_probe()
Dep0.c996 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()
1044 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
/Linux-v6.6/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()
/Linux-v6.6/drivers/usb/storage/
Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/Linux-v6.6/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-v6.6/include/linux/usb/
Dhcd.h451 struct device *sysdev, struct device *dev, const char *bus_name,

12