Home
last modified time | relevance | path

Searched refs:read_off (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/media/v4l2-core/
Dvideobuf-core.c839 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-5.19.10/drivers/hid/
Dhid-ft260.c517 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-5.19.10/include/media/
Dvideobuf-core.h155 unsigned int read_off; member
/linux-5.19.10/drivers/media/pci/bt8xx/
Dbttv-driver.c2936 fh->cap.read_off = 0; in bttv_poll()