Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/usb/host/
H A Dxhci-plat.c142 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const struct xhci_plat_pri… in xhci_plat_probe() argument
163 if (!sysdev) in xhci_plat_probe()
164 sysdev = &pdev->dev; in xhci_plat_probe()
166 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
174 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
266 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
279 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()
292 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
300 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe()
307 dev_err(sysdev, "%s init usb3phy fail (ret=%d)\n", in xhci_plat_probe()
[all …]
H A 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()
H A 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 …]
H A Dxhci-plat.h27 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev,
H A Dxhci.c232 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
637 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown()
1191 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer()
1200 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer()
1205 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer()
1268 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf()
5192 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
/openbmc/linux/drivers/usb/core/
H A 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()
H A 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 …]
H A 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()
H A Dusb-acpi.c257 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
/openbmc/linux/arch/powerpc/sysdev/
H A DKconfig22 source "arch/powerpc/sysdev/xics/Kconfig"
23 source "arch/powerpc/sysdev/xive/Kconfig"
/openbmc/linux/drivers/dma/
H A Didma64.c599 idma64->dma.dev = chip->sysdev; in idma64_probe()
639 struct device *sysdev = dev->parent; in idma64_platform_probe() local
654 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in idma64_platform_probe()
659 chip->sysdev = sysdev; in idma64_platform_probe()
H A Didma64.h223 struct device *sysdev; member
/openbmc/linux/arch/powerpc/
H A DKbuild7 obj-y += sysdev/
/openbmc/linux/drivers/usb/cdns3/
H A 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()
883 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_free_aligned_request_buf()
914 buf->buf = dma_alloc_noncoherent(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
940 dma_sync_single_for_cpu(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
947 dma_sync_single_for_device(priv_dev->sysdev, in cdns3_prepare_aligned_request_buf()
2607 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue()
3263 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit()
[all …]
/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160.h201 return bus_to_hcd(dev->udev->bus)->self.sysdev; in stk1160_get_dmadev()
/openbmc/linux/drivers/usb/dwc3/
H A Dhost.c154 device_wakeup_enable(dwc->sysdev); in dwc3_host_init()
H A Dgadget.c207 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
493 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
509 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1608 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3028 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_start()
3046 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_stop()
4646 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
4661 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
4733 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_init()
4743 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init()
[all …]
H A Dcore.c451 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
477 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
1536 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1538 dwc->sysdev = dwc->dev; in dwc3_get_properties()
1540 dwc->sys_wakeup = device_may_wakeup(dwc->sysdev); in dwc3_get_properties()
1984 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_probe()
H A Dep0.c1002 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1028 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1050 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
/openbmc/linux/Documentation/admin-guide/
H A Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/openbmc/linux/drivers/net/wwan/
H A 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()
/openbmc/linux/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()
/openbmc/linux/drivers/usb/storage/
H A Dscsiglue.c95 struct device *dev = us->pusb_dev->bus->sysdev; in slave_configure()
/openbmc/linux/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.
/openbmc/linux/include/linux/usb/
H A Dhcd.h452 struct device *sysdev, struct device *dev, const char *bus_name,

12