Home
last modified time | relevance | path

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

12

/linux/drivers/usb/host/
H A Dxhci-plat.c145 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, const struct xhci_plat_priv *priv_match) in xhci_plat_probe() argument
166 if (!sysdev) in xhci_plat_probe()
167 sysdev = &pdev->dev; in xhci_plat_probe()
169 ret = dma_set_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in xhci_plat_probe()
177 hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
280 hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0); in xhci_plat_probe()
293 hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node); in xhci_plat_probe()
307 xhci->shared_hcd = __usb_create_hcd(driver, sysdev, &pdev->dev, in xhci_plat_probe()
315 xhci->shared_hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, in xhci_plat_probe()
322 dev_err(sysdev, " in xhci_plat_probe()
387 struct device *sysdev; xhci_generic_plat_probe() local
[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.c36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc()
375 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_ring_alloc()
456 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
491 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_port_bw_ctx()
555 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
580 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
620 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
831 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_tt_info()
1650 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc()
1714 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free()
[all...]
H A Dxhci-plat.h28 int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev,
H A Dxhci-sideband.c28 dev = xhci_to_hcd(sb->xhci)->self.sysdev; in xhci_ring_to_sgtable()
387 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
H A Dxhci.c236 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs()
762 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown()
1300 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer()
1309 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer()
1314 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer()
1377 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf()
5383 * TODO: Check with DWC3 clients for sysdev according to in xhci_gen_setup()
5386 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
/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.c1313 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma()
1346 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1352 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1358 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma()
1369 dma_sync_sgtable_for_cpu(hcd->self.sysdev, urb->sgt, dir); in usb_hcd_unmap_urb_for_dma()
1422 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1426 if (dma_mapping_error(hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1441 dma_sync_sgtable_for_device(hcd->self.sysdev, urb->sgt, dir); in usb_hcd_map_urb_for_dma()
1463 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
1478 hcd->self.sysdev, in usb_hcd_map_urb_for_dma()
2561 __usb_create_hcd(const struct hc_driver * driver,struct device * sysdev,struct device * dev,const char * bus_name,struct usb_hcd * primary_hcd) __usb_create_hcd() argument
[all...]
H A Dusb-acpi.c305 * sysdev pointer is the HC as seen from firmware. in usb_acpi_find_companion_for_device()
307 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
/linux/sound/usb/qcom/
H A Dmixer_usb_offload.c26 struct device *sysdev = snd_kcontrol_chip(kcontrol); in snd_usb_offload_card_route_get() local
29 ret = snd_soc_usb_update_offload_route(sysdev, in snd_usb_offload_card_route_get()
65 struct device *sysdev = snd_kcontrol_chip(kcontrol); in snd_usb_offload_pcm_route_get() local
68 ret = snd_soc_usb_update_offload_route(sysdev, in snd_usb_offload_pcm_route_get()
H A Dqc_audio_offload.c633 if (udev->bus->sysdev && udev->bus->sysdev->of_node) in usb_get_controller_id()
634 return of_alias_get_id(udev->bus->sysdev->of_node, "usb"); in usb_get_controller_id()
1031 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup()
1060 dma_get_sgtable(subs->dev->bus->sysdev, &xfer_buf_sgt, xfer_buf, in uaudio_transfer_buffer_setup()
1063 /* map the physical buffer into sysdev as well */ in uaudio_transfer_buffer_setup()
1113 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_endpoint_setup()
1186 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_event_ring_setup()
/linux/arch/powerpc/sysdev/
H A DKconfig22 source "arch/powerpc/sysdev/xics/Kconfig"
23 source "arch/powerpc/sysdev/xive/Kconfig"
/linux/arch/powerpc/
H A DKbuild8 obj-y += sysdev/
/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()
2610 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in __cdns3_gadget_ep_queue()
3266 dma_free_noncoherent(priv_dev->sysdev, bu in cdns3_gadget_exit()
[all...]
H A Dcdns3-ep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
/linux/Documentation/admin-guide/
H A Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/linux/drivers/usb/dwc3/
H A Dgadget.c206 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
490 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
506 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1625 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3019 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_start()
3037 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_stop()
4687 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
4702 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init()
4774 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_init()
4784 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZ in dwc3_gadget_init()
[all...]
H A Dhost.c209 device_wakeup_enable(dwc->sysdev); in dwc3_host_init()
H A Dcore.c477 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer()
503 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer()
1736 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties()
1738 dwc->sysdev = dwc->dev; in dwc3_get_properties()
1740 dwc->sys_wakeup = device_may_wakeup(dwc->sysdev); in dwc3_get_properties()
2245 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_core_probe()
/linux/drivers/dma/
H A Didma64.h216 * @sysdev: struct device of the physical device that does DMA
223 struct device *sysdev; member
/linux/drivers/net/wwan/
H A Dwwan_hwsim.c261 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument
263 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
/linux/drivers/media/usb/pwc/
H A Dpwc-if.c160 struct device *dmadev = dev->bus->sysdev; in pwc_alloc_urb_buffer()
180 struct device *dmadev = dev->bus->sysdev; in pwc_free_urb_buffer()
287 struct device *dmadev = urb->dev->bus->sysdev; in pwc_isoc_handler()
/linux/drivers/usb/storage/
H A Dscsiglue.c94 struct device *dev = us->pusb_dev->bus->sysdev; in sdev_configure()
/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.
/linux/include/linux/usb/
H A Dhcd.h452 struct device *sysdev, struct device *dev, const char *bus_name,

12