Searched refs:bufi (Results 1 – 4 of 4) sorted by relevance
287 unsigned int keyi, bufi; in xen_netif_toeplitz_hash() local297 for (bufi = 0; bufi < buflen; bufi++) { in xen_netif_toeplitz_hash()298 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()
94 unsigned int bufi; /* Buffer current position */ member884 if (i >= adc->bufi) in stm32_dfsdm_adc_dma_residue()885 size = i - adc->bufi; in stm32_dfsdm_adc_dma_residue()887 size = adc->buf_sz + i - adc->bufi; in stm32_dfsdm_adc_dma_residue()936 adc->bufi, available); in stm32_dfsdm_dma_buffer_done()937 old_pos = adc->bufi; in stm32_dfsdm_dma_buffer_done()940 s32 *buffer = (s32 *)&adc->rx_buf[adc->bufi]; in stm32_dfsdm_dma_buffer_done()945 adc->bufi += indio_dev->scan_bytes; in stm32_dfsdm_dma_buffer_done()946 if (adc->bufi >= adc->buf_sz) { in stm32_dfsdm_dma_buffer_done()950 adc->bufi = 0; in stm32_dfsdm_dma_buffer_done()[all …]
268 unsigned int bufi; member1417 adc->bufi = 0; in stm32_adc_single_conv()1563 adc->buffer[adc->bufi] = stm32_adc_readw(adc, regs->dr); in stm32_adc_isr()1565 adc->bufi++; in stm32_adc_isr()1566 if (adc->bufi >= adc->num_conv) { in stm32_adc_isr()1703 if (i >= adc->bufi) in stm32_adc_dma_residue()1704 size = i - adc->bufi; in stm32_adc_dma_residue()1706 size = adc->rx_buf_sz + i - adc->bufi; in stm32_adc_dma_residue()1729 dev_dbg(&indio_dev->dev, "%s bufi=%d\n", __func__, adc->bufi); in stm32_adc_dma_buffer_done()1732 u16 *buffer = (u16 *)&adc->rx_buf[adc->bufi]; in stm32_adc_dma_buffer_done()[all …]