Searched refs:read_off (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/media/v4l2-core/ |
D | videobuf-core.c | 839 if (count > buf->size - q->read_off) in __videobuf_copy_to_user() 840 count = buf->size - q->read_off; in __videobuf_copy_to_user() 842 if (copy_to_user(data, vaddr + q->read_off, count)) in __videobuf_copy_to_user() 922 q->read_off = 0; in videobuf_read_one() 946 q->read_off += retval; in videobuf_read_one() 947 if (q->read_off == q->read_buf->size) { in videobuf_read_one() 1074 q->read_off = 0; in videobuf_read_stream() 1092 q->read_off += rc; in videobuf_read_stream() 1095 q->read_off = q->read_buf->size; in videobuf_read_stream() 1101 if (q->read_off == q->read_buf->size) { in videobuf_read_stream() [all …]
|
/Linux-v5.15/drivers/hid/ |
D | hid-ft260.c | 517 u16 read_off = 0; in ft260_i2c_write_read() local 526 memcpy(&read_off, msgs[0].buf, msgs[0].len); in ft260_i2c_write_read() 534 ft260_dbg("read_off %#x left_len %d len %d\n", read_off, in ft260_i2c_write_read() 537 ret = ft260_i2c_write(dev, addr, (u8 *)&read_off, msgs[0].len, in ft260_i2c_write_read() 549 read_off += len; in ft260_i2c_write_read()
|
/Linux-v5.15/include/media/ |
D | videobuf-core.h | 155 unsigned int read_off; member
|
/Linux-v5.15/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 2938 fh->cap.read_off = 0; in bttv_poll()
|