Searched refs:dma_buffer (Results 1 – 12 of 12) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-ismt.c | 179 u8 dma_buffer[I2C_SMBUS_BLOCK_MAX + 1]; /* temp R/W data buffer */ member 327 u8 *dma_buffer = priv->dma_buffer; in ismt_process_desc() local 340 data->byte = dma_buffer[0]; in ismt_process_desc() 344 data->word = dma_buffer[0] | (dma_buffer[1] << 8); in ismt_process_desc() 347 memcpy(&data->block[1], dma_buffer, desc->rxbytes); in ismt_process_desc() 443 priv->dma_buffer[0] = command; in ismt_access() 444 priv->dma_buffer[1] = data->byte; in ismt_access() 463 priv->dma_buffer[0] = command; in ismt_access() 464 priv->dma_buffer[1] = data->word & 0xff; in ismt_access() 465 priv->dma_buffer[2] = data->word >> 8; in ismt_access() [all …]
|
/drivers/staging/comedi/drivers/ |
D | ni_at_a2150.c | 161 s16 *dma_buffer; /* dma buffer */ member 200 static const int sample_size = sizeof(devpriv->dma_buffer[0]); in a2150_interrupt() 267 dpnt = devpriv->dma_buffer[i]; in a2150_interrupt() 281 set_dma_addr(devpriv->dma, virt_to_bus(devpriv->dma_buffer)); in a2150_interrupt() 461 set_dma_addr(devpriv->dma, virt_to_bus(devpriv->dma_buffer)); in a2150_ai_cmd() 465 sizeof(devpriv->dma_buffer[0]) * cmd->chanlist_len * in a2150_ai_cmd() 469 if (devpriv->dma_transfer_size < sizeof(devpriv->dma_buffer[0])) in a2150_ai_cmd() 470 devpriv->dma_transfer_size = sizeof(devpriv->dma_buffer[0]); in a2150_ai_cmd() 472 devpriv->dma_transfer_size % sizeof(devpriv->dma_buffer[0]); in a2150_ai_cmd() 763 devpriv->dma_buffer = in a2150_attach() [all …]
|
D | ni_labpc.h | 84 u16 *dma_buffer; /* buffer ai will dma into */ member
|
D | das16.c | 382 uint16_t *dma_buffer[2]; member 944 devpriv->dma_buffer[buffer_index], num_bytes); in das16_interrupt() 1170 devpriv->dma_buffer[i] = pci_alloc_consistent( in das16_attach() 1174 if (devpriv->dma_buffer[i] == NULL) in das16_attach() 1346 if (devpriv->dma_buffer[i]) in das16_detach() 1348 devpriv->dma_buffer[i], in das16_detach()
|
D | ni_labpc.c | 1085 cfc_write_to_buffer(s, devpriv->dma_buffer[i]); in labpc_drain_dma() 1735 devpriv->dma_buffer = kmalloc(dma_buffer_size, in labpc_attach() 1737 if (devpriv->dma_buffer) { in labpc_attach() 1744 virt_to_bus(devpriv->dma_buffer); in labpc_attach() 1751 kfree(devpriv->dma_buffer); in labpc_attach() 1767 kfree(devpriv->dma_buffer); in labpc_detach()
|
D | adl_pci9118.c | 703 short *dma_buffer, in defragment_dma_buffer() argument 716 dma_buffer[j++] = dma_buffer[i]; in defragment_dma_buffer() 727 short *dma_buffer, in move_block_from_dma() argument 733 num_samples = defragment_dma_buffer(dev, s, dma_buffer, num_samples); in move_block_from_dma() 739 cfc_write_array_to_buffer(s, dma_buffer, in move_block_from_dma()
|
/drivers/mmc/host/ |
D | wbsd.c | 280 char *dmabuf = host->dma_buffer; in wbsd_sg_to_dma() 297 char *dmabuf = host->dma_buffer; in wbsd_dma_to_sg() 1389 host->dma_buffer = kmalloc(WBSD_DMA_SIZE, in wbsd_request_dma() 1391 if (!host->dma_buffer) in wbsd_request_dma() 1397 host->dma_addr = dma_map_single(mmc_dev(host->mmc), host->dma_buffer, in wbsd_request_dma() 1425 kfree(host->dma_buffer); in wbsd_request_dma() 1426 host->dma_buffer = NULL; in wbsd_request_dma() 1442 kfree(host->dma_buffer); in wbsd_release_dma() 1447 host->dma_buffer = NULL; in wbsd_release_dma()
|
D | wbsd.h | 161 char* dma_buffer; /* ISA DMA buffer */ member
|
/drivers/net/wireless/ath/ath6kl/ |
D | sdio.c | 47 u8 *dma_buffer; member 419 if (!ar_sdio->dma_buffer) in ath6kl_sdio_read_write_sync() 422 tbuf = ar_sdio->dma_buffer; in ath6kl_sdio_read_write_sync() 1314 ar_sdio->dma_buffer = kzalloc(HIF_DMA_BUFFER_SIZE, GFP_KERNEL); in ath6kl_sdio_probe() 1315 if (!ar_sdio->dma_buffer) { in ath6kl_sdio_probe() 1374 kfree(ar_sdio->dma_buffer); in ath6kl_sdio_probe() 1397 kfree(ar_sdio->dma_buffer); in ath6kl_sdio_remove()
|
/drivers/block/ |
D | floppy.c | 2394 char *dma_buffer; in copy_buffer() local 2422 dma_buffer = floppy_track_buffer + ((fsector_t - buffer_min) << 9); in copy_buffer() 2434 if (dma_buffer + size > in copy_buffer() 2436 dma_buffer < floppy_track_buffer) { in copy_buffer() 2438 (int)((floppy_track_buffer - dma_buffer) >> 9)); in copy_buffer() 2453 memcpy(buffer, dma_buffer, size); in copy_buffer() 2455 memcpy(dma_buffer, buffer, size); in copy_buffer() 2458 dma_buffer += size; in copy_buffer()
|
/drivers/staging/comedi/drivers/addi-data/ |
D | hwdrv_apci3120.c | 1402 short *dma_buffer, in v_APCI3120_InterruptDmaMoveBlock16bit() argument 1412 cfc_write_array_to_buffer(s, dma_buffer, num_samples * sizeof(short)); in v_APCI3120_InterruptDmaMoveBlock16bit()
|
/drivers/block/mtip32xx/ |
D | mtip32xx.c | 2205 dma_addr_t dma_buffer = 0; in exec_drive_taskfile() local 2243 dma_buffer = outbuf_dma; in exec_drive_taskfile() 2264 dma_buffer = inbuf_dma; in exec_drive_taskfile() 2359 dma_buffer, in exec_drive_taskfile()
|