Home
last modified time | relevance | path

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

/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 Dusb.c671 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev()
698 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev()
855 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device()
1069 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_alloc_noncoherent()
1111 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_free_noncoherent()
H A Dusb-acpi.c307 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
/linux/drivers/usb/host/
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()
455 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_container_ctx()
490 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_port_bw_ctx()
554 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_free_stream_ctx()
579 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_ctx()
619 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_alloc_stream_info()
832 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-sideband.c28 dev = xhci_to_hcd(sb->xhci)->self.sysdev; in xhci_ring_to_sgtable()
419 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
H A Dxhci-ring.c831 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_unmap_one_bounce_buffer()
3549 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_align_td()
/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.c659 if (udev->bus->sysdev && udev->bus->sysdev->of_node) in usb_get_controller_id()
660 return of_alias_get_id(udev->bus->sysdev->of_node, "usb"); in usb_get_controller_id()
1055 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup()
1075 ret = dma_get_sgtable(subs->dev->bus->sysdev, &xfer_buf_sgt, xfer_buf, in uaudio_transfer_buffer_setup()
1132 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_endpoint_setup()
1206 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/drivers/dma/
H A Didma64.c599 idma64->dma.dev = chip->sysdev; in idma64_probe()
637 struct device *sysdev = dev->parent; in idma64_platform_probe() local
652 ret = dma_coerce_mask_and_coherent(sysdev, DMA_BIT_MASK(64)); in idma64_platform_probe()
657 chip->sysdev = sysdev; in idma64_platform_probe()
H A Didma64.h223 struct device *sysdev; member
/linux/drivers/usb/dwc3/
H A Dgadget.c206 usb_gadget_unmap_request_by_dev(dwc->sysdev, in dwc3_gadget_del_and_unmap_request()
498 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
514 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1637 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs()
3064 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_stop()
3082 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_config_params()
4858 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init()
4873 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_exit()
4947 device_wakeup_disable(dwc->sysdev);
4957 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZ
[all...]
H A Dep0.c1014 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1040 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
1062 ret = usb_gadget_map_request_by_dev(dwc->sysdev, in __dwc3_ep0_do_control_data()
/linux/Documentation/admin-guide/
H A Drapidio.rst90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
/linux/drivers/net/wwan/
H A Dwwan_hwsim.c381 static void wwan_hwsim_dev_release(struct device *sysdev) in wwan_hwsim_dev_release() argument
383 struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev); in wwan_hwsim_dev_release()
/linux/drivers/usb/cdns3/
H A Dcdns3-ep0.c753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
H A Dcdns3-gadget.h1292 struct device *sysdev; member
/linux/include/linux/
H A Dusb.h452 struct device *sysdev; /* as seen from firmware or bus */ member
/linux/sound/usb/
H A Dpcm.c1825 struct device *dev = subs->dev->bus->sysdev; in snd_usb_preallocate_buffer()