| /linux/drivers/i3c/master/mipi-i3c-hci/ |
| H A D | dma.c | 139 struct device *sysdev; member 190 dma_free_coherent(rings->sysdev, in hci_dma_free() 194 dma_free_coherent(rings->sysdev, in hci_dma_free() 199 dma_free_coherent(rings->sysdev, in hci_dma_free() 203 dma_unmap_single(rings->sysdev, rh->ibi_data_dma, in hci_dma_free() 305 struct device *sysdev; in hci_dma_init() local 318 sysdev = hci->master.dev.parent; in hci_dma_init() 319 if (sysdev->parent && dev_is_pci(sysdev->parent)) in hci_dma_init() 320 sysdev = sysdev->parent; in hci_dma_init() 336 rings->sysdev = sysdev; in hci_dma_init() [all …]
|
| /linux/drivers/usb/core/ |
| H A D | buffer.c | 78 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 D | hcd.c | 1309 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_setup_for_dma() 1342 dma_unmap_sg(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1348 dma_unmap_page(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1354 dma_unmap_single(hcd->self.sysdev, in usb_hcd_unmap_urb_for_dma() 1365 dma_sync_sgtable_for_cpu(hcd->self.sysdev, urb->sgt, dir); 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() 1437 dma_sync_sgtable_for_device(hcd->self.sysdev, urb->sgt, dir); in usb_hcd_map_urb_for_dma() 1459 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() 1474 hcd->self.sysdev, in usb_hcd_map_urb_for_dma() [all …]
|
| H A D | usb.c | 671 set_dev_node(&dev->dev, dev_to_node(bus->sysdev)); in usb_alloc_dev() 697 device_set_of_node_from_dev(&dev->dev, bus->sysdev); in usb_alloc_dev() 854 dmadev = get_device(udev->bus->sysdev); in usb_intf_get_dma_device() 1068 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_alloc_noncoherent() 1110 dmadev = bus_to_hcd(dev->bus)->self.sysdev; in usb_free_noncoherent()
|
| H A D | usb-acpi.c | 307 adev = ACPI_COMPANION(udev->bus->sysdev); in usb_acpi_find_companion_for_device()
|
| /linux/drivers/usb/host/ |
| H A D | ehci-mem.c | 127 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 D | xhci-mem.c | 36 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() 1646 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_alloc() 1710 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in scratchpad_free() [all …]
|
| H A D | xhci-sideband.c | 28 dev = xhci_to_hcd(sb->xhci)->self.sysdev; in xhci_ring_to_sgtable() 429 sb = kzalloc_node(sizeof(*sb), GFP_KERNEL, dev_to_node(hcd->self.sysdev)); in xhci_sideband_register()
|
| H A D | xhci.c | 249 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_zero_64b_regs() 771 usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev)); in xhci_shutdown() 1309 dev_to_node(hcd->self.sysdev)); in xhci_map_temp_buffer() 1318 urb->transfer_dma = dma_map_single(hcd->self.sysdev, in xhci_map_temp_buffer() 1323 if (dma_mapping_error(hcd->self.sysdev, in xhci_map_temp_buffer() 1386 dma_unmap_single(hcd->self.sysdev, in xhci_unmap_temp_buf() 5421 struct device *dev = hcd->self.sysdev; in xhci_gen_setup()
|
| /linux/sound/usb/qcom/ |
| H A D | mixer_usb_offload.c | 26 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 D | qc_audio_offload.c | 644 if (udev->bus->sysdev && udev->bus->sysdev->of_node) in usb_get_controller_id() 645 return of_alias_get_id(udev->bus->sysdev->of_node, "usb"); in usb_get_controller_id() 1033 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_transfer_buffer_setup() 1056 dma_get_sgtable(subs->dev->bus->sysdev, &xfer_buf_sgt, xfer_buf, in uaudio_transfer_buffer_setup() 1109 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_endpoint_setup() 1182 dma_coherent = dev_is_dma_coherent(subs->dev->bus->sysdev); in uaudio_event_ring_setup()
|
| /linux/arch/powerpc/sysdev/ |
| H A D | Kconfig | 22 source "arch/powerpc/sysdev/xics/Kconfig" 23 source "arch/powerpc/sysdev/xive/Kconfig"
|
| /linux/drivers/dma/ |
| H A D | idma64.c | 599 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 D | idma64.h | 223 struct device *sysdev; member
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-gadget.c | 524 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() 3265 dma_free_noncoherent(priv_dev->sysdev, buf->size, in cdns3_gadget_exit() [all …]
|
| H A D | cdns3-ep0.c | 753 ret = usb_gadget_map_request_by_dev(priv_dev->sysdev, request, in cdns3_gadget_ep0_queue()
|
| H A D | cdns3-gadget.h | 1292 struct device *sysdev; member
|
| /linux/drivers/usb/dwc3/ |
| H A D | gadget.c | 206 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() 1633 ret = usb_gadget_map_request_by_dev(dwc->sysdev, &req->request, in dwc3_prepare_trbs() 3032 device_wakeup_enable(dwc->sysdev); in dwc3_gadget_start() 3050 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_stop() 4708 dwc->ep0_trb = dma_alloc_coherent(dwc->sysdev, in dwc3_gadget_init() 4723 dwc->bounce = dma_alloc_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, in dwc3_gadget_init() 4795 device_wakeup_disable(dwc->sysdev); in dwc3_gadget_init() 4805 dma_free_coherent(dwc->sysdev, DWC3_BOUNCE_SIZE, dwc->bounce, in dwc3_gadget_init() [all …]
|
| H A D | core.c | 480 dma_free_coherent(dwc->sysdev, evt->length, evt->buf, evt->dma); in dwc3_free_one_event_buffer() 506 evt->buf = dma_alloc_coherent(dwc->sysdev, length, in dwc3_alloc_one_event_buffer() 1746 dwc->sysdev = dwc->dev->parent; in dwc3_get_properties() 1748 dwc->sysdev = dwc->dev; in dwc3_get_properties() 1750 dwc->sys_wakeup = device_may_wakeup(dwc->sysdev); in dwc3_get_properties() 2268 if (!dev_is_pci(dwc->sysdev) && in dwc3_core_probe() 2270 ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64)); in dwc3_core_probe()
|
| H A D | host.c | 212 device_wakeup_enable(dwc->sysdev); in dwc3_host_init()
|
| H A D | core.h | 1201 struct device *sysdev; member
|
| /linux/Documentation/admin-guide/ |
| H A D | rapidio.rst | 90 .. kernel-doc:: arch/powerpc/sysdev/fsl_rio.c
|
| /linux/drivers/media/usb/pwc/ |
| H A D | pwc-if.c | 160 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/net/wwan/ |
| H A D | wwan_hwsim.c | 381 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/include/linux/usb/ |
| H A D | hcd.h | 452 struct device *sysdev, struct device *dev, const char *bus_name,
|