Home
last modified time | relevance | path

Searched refs:bounce_buf (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/mmc/card/
Dqueue.c229 mqrq_cur->bounce_buf = kmalloc(bouncesz, GFP_KERNEL); in mmc_init_queue()
230 if (!mqrq_cur->bounce_buf) { in mmc_init_queue()
234 mqrq_prev->bounce_buf = in mmc_init_queue()
236 if (!mqrq_prev->bounce_buf) { in mmc_init_queue()
239 kfree(mqrq_cur->bounce_buf); in mmc_init_queue()
240 mqrq_cur->bounce_buf = NULL; in mmc_init_queue()
245 if (mqrq_cur->bounce_buf && mqrq_prev->bounce_buf) { in mmc_init_queue()
272 if (!mqrq_cur->bounce_buf && !mqrq_prev->bounce_buf) { in mmc_init_queue()
309 kfree(mqrq_cur->bounce_buf); in mmc_init_queue()
310 mqrq_cur->bounce_buf = NULL; in mmc_init_queue()
[all …]
Dqueue.h39 char *bounce_buf; member
/linux-4.4.14/drivers/mmc/host/
Dtmio_mmc_dma.c81 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in tmio_mmc_start_dma_rx()
159 sg_init_one(&host->bounce_sg, host->bounce_buf, sg->length); in tmio_mmc_start_dma_tx()
160 memcpy(host->bounce_buf, sg_vaddr, host->bounce_sg.length); in tmio_mmc_start_dma_tx()
318 host->bounce_buf = (u8 *)__get_free_page(GFP_KERNEL | GFP_DMA); in tmio_mmc_request_dma()
319 if (!host->bounce_buf) in tmio_mmc_request_dma()
352 if (host->bounce_buf) { in tmio_mmc_release_dma()
353 free_pages((unsigned long)host->bounce_buf, 0); in tmio_mmc_release_dma()
354 host->bounce_buf = NULL; in tmio_mmc_release_dma()
Dtifm_sd.c109 struct scatterlist bounce_buf; member
251 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
255 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
312 sg = &host->bounce_buf; in tifm_sd_set_dma_data()
668 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request()
671 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
689 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
764 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()
Dtmio_mmc.h80 u8 *bounce_buf; member
Dusdhi6rol0.c177 u8 bounce_buf[512]; member
325 host->blk_page = host->bounce_buf; in usdhi6_blk_bounce()
331 memcpy(host->bounce_buf, host->head_pg.mapped + PAGE_SIZE - blk_head, in usdhi6_blk_bounce()
333 memcpy(host->bounce_buf + blk_head, host->pg.mapped, in usdhi6_blk_bounce()
404 host->bounce_buf, blk_head); in usdhi6_sg_unmap()
405 memcpy(host->pg.mapped, host->bounce_buf + blk_head, in usdhi6_sg_unmap()
Dtmio_mmc_pio.c464 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
/linux-4.4.14/drivers/scsi/
Dps3rom.c129 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request()
201 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_write_request()
312 dev->bounce_buf, in ps3rom_interrupt()
372 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe()
373 if (!dev->bounce_buf) in ps3rom_probe()
414 kfree(dev->bounce_buf); in ps3rom_probe()
427 kfree(dev->bounce_buf); in ps3rom_remove()
/linux-4.4.14/drivers/ps3/
Dps3stor_lib.c179 __ffs((unsigned long)dev->bounce_buf)); in ps3stor_setup()
183 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
192 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
201 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
202 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/linux-4.4.14/drivers/block/
Dps3disk.c111 memcpy(dev->bounce_buf+offset, buf, size); in ps3disk_scatter_gather()
113 memcpy(buf, dev->bounce_buf+offset, size); in ps3disk_scatter_gather()
368 u16 *id = dev->bounce_buf; in ps3disk_identify()
441 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
442 if (!dev->bounce_buf) { in ps3disk_probe()
510 kfree(dev->bounce_buf); in ps3disk_probe()
536 kfree(dev->bounce_buf); in ps3disk_remove()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c84 ring->bounce_buf = kmalloc_node(MAX_DESC_SIZE, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
85 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
86 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); in mlx4_en_create_tx_ring()
87 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
162 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring()
163 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring()
187 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring()
188 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring()
537 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc()
545 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc()
[all …]
Dmlx4_en.h290 u8 *bounce_buf; member
/linux-4.4.14/drivers/usb/host/whci/
Dqset.c270 bounce = std->bounce_buf; in qset_copy_bounce_to_sg()
302 if (std->bounce_buf) { in qset_free_std()
315 kfree(std->bounce_buf); in qset_free_std()
588 std->bounce_buf = kmalloc(max_std_len, mem_flags); in qset_add_urb_sg_linearize()
589 if (std->bounce_buf == NULL) in qset_add_urb_sg_linearize()
593 bounce = std->bounce_buf; in qset_add_urb_sg_linearize()
620 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len, in qset_add_urb_sg_linearize()
Dwhcd.h106 void *bounce_buf; member
/linux-4.4.14/arch/powerpc/include/asm/
Dps3stor.h47 void *bounce_buf; member
/linux-4.4.14/drivers/char/
Dps3flash.c136 src = dev->bounce_buf + offset; in ps3flash_read()
205 dst = dev->bounce_buf + offset; in ps3flash_write()
387 dev->bounce_buf = ps3flash_bounce_buffer.address; in ps3flash_probe()