Searched refs:read_count (Results 1 - 17 of 17) sorted by relevance

/drivers/char/ipmi/
H A Dipmi_bt_sm.c101 int read_count; member in struct:si_sm_data
219 bt->read_count = 5;
273 msg_len = bt->read_count - 2; /* account for length & seq */
363 bt->read_count = bt->read_data[0];
365 if (bt->read_count < 4 || bt->read_count >= IPMI_MAX_MSG_LENGTH) {
368 bt->read_count);
372 for (i = 1; i <= bt->read_count; i++)
374 bt->read_count++; /* Account internally for length byte */
377 int max = bt->read_count;
[all...]
/drivers/usb/misc/
H A Drio500.c366 ssize_t read_count; local
385 read_count = 0;
391 return read_count ? read_count : -EINTR;
438 read_count += this_read;
443 return read_count;
/drivers/char/xilinx_hwicap/
H A Dbuffer_icap.c331 s32 read_count = 0; local
356 read_count++;
/drivers/net/ethernet/sfc/
H A Dtx.c84 tx_queue->queue, tx_queue->read_count);
150 * read_count (more likely to be a cache miss).
152 * If we read read_count and then conditionally stop the
156 * Therefore we stop the queue first, then read read_count
163 txq1->old_read_count = ACCESS_ONCE(txq1->read_count);
164 txq2->old_read_count = ACCESS_ONCE(txq2->read_count);
485 read_ptr = tx_queue->read_count & tx_queue->ptr_mask;
501 ++tx_queue->read_count;
502 read_ptr = tx_queue->read_count & tx_queue->ptr_mask;
626 * barrier ensures that we write read_count (insid
[all...]
H A Dnet_driver.h194 * @read_count: Current read pointer.
209 * @old_read_count: The value of read_count when last checked.
211 * only get the up-to-date value of read_count if this
223 * @read_count bitwise-added to %EFX_EMPTY_COUNT_VALID; otherwise 0.
240 unsigned int read_count ____cacheline_aligned_in_smp;
H A Dfarch.c843 tx_packets = ((tx_ev_desc_ptr - tx_queue->read_count) &
H A Def10.c1908 tx_descs = ((tx_ev_desc_ptr + 1 - tx_queue->read_count) &
/drivers/media/pci/saa7134/
H A Dsaa7134-alsa.c172 if (dev->dmasound.read_count >= dev->dmasound.blksize * (dev->dmasound.blocks-2)) {
173 dprintk("irq: overrun [full=%d/%d] - Blocks in %d\n",dev->dmasound.read_count,
188 next_blk * dev->dmasound.blksize, dev->dmasound.blocks, dev->dmasound.blksize, dev->dmasound.read_count);
192 dev->dmasound.read_count += dev->dmasound.blksize;
196 if (dev->dmasound.read_count >= snd_pcm_lib_period_bytes(dev->dmasound.substream)) {
620 if (dev->dmasound.read_count) {
621 dev->dmasound.read_count -= snd_pcm_lib_period_bytes(substream);
833 dev->dmasound.read_count = 0;
H A Dsaa7134.h509 unsigned int read_count; member in struct:saa7134_dmasound
/drivers/clocksource/
H A Dsh_cmt.c87 unsigned long (*read_count)(void __iomem *base, unsigned long offs); member in struct:sh_cmt_info
190 .read_count = sh_cmt_read16,
200 .read_count = sh_cmt_read32,
210 .read_count = sh_cmt_read32,
220 .read_count = sh_cmt_read32,
230 .read_count = sh_cmt_read32,
269 return ch->cmt->info->read_count(ch->ioctrl, CMCNT);
/drivers/media/usb/em28xx/
H A Dem28xx-input.c55 unsigned int read_count:7; member in struct:em28xx_ir_poll_result
206 poll_result->read_count = (msg[0] & 0x7f);
248 poll_result->read_count = (msg[0] & 0x7f);
326 if (unlikely(poll_result.read_count != ir->last_readcount)) {
328 poll_result.toggle_bit, poll_result.read_count,
350 ir->last_readcount = poll_result.read_count;
/drivers/tty/serial/
H A Dioc3_serial.c1397 int read_count = 0, read_room, flip = 0; local
1411 read_count = do_read(the_port, ch, MAX_CHARS);
1412 if (read_count > 0) {
1415 read_count);
1416 the_port->icount.rx += read_count;
1423 return read_count;
H A Dioc4_serial.c2344 int read_count, request_count = IOC4_MAX_CHARS; local
2359 read_count = do_read(the_port, ch, request_count);
2360 if (read_count > 0) {
2361 tty_insert_flip_string(&state->port, ch, read_count);
2362 icount->rx += read_count;
/drivers/scsi/
H A Dosst.h584 int read_count; member in struct:osst_tape
H A Dosst.c1254 STp->read_count++;
4904 if (STp->read_count)
4905 printk(" in %d frames read", STp->read_count);
4911 STp->read_count = 0;
/drivers/media/common/siano/
H A Dsmscoreapi.h1053 u32 read_count; /* number of bytes to read */ member in struct:sms_i2c_req
1059 u32 read_count; /* number of bytes read */ member in struct:sms_i2c_res
/drivers/char/pcmcia/
H A Dsynclink_cs.c833 unsigned char fifo_count, read_count, i; local
861 read_count = 1;
864 read_count = 2;
867 fifo_count -= read_count;
869 buf->status = data[--read_count];
871 for (i = 0; i < read_count; i++) {

Completed in 5211 milliseconds