/openbmc/linux/arch/arm/kernel/ |
H A D | dma.c | 36 int __init isa_dma_add(unsigned int chan, dma_t *dma) in isa_dma_add() 56 dma_t *dma = dma_channel(chan); in request_dma() local 94 dma_t *dma = dma_channel(chan); in free_dma() local 123 dma_t *dma = dma_channel(chan); in set_dma_sg() local 140 dma_t *dma = dma_channel(chan); in __set_dma_addr() local 157 dma_t *dma = dma_channel(chan); in set_dma_count() local 172 dma_t *dma = dma_channel(chan); in set_dma_mode() local 186 dma_t *dma = dma_channel(chan); in enable_dma() local 207 dma_t *dma = dma_channel(chan); in disable_dma() local 229 dma_t *dma = dma_channel(chan); in dma_channel_active() local [all …]
|
/openbmc/linux/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.c | 57 static int xvip_dma_verify_format(struct xvip_dma *dma) in xvip_dma_verify_format() 99 struct xvip_dma *dma = pipe->output; in xvip_pipeline_start_stop() local 184 struct xvip_dma *dma; in xvip_pipeline_validate() local 242 struct xvip_dma *dma) in xvip_pipeline_prepare() 278 struct xvip_dma *dma; member 286 struct xvip_dma *dma = buf->dma; in xvip_dma_complete() local 304 struct xvip_dma *dma = vb2_get_drv_priv(vq); in xvip_dma_queue_setup() local 319 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_prepare() local 330 struct xvip_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in xvip_dma_buffer_queue() local 376 struct xvip_dma *dma = vb2_get_drv_priv(vq); in xvip_dma_start_streaming() local [all …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | dma-uclass.c | 26 static int dma_of_xlate_default(struct dma *dma, in dma_of_xlate_default() 44 int dma_get_by_index(struct udevice *dev, int index, struct dma *dma) in dma_get_by_index() 87 int dma_get_by_name(struct udevice *dev, const char *name, struct dma *dma) in dma_get_by_name() 104 int dma_request(struct udevice *dev, struct dma *dma) in dma_request() 118 int dma_free(struct dma *dma) in dma_free() 130 int dma_enable(struct dma *dma) in dma_enable() 142 int dma_disable(struct dma *dma) in dma_disable() 154 int dma_prepare_rcv_buf(struct dma *dma, void *dst, size_t size) in dma_prepare_rcv_buf() 166 int dma_receive(struct dma *dma, void **dst, void *metadata) in dma_receive() 178 int dma_send(struct dma *dma, void *src, size_t len, void *metadata) in dma_send()
|
H A D | sandbox-dma-test.c | 47 static int sandbox_dma_of_xlate(struct dma *dma, in sandbox_dma_of_xlate() 73 static int sandbox_dma_request(struct dma *dma) in sandbox_dma_request() 91 static int sandbox_dma_free(struct dma *dma) in sandbox_dma_free() 111 static int sandbox_dma_enable(struct dma *dma) in sandbox_dma_enable() 131 static int sandbox_dma_disable(struct dma *dma) in sandbox_dma_disable() 151 static int sandbox_dma_send(struct dma *dma, in sandbox_dma_send() 184 static int sandbox_dma_receive(struct dma *dma, void **dst, void *metadata) in sandbox_dma_receive() 219 static int sandbox_dma_prepare_rcv_buf(struct dma *dma, void *dst, size_t size) in sandbox_dma_prepare_rcv_buf()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 17 struct uart_8250_dma *dma = p->dma; in __dma_tx_complete() local 43 struct uart_8250_dma *dma = p->dma; in __dma_rx_complete() local 70 struct uart_8250_dma *dma = p->dma; in dma_rx_complete() local 88 struct uart_8250_dma *dma = p->dma; in serial8250_tx_dma() local 144 struct uart_8250_dma *dma = p->dma; in serial8250_rx_dma() local 171 struct uart_8250_dma *dma = p->dma; in serial8250_rx_dma_flush() local 183 struct uart_8250_dma *dma = p->dma; in serial8250_request_dma() local 279 struct uart_8250_dma *dma = p->dma; in serial8250_release_dma() local
|
/openbmc/linux/arch/arm/mach-rpc/ |
H A D | dma.c | 26 struct dma_struct dma; member 134 static int iomd_request_dma(unsigned int chan, dma_t *dma) in iomd_request_dma() 142 static void iomd_free_dma(unsigned int chan, dma_t *dma) in iomd_free_dma() 155 static void iomd_enable_dma(unsigned int chan, dma_t *dma) in iomd_enable_dma() 192 static void iomd_disable_dma(unsigned int chan, dma_t *dma) in iomd_disable_dma() 205 static int iomd_set_dma_speed(unsigned int chan, dma_t *dma, int cycle) in iomd_set_dma_speed() 261 struct dma_struct dma; member 265 static void floppy_enable_dma(unsigned int chan, dma_t *dma) in floppy_enable_dma() 299 static void floppy_disable_dma(unsigned int chan, dma_t *dma) in floppy_disable_dma() 306 static int floppy_get_residue(unsigned int chan, dma_t *dma) in floppy_get_residue() [all …]
|
/openbmc/u-boot/include/ |
H A D | dma.h | 156 struct dma { struct 178 * @dma: A pointer to a DMA struct to initialize. argument 201 struct dma *dma) in dma_get_by_index() 207 struct dma *dma) in dma_get_by_name()
|
/openbmc/linux/sound/core/ |
H A D | isadma.c | 27 void snd_dma_program(unsigned long dma, in snd_dma_program() 51 void snd_dma_disable(unsigned long dma) in snd_dma_disable() 69 unsigned int snd_dma_pointer(unsigned long dma, unsigned int size) in snd_dma_pointer() 102 int dma; member 123 int snd_devm_request_dma(struct device *dev, int dma, const char *name) in snd_devm_request_dma()
|
/openbmc/u-boot/drivers/net/ |
H A D | bcm-sf2-eth-gmac.c | 94 static void dma_tx_dump(struct eth_dma *dma) in dma_tx_dump() 126 static void dma_rx_dump(struct eth_dma *dma) in dma_rx_dump() 158 static int dma_tx_init(struct eth_dma *dma) in dma_tx_init() 210 static int dma_rx_init(struct eth_dma *dma) in dma_rx_init() 263 static int dma_init(struct eth_dma *dma) in dma_init() 291 static int dma_deinit(struct eth_dma *dma) in dma_deinit() 311 int gmac_tx_packet(struct eth_dma *dma, void *packet, int length) in gmac_tx_packet() 371 bool gmac_check_tx_done(struct eth_dma *dma) in gmac_check_tx_done() 394 int gmac_check_rx_done(struct eth_dma *dma, uint8_t *buf) in gmac_check_rx_done() 479 static int gmac_disable_dma(struct eth_dma *dma, int dir) in gmac_disable_dma() [all …]
|
H A D | bcm-sf2-eth.c | 35 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_init() local 73 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_send() local 104 struct eth_dma *dma = &(((struct eth_info *)(dev->priv))->dma); in bcm_sf2_eth_receive() local 151 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_open() local 190 struct eth_dma *dma = &(eth->dma); in bcm_sf2_eth_close() local
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_core.c | 145 struct netup_dma *dma = priv; in netup_unidvb_tuner_ctrl() local 189 static void netup_unidvb_dma_enable(struct netup_dma *dma, int enable) in netup_unidvb_dma_enable() 205 static irqreturn_t netup_dma_interrupt(struct netup_dma *dma) in netup_dma_interrupt() 295 struct netup_dma *dma = vb2_get_drv_priv(vq); in netup_unidvb_queue_setup() local 310 struct netup_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in netup_unidvb_buf_prepare() local 323 struct netup_dma *dma = vb2_get_drv_priv(vb->vb2_queue); in netup_unidvb_buf_queue() local 337 struct netup_dma *dma = vb2_get_drv_priv(q); in netup_unidvb_start_streaming() local 346 struct netup_dma *dma = vb2_get_drv_priv(q); in netup_unidvb_stop_streaming() local 361 static int netup_unidvb_queue_init(struct netup_dma *dma, in netup_unidvb_queue_init() 537 static int netup_unidvb_ring_copy(struct netup_dma *dma, in netup_unidvb_ring_copy() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | dma_port.c | 203 struct tb_dma_port *dma; in dma_port_alloc() local 231 void dma_port_free(struct tb_dma_port *dma) in dma_port_free() 239 static int dma_port_wait_for_completion(struct tb_dma_port *dma, in dma_port_wait_for_completion() 278 static int dma_port_request(struct tb_dma_port *dma, u32 in, in dma_port_request() 305 struct tb_dma_port *dma = data; in dma_port_flash_read_block() local 327 struct tb_dma_port *dma = data; in dma_port_flash_write_block() local 358 int dma_port_flash_read(struct tb_dma_port *dma, unsigned int address, in dma_port_flash_read() 376 int dma_port_flash_write(struct tb_dma_port *dma, unsigned int address, in dma_port_flash_write() 397 int dma_port_flash_update_auth(struct tb_dma_port *dma) in dma_port_flash_update_auth() 420 int dma_port_flash_update_auth_status(struct tb_dma_port *dma, u32 *status) in dma_port_flash_update_auth_status() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | sg_sw_qm.h | 13 static inline void __dma_to_qm_sg(struct qm_sg_entry *qm_sg_ptr, dma_addr_t dma, in __dma_to_qm_sg() 23 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one() 30 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_last() 37 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_ext() 44 dma_addr_t dma, u32 len, in dma_to_qm_sg_one_last_ext()
|
/openbmc/linux/drivers/crypto/qce/ |
H A D | dma.c | 11 int qce_dma_request(struct device *dev, struct qce_dma_data *dma) in qce_dma_request() 42 void qce_dma_release(struct qce_dma_data *dma) in qce_dma_release() 99 int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *rx_sg, in qce_dma_prep_sgs() 117 void qce_dma_issue_pending(struct qce_dma_data *dma) in qce_dma_issue_pending() 123 int qce_dma_terminate_all(struct qce_dma_data *dma) in qce_dma_terminate_all()
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 171 struct vfio_dma *dma = rb_entry(node, struct vfio_dma, node); in vfio_find_dma() local 192 struct vfio_dma *dma = rb_entry(node, struct vfio_dma, node); in vfio_find_dma_first_node() local 212 struct vfio_dma *dma; in vfio_link_dma() local 234 static int vfio_dma_bitmap_alloc(struct vfio_dma *dma, size_t pgsize) in vfio_dma_bitmap_alloc() 254 static void vfio_dma_bitmap_free(struct vfio_dma *dma) in vfio_dma_bitmap_free() 260 static void vfio_dma_populate_bitmap(struct vfio_dma *dma, size_t pgsize) in vfio_dma_populate_bitmap() 278 struct vfio_dma *dma = rb_entry(n, struct vfio_dma, node); in vfio_iommu_populate_bitmap_full() local 289 struct vfio_dma *dma = rb_entry(n, struct vfio_dma, node); in vfio_dma_bitmap_alloc_all() local 297 struct vfio_dma *dma = rb_entry(n, in vfio_dma_bitmap_alloc_all() local 314 struct vfio_dma *dma = rb_entry(n, struct vfio_dma, node); in vfio_dma_bitmap_free_all() local [all …]
|
/openbmc/linux/sound/soc/sh/rcar/ |
H A D | dma.c | 43 } dma; member 55 #define rsnd_dma_to_dmaen(dma) (&(dma)->dma.en) argument 56 #define rsnd_dma_to_dmapp(dma) (&(dma)->dma.pp) argument 101 struct rsnd_dma *dma = rsnd_mod_to_dma(mod); in rsnd_dmaen_stop() local 114 struct rsnd_dma *dma = rsnd_mod_to_dma(mod); in rsnd_dmaen_cleanup() local 134 struct rsnd_dma *dma = rsnd_mod_to_dma(mod); in rsnd_dmaen_prepare() local 163 struct rsnd_dma *dma = rsnd_mod_to_dma(mod); in rsnd_dmaen_start() local 269 struct rsnd_dma *dma, in rsnd_dmaen_attach() 311 struct rsnd_dma *dma = rsnd_mod_to_dma(mod); in rsnd_dmaen_pointer() local 427 #define rsnd_dmapp_addr(dmac, dma, reg) \ argument [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | buffer.c | 119 dma_addr_t *dma in hcd_buffer_alloc() 148 dma_addr_t dma in hcd_buffer_free() 177 size_t size, gfp_t mem_flags, dma_addr_t *dma) in hcd_buffer_alloc_pages() 198 size_t size, void *addr, dma_addr_t dma) in hcd_buffer_free_pages()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | videobuf-dma-sg.c | 145 static void videobuf_dma_init(struct videobuf_dmabuf *dma) in videobuf_dma_init() 151 static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma, in videobuf_dma_init_user_locked() 194 static int videobuf_dma_init_user(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_user() 206 static int videobuf_dma_init_kernel(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_kernel() 265 static int videobuf_dma_init_overlay(struct videobuf_dmabuf *dma, int direction, in videobuf_dma_init_overlay() 281 static int videobuf_dma_map(struct device *dev, struct videobuf_dmabuf *dma) in videobuf_dma_map() 324 int videobuf_dma_unmap(struct device *dev, struct videobuf_dmabuf *dma) in videobuf_dma_unmap() 341 int videobuf_dma_free(struct videobuf_dmabuf *dma) in videobuf_dma_free()
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_dma.c | 109 struct knav_dma_device *dma; member 256 static void dma_hw_enable_all(struct knav_dma_device *dma) in dma_hw_enable_all() 267 static void knav_dma_hw_init(struct knav_dma_device *dma) in knav_dma_hw_init() 295 static void knav_dma_hw_destroy(struct knav_dma_device *dma) in knav_dma_hw_destroy() 340 struct knav_dma_device *dma) in dma_debug_show_devices() 352 struct knav_dma_device *dma; in knav_dma_debug_show() local 410 struct knav_dma_device *dma = NULL, *iter1; in knav_dma_open_channel() local 516 static void __iomem *pktdma_get_regs(struct knav_dma_device *dma, in pktdma_get_regs() 544 struct knav_dma_device *dma = chan->dma; in pktdma_init_rx_chan() local 556 struct knav_dma_device *dma = chan->dma; in pktdma_init_tx_chan() local [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-udma.c | 25 int ivtv_udma_fill_sg_list (struct ivtv_user_dma *dma, struct ivtv_dma_page_info *dma_page, int map… in ivtv_udma_fill_sg_list() 63 void ivtv_udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u3… in ivtv_udma_fill_sg_array() 96 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_setup() local 163 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_unmap() local
|
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_sg.c | 36 struct bcm_vk_dma *dma, in bcm_vk_dma_alloc() 175 struct bcm_vk_dma *dma, in bcm_vk_sg_alloc() 226 static int bcm_vk_dma_free(struct device *dev, struct bcm_vk_dma *dma) in bcm_vk_dma_free() 260 int bcm_vk_sg_free(struct device *dev, struct bcm_vk_dma *dma, int num, in bcm_vk_sg_free()
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-pcm-compress.c | 72 struct sprd_compr_dma dma[SPRD_COMPR_DMA_CHANS]; member 119 struct sprd_compr_dma *dma = &stream->dma[1]; in sprd_platform_compr_dma_complete() local 140 struct sprd_compr_dma *dma = &stream->dma[channel]; in sprd_platform_compr_dma_config() local 401 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_free() local 436 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_trigger() local 451 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_trigger() local 462 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_trigger() local 480 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_trigger() local 492 struct sprd_compr_dma *dma = &stream->dma[i]; in sprd_platform_compr_trigger() local
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-stm32.c | 17 struct stm32_i2c_dma *dma; in stm32_i2c_dma_request() local 85 void stm32_i2c_dma_free(struct stm32_i2c_dma *dma) in stm32_i2c_dma_free() 99 int stm32_i2c_prep_dma_xfer(struct device *dev, struct stm32_i2c_dma *dma, in stm32_i2c_prep_dma_xfer()
|
/openbmc/linux/sound/pci/cs5535audio/ |
H A D | cs5535audio_pcm.c | 107 struct cs5535audio_dma *dma, in cs5535audio_build_dma_packets() 223 struct cs5535audio_dma *dma, in cs5535audio_clear_dma_packets() 235 struct cs5535audio_dma *dma = substream->runtime->private_data; in snd_cs5535audio_hw_params() local 253 struct cs5535audio_dma *dma = substream->runtime->private_data; in snd_cs5535audio_hw_free() local 278 struct cs5535audio_dma *dma = substream->runtime->private_data; in snd_cs5535audio_trigger() local 315 struct cs5535audio_dma *dma; in snd_cs5535audio_pcm_pointer() local
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_core.c | 1072 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_setfirstbuffer() local 1080 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_setstartbuffer() local 1091 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_setbuffers() local 1145 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_setmode() local 1166 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_bufshift() local 1217 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_resetup() local 1247 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_getlinearpos() local 1266 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_startfifo() local 1292 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_resumefifo() local 1314 stream_t *dma = &vortex->dma_adb[adbdma]; in vortex_adbdma_pausefifo() local [all …]
|