r_pointer 183 drivers/media/rc/ene_ir.c dev->r_pointer = dev->w_pointer; r_pointer 223 drivers/media/rc/ene_ir.c if (dev->r_pointer > dev->buffer_len) r_pointer 266 drivers/media/rc/ene_ir.c dev->w_pointer, dev->r_pointer); r_pointer 272 drivers/media/rc/ene_ir.c int r_pointer; r_pointer 274 drivers/media/rc/ene_ir.c if (dev->r_pointer == dev->w_pointer) { r_pointer 279 drivers/media/rc/ene_ir.c if (dev->r_pointer == dev->w_pointer) { r_pointer 280 drivers/media/rc/ene_ir.c dbg_verbose("RB: end of data at %d", dev->r_pointer); r_pointer 284 drivers/media/rc/ene_ir.c dbg_verbose("RB: reading at offset %d", dev->r_pointer); r_pointer 285 drivers/media/rc/ene_ir.c r_pointer = dev->r_pointer; r_pointer 287 drivers/media/rc/ene_ir.c dev->r_pointer++; r_pointer 288 drivers/media/rc/ene_ir.c if (dev->r_pointer == dev->buffer_len) r_pointer 289 drivers/media/rc/ene_ir.c dev->r_pointer = 0; r_pointer 291 drivers/media/rc/ene_ir.c dbg_verbose("RB: next read will be from offset %d", dev->r_pointer); r_pointer 293 drivers/media/rc/ene_ir.c if (r_pointer < 8) { r_pointer 294 drivers/media/rc/ene_ir.c dbg_verbose("RB: read at main buffer at %d", r_pointer); r_pointer 295 drivers/media/rc/ene_ir.c return ENE_FW_SAMPLE_BUFFER + r_pointer; r_pointer 298 drivers/media/rc/ene_ir.c r_pointer -= 8; r_pointer 300 drivers/media/rc/ene_ir.c if (r_pointer < dev->extra_buf1_len) { r_pointer 301 drivers/media/rc/ene_ir.c dbg_verbose("RB: read at 1st extra buffer at %d", r_pointer); r_pointer 302 drivers/media/rc/ene_ir.c return dev->extra_buf1_address + r_pointer; r_pointer 305 drivers/media/rc/ene_ir.c r_pointer -= dev->extra_buf1_len; r_pointer 307 drivers/media/rc/ene_ir.c if (r_pointer < dev->extra_buf2_len) { r_pointer 308 drivers/media/rc/ene_ir.c dbg_verbose("RB: read at 2nd extra buffer at %d", r_pointer); r_pointer 309 drivers/media/rc/ene_ir.c return dev->extra_buf2_address + r_pointer; r_pointer 759 drivers/media/rc/ene_ir.c dev->r_pointer = dev->w_pointer == 0 ? ENE_FW_PACKET_SIZE : 0; r_pointer 795 drivers/media/rc/ene_ir.c dev->r_pointer = dev->w_pointer; r_pointer 206 drivers/media/rc/ene_ir.h int r_pointer; /* pointer to next sample to read */