/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 101 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 D | rio500.c | 366 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 D | buffer_icap.c | 331 s32 read_count = 0; local 356 read_count++;
|
/drivers/net/ethernet/sfc/ |
H A D | tx.c | 84 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 D | net_driver.h | 194 * @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 D | farch.c | 843 tx_packets = ((tx_ev_desc_ptr - tx_queue->read_count) &
|
H A D | ef10.c | 1908 tx_descs = ((tx_ev_desc_ptr + 1 - tx_queue->read_count) &
|
/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 172 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 D | saa7134.h | 509 unsigned int read_count; member in struct:saa7134_dmasound
|
/drivers/clocksource/ |
H A D | sh_cmt.c | 87 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 D | em28xx-input.c | 55 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 D | ioc3_serial.c | 1397 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 D | ioc4_serial.c | 2344 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 D | osst.h | 584 int read_count; member in struct:osst_tape
|
H A D | osst.c | 1254 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 D | smscoreapi.h | 1053 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 D | synclink_cs.c | 833 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++) {
|