Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/staging/comedi/drivers/
Dgsc_hpdi.c545 unsigned int buffer_index, buffer_offset; in setup_dma_descriptors() local
561 buffer_index = 0; in setup_dma_descriptors()
563 buffer_index < NUM_DMA_BUFFERS; i++) { in setup_dma_descriptors()
565 cpu_to_le32(priv(dev)->dio_buffer_phys_addr[buffer_index] + in setup_dma_descriptors()
576 priv(dev)->dio_buffer[buffer_index] + in setup_dma_descriptors()
582 buffer_index++; in setup_dma_descriptors()
Dcb_pcidas64.c3088 unsigned int buffer_index; in prev_ao_dma_index() local
3091 buffer_index = AO_DMA_RING_COUNT - 1; in prev_ao_dma_index()
3093 buffer_index = priv(dev)->ao_dma_index - 1; in prev_ao_dma_index()
3094 return buffer_index; in prev_ao_dma_index()
3099 unsigned int buffer_index; in last_ao_dma_load_completed() local
3103 buffer_index = prev_ao_dma_index(dev); in last_ao_dma_load_completed()
3110 if (transfer_address != priv(dev)->ao_buffer_bus_addr[buffer_index]) in last_ao_dma_load_completed()
3391 unsigned int num_bytes, buffer_index, prev_buffer_index; in load_ao_dma_buffer() local
3394 buffer_index = priv(dev)->ao_dma_index; in load_ao_dma_buffer()
3397 DEBUG_PRINT("attempting to load ao buffer %i (0x%x)\n", buffer_index, in load_ao_dma_buffer()
[all …]
Ddas16.c1242 int buffer_index; in das16_interrupt() local
1282 buffer_index = devpriv->current_buffer; in das16_interrupt()
1307 devpriv->dma_buffer[buffer_index], num_bytes); in das16_interrupt()
/linux-3.4.99/sound/pci/lx6464es/
Dlx_core.c945 u32 buffer_index) in lx_buffer_cancel() argument
956 chip->rmh.cmd[0] |= buffer_index; in lx_buffer_cancel()
1179 u32 buffer_index = 0; in lx_interrupt_request_new_buffer() local
1193 &buffer_index); in lx_interrupt_request_new_buffer()
1195 buffer_index, (void *)buf, period_bytes); in lx_interrupt_request_new_buffer()
Dlx_core.h174 u32 buffer_index);
Dlx6464es.c445 u32 buffer_index = 0; in lx_trigger_start() local
454 &buffer_index); in lx_trigger_start()
457 buffer_index, (void *)buf, period_bytes); in lx_trigger_start()
/linux-3.4.99/drivers/scsi/be2iscsi/
Dbe_main.c1374 unsigned char buffer_index = -1; in hwi_get_async_handle() local
1399 buffer_index = buffer_len / in hwi_get_async_handle()
1410 buffer_index = buffer_len / pasync_ctx->async_data.buffer_size; in hwi_get_async_handle()
1421 WARN_ON(!(buffer_index <= pasync_ctx->async_data.num_entries)); in hwi_get_async_handle()
1425 if (pasync_handle->index == buffer_index) in hwi_get_async_handle()