Searched refs:dmabounce (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/arch/arm/common/
H A DMakefile9 obj-$(CONFIG_DMABOUNCE) += dmabounce.o
H A Ddmabounce.c2 * arch/arm/common/dmabounce.c
90 struct dmabounce_device_info *device_info = dev->archdata.dmabounce; dmabounce_show()
213 if (!dev || !dev->archdata.dmabounce) find_safe_buffer_dev()
219 return find_safe_buffer(dev->archdata.dmabounce, dma_addr); find_safe_buffer_dev()
224 if (!dev || !dev->archdata.dmabounce) needs_bounce()
242 return !!dev->archdata.dmabounce->needs_bounce(dev, dma_addr, size); needs_bounce()
248 struct dmabounce_device_info *device_info = dev->archdata.dmabounce; map_single()
284 DO_STATS(dev->archdata.dmabounce->bounce_count++); unmap_single()
300 free_safe_buffer(dev->archdata.dmabounce, buf); unmap_single()
384 DO_STATS(dev->archdata.dmabounce->bounce_count++); __dmabounce_sync_for_cpu()
424 DO_STATS(dev->archdata.dmabounce->bounce_count++); __dmabounce_sync_for_device()
445 if (dev->archdata.dmabounce) dmabounce_set_mask()
497 "dmabounce: could not allocate DMA pool for %ld byte objects\n", dmabounce_register_dev()
508 "dmabounce: could not allocate DMA pool for %ld byte objects\n", dmabounce_register_dev()
526 dev->archdata.dmabounce = device_info; dmabounce_register_dev()
529 dev_info(dev, "dmabounce: registered device\n"); dmabounce_register_dev()
543 struct dmabounce_device_info *device_info = dev->archdata.dmabounce; dmabounce_unregister_dev()
545 dev->archdata.dmabounce = NULL; dmabounce_unregister_dev()
550 "Never registered with dmabounce but attempting" dmabounce_unregister_dev()
557 "Removing from dmabounce with pending buffers!\n"); dmabounce_unregister_dev()
573 dev_info(dev, "dmabounce: device unregistered\n"); dmabounce_unregister_dev()
H A Dsa1111.c1414 dev_err(&dev->dev, "failed to register with dmabounce: %d\n", ret); sa1111_notifier_call()
/linux-4.1.27/arch/arm/include/asm/
H A Ddevice.h12 struct dmabounce_device_info *dmabounce; member in struct:dev_archdata
H A Ddma-mapping.h289 * The following are helper functions used by the dmabounce subystem

Completed in 175 milliseconds