/linux-4.1.27/drivers/mmc/card/ |
D | queue.c | 231 mqrq_cur->bounce_buf = kmalloc(bouncesz, GFP_KERNEL); in mmc_init_queue() 232 if (!mqrq_cur->bounce_buf) { in mmc_init_queue() 236 mqrq_prev->bounce_buf = in mmc_init_queue() 238 if (!mqrq_prev->bounce_buf) { in mmc_init_queue() 241 kfree(mqrq_cur->bounce_buf); in mmc_init_queue() 242 mqrq_cur->bounce_buf = NULL; in mmc_init_queue() 247 if (mqrq_cur->bounce_buf && mqrq_prev->bounce_buf) { in mmc_init_queue() 274 if (!mqrq_cur->bounce_buf && !mqrq_prev->bounce_buf) { in mmc_init_queue() 311 kfree(mqrq_cur->bounce_buf); in mmc_init_queue() 312 mqrq_cur->bounce_buf = NULL; in mmc_init_queue() [all …]
|
D | queue.h | 38 char *bounce_buf; member
|
/linux-4.1.27/drivers/mmc/host/ |
D | tmio_mmc_dma.c | 81 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()
|
D | tifm_sd.c | 109 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()
|
D | tmio_mmc.h | 80 u8 *bounce_buf; member
|
D | usdhi6rol0.c | 177 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()
|
D | tmio_mmc_pio.c | 462 memcpy(sg_vaddr, host->bounce_buf, host->bounce_sg.length); in tmio_mmc_check_bounce_buffer()
|
/linux-4.1.27/drivers/scsi/ |
D | ps3rom.c | 129 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() 373 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3rom_probe() 374 if (!dev->bounce_buf) in ps3rom_probe() 415 kfree(dev->bounce_buf); in ps3rom_probe() 428 kfree(dev->bounce_buf); in ps3rom_remove()
|
/linux-4.1.27/drivers/ps3/ |
D | ps3stor_lib.c | 179 __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.1.27/drivers/block/ |
D | ps3disk.c | 111 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.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 84 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() 535 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc() 543 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc() [all …]
|
D | mlx4_en.h | 289 u8 *bounce_buf; member
|
/linux-4.1.27/drivers/usb/host/whci/ |
D | qset.c | 270 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()
|
D | whcd.h | 106 void *bounce_buf; member
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | ps3stor.h | 47 void *bounce_buf; member
|
/linux-4.1.27/drivers/char/ |
D | ps3flash.c | 136 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()
|