Home
last modified time | relevance | path

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

/linux-2.6.39/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.c3091 unsigned int buffer_index; in prev_ao_dma_index() local
3094 buffer_index = AO_DMA_RING_COUNT - 1; in prev_ao_dma_index()
3096 buffer_index = priv(dev)->ao_dma_index - 1; in prev_ao_dma_index()
3097 return buffer_index; in prev_ao_dma_index()
3102 unsigned int buffer_index; in last_ao_dma_load_completed() local
3106 buffer_index = prev_ao_dma_index(dev); in last_ao_dma_load_completed()
3113 if (transfer_address != priv(dev)->ao_buffer_bus_addr[buffer_index]) in last_ao_dma_load_completed()
3394 unsigned int num_bytes, buffer_index, prev_buffer_index; in load_ao_dma_buffer() local
3397 buffer_index = priv(dev)->ao_dma_index; in load_ao_dma_buffer()
3400 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-2.6.39/sound/pci/lx6464es/
Dlx_core.c936 u32 buffer_index) in lx_buffer_cancel() argument
947 chip->rmh.cmd[0] |= buffer_index; in lx_buffer_cancel()
1170 u32 buffer_index = 0; in lx_interrupt_request_new_buffer() local
1184 &buffer_index); in lx_interrupt_request_new_buffer()
1186 buffer_index, (void *)buf, period_bytes); in lx_interrupt_request_new_buffer()
Dlx_core.h177 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-2.6.39/drivers/scsi/be2iscsi/
Dbe_main.c1402 unsigned char buffer_index = -1; in hwi_get_async_handle() local
1427 buffer_index = buffer_len / in hwi_get_async_handle()
1438 buffer_index = buffer_len / pasync_ctx->async_data.buffer_size; in hwi_get_async_handle()
1449 WARN_ON(!(buffer_index <= pasync_ctx->async_data.num_entries)); in hwi_get_async_handle()
1453 if (pasync_handle->index == buffer_index) in hwi_get_async_handle()