/kernel/linux/linux-5.10/drivers/misc/mei/ |
D | interrupt.c | 169 buf_sz = length + cb->buf_idx; in mei_cl_irq_read_msg() 171 if (buf_sz < cb->buf_idx) { in mei_cl_irq_read_msg() 173 length, cb->buf_idx); in mei_cl_irq_read_msg() 180 cb->buf.size, length, cb->buf_idx); in mei_cl_irq_read_msg() 186 mei_dma_ring_read(dev, cb->buf.data + cb->buf_idx, length); in mei_cl_irq_read_msg() 188 mei_read_slots(dev, cb->buf.data + cb->buf_idx, 0); in mei_cl_irq_read_msg() 190 mei_read_slots(dev, cb->buf.data + cb->buf_idx, length); in mei_cl_irq_read_msg() 193 cb->buf_idx += length; in mei_cl_irq_read_msg() 196 cl_dbg(dev, cl, "completed read length = %zu\n", cb->buf_idx); in mei_cl_irq_read_msg() 275 cb->buf_idx = 0; in mei_cl_irq_read()
|
D | client.c | 400 cb->buf_idx = 0; in mei_io_cb_init() 1752 is_vtag = (cb->vtag && cb->buf_idx == 0); in mei_msg_hdr_init() 1822 first_chunk = cb->buf_idx == 0; in mei_cl_irq_write() 1833 buf_len = buf->size - cb->buf_idx; in mei_cl_irq_write() 1834 data = buf->data + cb->buf_idx; in mei_cl_irq_write() 1884 mei_dma_ring_write(dev, buf->data + cb->buf_idx, buf_len); in mei_cl_irq_write() 1892 cb->buf_idx += buf_len; in mei_cl_irq_write() 1962 cb->buf_idx = 0; in mei_cl_write() 2036 cb->buf_idx = buf_len; in mei_cl_write()
|
D | main.c | 248 cb->buf.size, cb->buf_idx, *offset); in mei_read() 249 if (*offset >= cb->buf_idx) { in mei_read() 256 length = min_t(size_t, length, cb->buf_idx - *offset); in mei_read() 267 if (*offset < cb->buf_idx) in mei_read()
|
/kernel/linux/linux-5.10/drivers/media/pci/pt3/ |
D | pt3_i2c.c | 47 int buf_idx; in cmdbuf_add() local 53 buf_idx = cbuf->num_cmds / 2; in cmdbuf_add() 54 if (buf_idx < ARRAY_SIZE(cbuf->data)) in cmdbuf_add() 55 cbuf->data[buf_idx] = cbuf->tmp; in cmdbuf_add()
|
D | pt3_dma.c | 77 idx = adap->buf_idx; in pt3_proc_dma() 86 p = &adap->buffer[adap->buf_idx].data[adap->buf_ofs]; in pt3_proc_dma() 99 adap->buf_idx = idx; in pt3_proc_dma() 123 adap->buf_idx = 0; in pt3_init_dmabuf()
|
D | pt3.h | 129 int buf_idx; member
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_h264.c | 114 int buf_idx; in cedrus_write_frame_list() local 119 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); in cedrus_write_frame_list() 120 if (buf_idx < 0) in cedrus_write_frame_list() 123 cedrus_buf = vb2_to_cedrus_buffer(cap_q->bufs[buf_idx]); in cedrus_write_frame_list() 189 int buf_idx; in _cedrus_write_ref_list() local 198 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); in _cedrus_write_ref_list() 199 if (buf_idx < 0) in _cedrus_write_ref_list() 202 cedrus_buf = vb2_to_cedrus_buffer(cap_q->bufs[buf_idx]); in _cedrus_write_ref_list()
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
D | client.c | 486 rb->buf_idx = 0; in ishtp_cl_read_start() 866 if (rb->buffer.size < ishtp_hdr->length + rb->buf_idx) { in recv_ishtp_cl_msg() 871 rb->buf_idx); in recv_ishtp_cl_msg() 878 buffer = rb->buffer.data + rb->buf_idx; in recv_ishtp_cl_msg() 881 rb->buf_idx += ishtp_hdr->length; in recv_ishtp_cl_msg() 901 new_rb->buf_idx = 0; in recv_ishtp_cl_msg() 992 rb->buffer.size, hbm->msg_length, rb->buf_idx); in recv_ishtp_cl_msg_dma() 1001 rb->buf_idx = hbm->msg_length; in recv_ishtp_cl_msg_dma() 1021 new_rb->buf_idx = 0; in recv_ishtp_cl_msg_dma()
|
D | client-buffers.c | 192 rb->buf_idx = 0; in ishtp_io_rb_init()
|
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
D | codec_mpeg12.c | 58 static void codec_mpeg12_recycle(struct amvdec_core *core, u32 buf_idx) in codec_mpeg12_recycle() argument 60 amvdec_write_dos(core, MREG_BUFFERIN, buf_idx + 1); in codec_mpeg12_recycle()
|
D | codec_h264.c | 154 static void codec_h264_recycle(struct amvdec_core *core, u32 buf_idx) in codec_h264_recycle() argument 161 amvdec_write_dos(core, AV_SCRATCH_7, buf_idx + 1); in codec_h264_recycle() 163 amvdec_write_dos(core, AV_SCRATCH_8, buf_idx + 1); in codec_h264_recycle()
|
D | vdec_helpers.h | 42 void amvdec_dst_buf_done_idx(struct amvdec_session *sess, u32 buf_idx,
|
D | vdec_helpers.c | 403 u32 buf_idx, u32 offset, u32 field) in amvdec_dst_buf_done_idx() argument 409 sess->fw_idx_to_vb2_idx[buf_idx]); in amvdec_dst_buf_done_idx() 414 buf_idx); in amvdec_dst_buf_done_idx()
|
D | vdec.h | 135 void (*recycle)(struct amvdec_core *core, u32 buf_idx);
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | at91-sama5d2_adc.c | 365 int buf_idx; member 785 if (i >= st->dma_st.buf_idx) in at91_adc_dma_size_done() 786 size = i - st->dma_st.buf_idx; in at91_adc_dma_size_done() 788 size = st->dma_st.rx_buf_sz + i - st->dma_st.buf_idx; in at91_adc_dma_size_done() 811 st->dma_st.buf_idx = 0; in at91_adc_dma_start() 1117 &st->dma_st.rx_buf[st->dma_st.buf_idx], in at91_adc_trigger_handler_dma() 1121 (st->dma_st.rx_buf + st->dma_st.buf_idx), in at91_adc_trigger_handler_dma() 1126 st->dma_st.buf_idx += sample_size; in at91_adc_trigger_handler_dma() 1128 if (st->dma_st.buf_idx >= st->dma_st.rx_buf_sz) in at91_adc_trigger_handler_dma() 1129 st->dma_st.buf_idx = 0; in at91_adc_trigger_handler_dma()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_rxtx.c | 265 static int prestera_sdma_next_rx_buf_idx(int buf_idx) in prestera_sdma_next_rx_buf_idx() argument 267 return (buf_idx + 1) % PRESTERA_SDMA_RX_DESC_PER_Q; in prestera_sdma_next_rx_buf_idx() 292 int buf_idx = ring->next_rx; in prestera_sdma_rx_poll() local 295 buf = &ring->bufs[buf_idx]; in prestera_sdma_rx_poll() 318 ring->next_rx = prestera_sdma_next_rx_buf_idx(buf_idx); in prestera_sdma_rx_poll()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | lcs.c | 244 card->read.buf_idx = 0; in lcs_setup_read_ccws() 291 card->write.buf_idx = 0; in lcs_setup_write_ccws() 1451 int buf_idx; in lcs_tasklet() local 1458 buf_idx = channel->buf_idx; in lcs_tasklet() 1459 while (iob[buf_idx].state == LCS_BUF_STATE_PROCESSED) { in lcs_tasklet() 1461 if (iob[buf_idx].callback != NULL) in lcs_tasklet() 1462 iob[buf_idx].callback(channel, iob + buf_idx); in lcs_tasklet() 1463 buf_idx = (buf_idx + 1) & (LCS_NUM_BUFFS - 1); in lcs_tasklet() 1465 channel->buf_idx = buf_idx; in lcs_tasklet()
|
D | lcs.h | 296 int buf_idx; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | intel-ish-client-if.h | 66 unsigned long buf_idx; member
|
/kernel/linux/linux-5.10/drivers/net/can/spi/ |
D | mcp251x.c | 669 int buf_idx) in mcp251x_hw_rx_frame() argument 677 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 681 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 683 priv->spi_tx_buf[RXBCTRL_OFF] = INSTRUCTION_READ_RXB(buf_idx); in mcp251x_hw_rx_frame() 697 static void mcp251x_hw_rx(struct spi_device *spi, int buf_idx) in mcp251x_hw_rx() argument 711 mcp251x_hw_rx_frame(spi, buf, buf_idx); in mcp251x_hw_rx()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 987 int buf_idx; in fsl_get_inb_message() local 997 buf_idx = (phys_buf - rmu->msg_rx_ring.phys) / RIO_MAX_MSG_SIZE; in fsl_get_inb_message() 998 buf = rmu->msg_rx_ring.virt_buffer[buf_idx]; in fsl_get_inb_message() 1010 rmu->msg_rx_ring.virt_buffer[buf_idx] = NULL; in fsl_get_inb_message()
|
/kernel/linux/linux-5.10/drivers/char/xillybus/ |
D | xillybus_core.c | 1566 int buf_idx; in xillybus_release() local 1615 buf_idx = channel->wr_fpga_buf_idx; in xillybus_release() 1627 buf_idx++; in xillybus_release() 1628 if (buf_idx == channel->num_wr_buffers) in xillybus_release() 1629 buf_idx = 0; in xillybus_release() 1631 if (buf_idx == eof) in xillybus_release()
|
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/ |
D | rkvdec-h264.c | 864 int buf_idx = -1; in get_ref_buf() local 867 buf_idx = vb2_find_timestamp(cap_q, in get_ref_buf() 874 if (buf_idx < 0) in get_ref_buf() 877 return vb2_get_buffer(cap_q, buf_idx); in get_ref_buf()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | radeon_drm.h | 170 unsigned char cmd_type, buf_idx, pad0, pad1; member 216 unsigned char cmd_type, buf_idx, pad0, pad1; member
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | radeon_drm.h | 206 unsigned char cmd_type, buf_idx, pad0, pad1; member 270 unsigned char cmd_type, buf_idx, pad0, pad1; member
|