Home
last modified time | relevance | path

Searched refs:buf_index (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/winbond/
Dmds.c203 u8 buf_index, FragmentCount = 0; in Mds_BodyCopy() local
209 buf_index = pDes->buffer_start_index; in Mds_BodyCopy()
240 src_buffer = pDes->buffer_address[buf_index]; in Mds_BodyCopy()
242 if (CopySize >= pDes->buffer_size[buf_index]) { in Mds_BodyCopy()
243 CopyLeft = pDes->buffer_size[buf_index]; in Mds_BodyCopy()
246 buf_index++; in Mds_BodyCopy()
247 buf_index %= MAX_DESCRIPTOR_BUFFER_INDEX; in Mds_BodyCopy()
249 u8 *pctmp = pDes->buffer_address[buf_index]; in Mds_BodyCopy()
251 pDes->buffer_address[buf_index] = pctmp; in Mds_BodyCopy()
252 pDes->buffer_size[buf_index] -= CopySize; in Mds_BodyCopy()
/drivers/net/wireless/rtlwifi/rtl8192de/
Dfw.c367 u8 buf_index = 0; in _rtl92d_fill_h2c_command() local
472 memcpy(boxcontent + 1, cmdbuffer + buf_index, 1); in _rtl92d_fill_h2c_command()
479 memcpy(boxcontent + 1, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
486 memcpy(boxcontent + 1, cmdbuffer + buf_index, 3); in _rtl92d_fill_h2c_command()
493 memcpy(boxextcontent, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
494 memcpy(boxcontent + 1, cmdbuffer + buf_index + 2, 2); in _rtl92d_fill_h2c_command()
504 memcpy(boxextcontent, cmdbuffer + buf_index, 2); in _rtl92d_fill_h2c_command()
505 memcpy(boxcontent + 1, cmdbuffer + buf_index + 2, 3); in _rtl92d_fill_h2c_command()
/drivers/scsi/fnic/
Dvnic_rq.c63 rq->buf_index = 0; in vnic_rq_alloc_bufs()
137 rq->buf_index = 0; in vnic_rq_init()
193 rq->buf_index = 0; in vnic_rq_clean()
Dvnic_rq.h101 unsigned int buf_index; member
129 return rq->buf_index++; in vnic_rq_next_buf_index()
/drivers/media/platform/exynos4-is/
Dfimc-capture.c117 cap->buf_index = 0; in fimc_capture_state_cleanup()
210 fimc_hw_set_output_addr(fimc, &v_buf->paddr, cap->buf_index); in fimc_capture_irq_handler()
211 v_buf->index = cap->buf_index; in fimc_capture_irq_handler()
219 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
220 cap->buf_index = 0; in fimc_capture_irq_handler()
246 if (++cap->buf_index >= FIMC_MAX_OUT_BUFS) in fimc_capture_irq_handler()
247 cap->buf_index = 0; in fimc_capture_irq_handler()
330 vid_cap->buf_index = 0; in fimc_capture_resume()
429 vid_cap->buf_index; in buffer_queue()
432 buf->index = vid_cap->buf_index; in buffer_queue()
[all …]
Dfimc-core.h319 int buf_index; member
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dfw.c267 u8 buf_index = 0; in _rtl88e_fill_h2c_command() local
377 memcpy((u8 *)(boxc) + 1, cmd_b + buf_index, cmd_len); in _rtl88e_fill_h2c_command()
387 memcpy((u8 *)(boxext), cmd_b + buf_index+3, cmd_len-3); in _rtl88e_fill_h2c_command()
388 memcpy((u8 *)(boxc) + 1, cmd_b + buf_index, 3); in _rtl88e_fill_h2c_command()
/drivers/media/pci/pt1/
Dpt1.c82 int buf_index; member
290 pt1->table_index, pt1->buf_index); in pt1_filter()
328 page = pt1->tables[pt1->table_index].bufs[pt1->buf_index].page; in pt1_thread()
334 if (++pt1->buf_index >= PT1_NR_BUFS) { in pt1_thread()
336 pt1->buf_index = 0; in pt1_thread()
/drivers/media/platform/s3c-camif/
Dcamif-core.h222 unsigned int buf_index; member
Dcamif-capture.c506 buf->index = vp->buf_index; in buffer_queue()
512 vp->buf_index = !vp->buf_index; in buffer_queue()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c749 int count, buf_index, tot_bytes, packets; in pasemi_mac_clean_rx() local
782 buf_index = eval-1; in pasemi_mac_clean_rx()
785 info = &RX_DESC_INFO(rx, buf_index); in pasemi_mac_clean_rx()
831 RX_BUFF(rx, buf_index) = 0; in pasemi_mac_clean_rx()