Home
last modified time | relevance | path

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

/drivers/mmc/card/
Dqueue.c151 mq->bounce_buf = kmalloc(bouncesz, GFP_KERNEL); in mmc_init_queue()
152 if (!mq->bounce_buf) { in mmc_init_queue()
159 if (mq->bounce_buf) { in mmc_init_queue()
185 if (!mq->bounce_buf) { in mmc_init_queue()
219 if (mq->bounce_buf) in mmc_init_queue()
220 kfree(mq->bounce_buf); in mmc_init_queue()
221 mq->bounce_buf = NULL; in mmc_init_queue()
249 if (mq->bounce_buf) in mmc_cleanup_queue()
250 kfree(mq->bounce_buf); in mmc_cleanup_queue()
251 mq->bounce_buf = NULL; in mmc_cleanup_queue()
[all …]
Dqueue.h17 char *bounce_buf; member
/drivers/scsi/
Dps3rom.c127 scsi_sg_copy_to_buffer(cmd, dev->bounce_buf, dev->bounce_size); in ps3rom_atapi_request()
199 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()
414 kfree(dev->bounce_buf); in ps3rom_probe()
427 kfree(dev->bounce_buf); in ps3rom_remove()
/drivers/ps3/
Dps3stor_lib.c119 __ffs((unsigned long)dev->bounce_buf)); in ps3stor_setup()
123 __func__, __LINE__, dev->bounce_size, dev->bounce_buf); in ps3stor_setup()
132 PS3_DMA_OTHER, dev->bounce_buf, dev->bounce_size); in ps3stor_setup()
141 dev->bounce_lpar = ps3_mm_phys_to_lpar(__pa(dev->bounce_buf)); in ps3stor_setup()
142 dev->bounce_dma = dma_map_single(&dev->sbd.core, dev->bounce_buf, in ps3stor_setup()
/drivers/block/
Dps3disk.c110 memcpy(dev->bounce_buf+offset, buf, size); in ps3disk_scatter_gather()
112 memcpy(buf, dev->bounce_buf+offset, size); in ps3disk_scatter_gather()
373 u16 *id = dev->bounce_buf; in ps3disk_identify()
456 dev->bounce_buf = kmalloc(BOUNCE_SIZE, GFP_DMA); in ps3disk_probe()
457 if (!dev->bounce_buf) { in ps3disk_probe()
527 kfree(dev->bounce_buf); in ps3disk_probe()
553 kfree(dev->bounce_buf); in ps3disk_remove()
/drivers/net/mlx4/
Den_tx.c77 ring->bounce_buf = kmalloc(MAX_DESC_SIZE, GFP_KERNEL); in mlx4_en_create_tx_ring()
78 if (!ring->bounce_buf) { in mlx4_en_create_tx_ring()
125 kfree(ring->bounce_buf); in mlx4_en_create_tx_ring()
126 ring->bounce_buf = NULL; in mlx4_en_create_tx_ring()
144 kfree(ring->bounce_buf); in mlx4_en_destroy_tx_ring()
145 ring->bounce_buf = NULL; in mlx4_en_destroy_tx_ring()
457 *((u32 *) (ring->bounce_buf + copy + i)); in mlx4_en_bounce_to_desc()
465 *((u32 *) (ring->bounce_buf + i)); in mlx4_en_bounce_to_desc()
714 tx_desc = (struct mlx4_en_tx_desc *) ring->bounce_buf; in mlx4_en_xmit()
806 if (tx_desc == (struct mlx4_en_tx_desc *) ring->bounce_buf) in mlx4_en_xmit()
Dmlx4_en.h249 u8 *bounce_buf; member
/drivers/char/
Dps3flash.c150 __func__, __LINE__, n, dev->bounce_buf+offset, buf); in ps3flash_read()
151 if (copy_to_user(buf, dev->bounce_buf+offset, n)) { in ps3flash_read()
264 __func__, __LINE__, n, buf, dev->bounce_buf+offset); in ps3flash_write()
265 if (copy_from_user(dev->bounce_buf+offset, buf, n)) { in ps3flash_write()
373 dev->bounce_buf = ps3flash_bounce_buffer.address; in ps3flash_probe()
/drivers/mtd/nand/
Dalauda.c401 void *bounce_buf; in alauda_bounce_read() local
404 bounce_buf = kmalloc(mtd->writesize, GFP_KERNEL); in alauda_bounce_read()
405 if (!bounce_buf) in alauda_bounce_read()
414 err = alauda_read_page(mtd, from, bounce_buf, oob, in alauda_bounce_read()
419 memcpy(buf, bounce_buf + byte, cplen); in alauda_bounce_read()
430 kfree(bounce_buf); in alauda_bounce_read()
/drivers/mmc/host/
Dtifm_sd.c108 struct scatterlist bounce_buf; member
250 tifm_sd_copy_page(sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
254 tifm_sd_copy_page(pg, p_off, sg_page(&host->bounce_buf), in tifm_sd_bounce_block()
311 sg = &host->bounce_buf; in tifm_sd_set_dma_data()
667 sg_init_one(&host->bounce_buf, host->bounce_buf_data, in tifm_sd_request()
670 if(1 != tifm_map_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
688 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_request()
763 tifm_unmap_sg(sock, &host->bounce_buf, 1, in tifm_sd_end_cmd()