Searched refs:bufi (Results 1 – 4 of 4) sorted by relevance
291 unsigned int keyi, bufi; in xen_netif_toeplitz_hash() local301 for (bufi = 0; bufi < buflen; bufi++) { in xen_netif_toeplitz_hash()302 uint8_t byte = buf[bufi]; in xen_netif_toeplitz_hash()
66 int bufi, r; in do_readdir() local81 bufi = orangefs_readdir_index_get(); in do_readdir()82 if (bufi < 0) { in do_readdir()83 od->error = bufi; in do_readdir()84 return bufi; in do_readdir()87 op->upcall.req.readdir.buf_index = bufi; in do_readdir()92 orangefs_readdir_index_put(bufi); in do_readdir()
199 unsigned int bufi; member1075 adc->bufi = 0; in stm32_adc_single_conv()1175 adc->buffer[adc->bufi] = stm32_adc_readw(adc, regs->dr); in stm32_adc_isr()1177 adc->bufi++; in stm32_adc_isr()1178 if (adc->bufi >= adc->num_conv) { in stm32_adc_isr()1297 if (i >= adc->bufi) in stm32_adc_dma_residue()1298 size = i - adc->bufi; in stm32_adc_dma_residue()1300 size = adc->rx_buf_sz + i - adc->bufi; in stm32_adc_dma_residue()1323 dev_dbg(&indio_dev->dev, "%s bufi=%d\n", __func__, adc->bufi); in stm32_adc_dma_buffer_done()1326 u16 *buffer = (u16 *)&adc->rx_buf[adc->bufi]; in stm32_adc_dma_buffer_done()[all …]
72 unsigned int bufi; /* Buffer current position */ member524 if (i >= adc->bufi) in stm32_dfsdm_adc_dma_residue()525 size = i - adc->bufi; in stm32_dfsdm_adc_dma_residue()527 size = adc->buf_sz + i - adc->bufi; in stm32_dfsdm_adc_dma_residue()552 adc->bufi, available); in stm32_dfsdm_audio_dma_buffer_done()553 old_pos = adc->bufi; in stm32_dfsdm_audio_dma_buffer_done()556 u32 *buffer = (u32 *)&adc->rx_buf[adc->bufi]; in stm32_dfsdm_audio_dma_buffer_done()561 adc->bufi += indio_dev->scan_bytes; in stm32_dfsdm_audio_dma_buffer_done()562 if (adc->bufi >= adc->buf_sz) { in stm32_dfsdm_audio_dma_buffer_done()566 adc->bufi = 0; in stm32_dfsdm_audio_dma_buffer_done()[all …]