/linux-master/mm/ |
H A D | mmap_lock.c | 46 local_t buf_idx; member in struct:memcg_path 50 .buf_idx = LOCAL_INIT(0), 145 idx = local_add_return(MEMCG_PATH_BUF_SIZE, &memcg_path->buf_idx) - 152 local_sub(MEMCG_PATH_BUF_SIZE, &this_cpu_ptr(&memcg_paths)->buf_idx);
|
/linux-master/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 47 int buf_idx; local 53 buf_idx = cbuf->num_cmds / 2; 54 if (buf_idx < ARRAY_SIZE(cbuf->data)) 55 cbuf->data[buf_idx] = cbuf->tmp;
|
H A D | pt3_dma.c | 77 idx = adap->buf_idx; 86 p = &adap->buffer[adap->buf_idx].data[adap->buf_ofs]; 99 adap->buf_idx = idx; 123 adap->buf_idx = 0;
|
H A D | pt3.h | 129 int buf_idx; member in struct:pt3_adapter
|
/linux-master/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.h | 38 * @buf_idx: hardware buffer index 42 void amvdec_dst_buf_done_idx(struct amvdec_session *sess, u32 buf_idx,
|
H A D | codec_mpeg12.c | 58 static void codec_mpeg12_recycle(struct amvdec_core *core, u32 buf_idx) argument 60 amvdec_write_dos(core, MREG_BUFFERIN, buf_idx + 1);
|
H A D | vdec.h | 137 void (*recycle)(struct amvdec_core *core, u32 buf_idx);
|
H A D | codec_h264.c | 154 static void codec_h264_recycle(struct amvdec_core *core, u32 buf_idx) argument 161 amvdec_write_dos(core, AV_SCRATCH_7, buf_idx + 1); 163 amvdec_write_dos(core, AV_SCRATCH_8, buf_idx + 1);
|
H A D | vdec_helpers.c | 407 u32 buf_idx, u32 offset, u32 field) 413 sess->fw_idx_to_vb2_idx[buf_idx]); 418 buf_idx); 406 amvdec_dst_buf_done_idx(struct amvdec_session *sess, u32 buf_idx, u32 offset, u32 field) argument
|
/linux-master/drivers/misc/mei/ |
H A D | interrupt.c | 202 buf_sz = length + cb->buf_idx; 204 if (buf_sz < cb->buf_idx) { 206 length, cb->buf_idx); 213 cb->buf.size, length, cb->buf_idx); 219 mei_dma_ring_read(dev, cb->buf.data + cb->buf_idx, length); 221 mei_read_slots(dev, cb->buf.data + cb->buf_idx, 0); 223 mei_read_slots(dev, cb->buf.data + cb->buf_idx, length); 226 cb->buf_idx += length; 229 cl_dbg(dev, cl, "completed read length = %zu\n", cb->buf_idx); 308 cb->buf_idx [all...] |
H A D | client.c | 402 cb->buf_idx = 0; 1777 is_vtag = (cb->vtag && cb->buf_idx == 0); 1862 first_chunk = cb->buf_idx == 0; 1874 buf_len = buf->size - cb->buf_idx; 1875 data = buf->data + cb->buf_idx; 1923 mei_dma_ring_write(dev, buf->data + cb->buf_idx, buf_len); 1931 cb->buf_idx += buf_len; 2004 cb->buf_idx = 0; 2075 cb->buf_idx = buf_len;
|
/linux-master/include/linux/ |
H A D | intel-ish-client-if.h | 65 * @buf_idx: Index into buffer 72 unsigned long buf_idx; member in struct:ishtp_cl_rb
|
/linux-master/drivers/hid/intel-ish-hid/ishtp/ |
H A D | client.c | 651 rb->buf_idx = 0; 1046 if (rb->buffer.size < ishtp_hdr->length + rb->buf_idx) { 1051 rb->buf_idx); 1058 buffer = rb->buffer.data + rb->buf_idx; 1061 rb->buf_idx += ishtp_hdr->length; 1081 new_rb->buf_idx = 0; 1172 rb->buffer.size, hbm->msg_length, rb->buf_idx); 1190 rb->buf_idx = hbm->msg_length; 1210 new_rb->buf_idx = 0;
|
H A D | client-buffers.c | 192 rb->buf_idx = 0;
|
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.h | 198 unsigned int t7xx_ring_buf_get_next_wr_idx(unsigned int buf_len, unsigned int buf_idx);
|
H A D | t7xx_hif_dpmaif.c | 35 unsigned int t7xx_ring_buf_get_next_wr_idx(unsigned int buf_len, unsigned int buf_idx) argument 37 buf_idx++; 39 return buf_idx < buf_len ? buf_idx : 0;
|
/linux-master/fs/bcachefs/ |
H A D | journal_types.h | 161 unsigned buf_idx; member in struct:journal_bio
|
/linux-master/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 125 unsigned buf_idx = 0; local 144 sqe->buf_index = buf_idx;
|
/linux-master/drivers/iio/imu/bno055/ |
H A D | bno055.c | 1372 * Reads len samples from the HW, stores them in buf starting from buf_idx, 1374 * Updates buf_idx incrementing with the number of stored samples. 1384 __le16 *buf, int *buf_idx) 1388 int buf_base = *buf_idx; 1425 dst = buf + *buf_idx; 1433 *buf_idx += n; 1447 int buf_idx = 0; local 1497 mask, priv->buf.chans, &buf_idx); 1514 mask, priv->buf.chans, &buf_idx); 1382 bno055_scan_xfer(struct bno055_priv *priv, int start_ch, int len, unsigned long mask, __le16 *buf, int *buf_idx) argument
|
/linux-master/drivers/s390/net/ |
H A D | lcs.c | 238 card->read.buf_idx = 0; 284 card->write.buf_idx = 0; 1445 int buf_idx; local 1452 buf_idx = channel->buf_idx; 1453 while (iob[buf_idx].state == LCS_BUF_STATE_PROCESSED) { 1455 if (iob[buf_idx].callback != NULL) 1456 iob[buf_idx].callback(channel, iob + buf_idx); 1457 buf_idx [all...] |
H A D | lcs.h | 296 int buf_idx; member in struct:lcs_channel
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 267 static int prestera_sdma_next_rx_buf_idx(int buf_idx) argument 269 return (buf_idx + 1) % PRESTERA_SDMA_RX_DESC_PER_Q; 294 int buf_idx = ring->next_rx; local 297 buf = &ring->bufs[buf_idx]; 320 ring->next_rx = prestera_sdma_next_rx_buf_idx(buf_idx);
|
/linux-master/drivers/char/xillybus/ |
H A D | xillybus_core.c | 1569 int buf_idx; local 1618 buf_idx = channel->wr_fpga_buf_idx; 1630 buf_idx++; 1631 if (buf_idx == channel->num_wr_buffers) 1632 buf_idx = 0; 1634 if (buf_idx == eof)
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 987 int buf_idx; local 997 buf_idx = (phys_buf - rmu->msg_rx_ring.phys) / RIO_MAX_MSG_SIZE; 998 buf = rmu->msg_rx_ring.virt_buffer[buf_idx]; 1010 rmu->msg_rx_ring.virt_buffer[buf_idx] = NULL;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ddp.h | 430 u32 buf_idx; member in struct:ice_pkg_enum
|