Home
last modified time | relevance | path

Searched refs:rcount (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/net/hamradio/
Dmkiss.c49 int rcount; /* received chars counter */ member
245 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
257 ax->rcount -= 2; in ax_bump()
260 if (check_crc_flex(ax->rbuff, ax->rcount) < 0) { in ax_bump()
271 ax->rcount -= 2; in ax_bump()
283 count = ax->rcount; in ax_bump()
309 if (!test_and_clear_bit(AXF_ERROR, &ax->flags) && (ax->rcount > 2)) in kiss_unesc()
313 ax->rcount = 0; in kiss_unesc()
331 if (ax->rcount < ax->buffsize) { in kiss_unesc()
332 ax->rbuff[ax->rcount++] = s; in kiss_unesc()
[all …]
D6pack.c92 int rcount; /* received chars counter */ member
338 count = sp->rcount + 1; in sp_bump()
594 sp->rcount = 0; in sixpack_open()
932 sp->rcount = sp->rx_count_cooked-2; in decode_std_command()
/linux-6.6.21/drivers/isdn/mISDN/
Dhwchannel.c45 bch->rcount--; in bchannel_bh()
90 ch->rcount = 0; in mISDN_initbchannel()
143 ch->rcount = 0; in mISDN_clear_bchannel()
269 if (bch->rcount >= 64) { in recv_Bchannel()
275 bch->rcount++; in recv_Bchannel()
294 if (bch->rcount >= 64) { in recv_Bchannel_skb()
298 bch->rcount = 0; in recv_Bchannel_skb()
300 bch->rcount++; in recv_Bchannel_skb()
342 if (bch->rcount >= 64) { in confirm_Bsend()
346 bch->rcount = 0; in confirm_Bsend()
[all …]
/linux-6.6.21/scripts/
Dget_dvb_firmware529 my ($chunklength, $buf, $rcount);
544 $rcount = sysread(INFILE, $buf, $chunklength);
545 die "Ran out of data\n" if ($rcount != $chunklength);
548 $fwlength -= $rcount + 8;
870 my ($chunklength, $buf, $rcount);
880 $rcount = sysread(INFILE, $buf, $chunklength);
881 die "Ran out of data\n" if ($rcount != $chunklength);
883 $length -= $rcount;
895 $rcount = sysread(INFILE, $buf, 2048);
896 last if ($rcount == 0);
[all …]
Dextract_xc3028.pl47 my ($chunklength, $buf, $rcount, $out);
55 $rcount = sysread(INFILE, $buf, $chunklength);
56 die "Ran out of data\n" if ($rcount != $chunklength);
58 $length -= $rcount;
/linux-6.6.21/drivers/net/slip/
Dslip.c179 sl->rcount = 0; in sl_alloc_bufs()
279 if (sl->rcount) {
280 if (sl->rcount <= len) {
281 memcpy(sl->rbuff, rbuff, sl->rcount);
283 sl->rcount = 0;
326 count = sl->rcount;
542 sl->rcount = 0;
967 (sl->rcount > 2))
970 sl->rcount = 0;
986 if (sl->rcount < sl->buffsize) {
[all …]
Dslip.h68 int rcount; /* received chars counter */ member
/linux-6.6.21/drivers/net/can/slcan/
Dslcan-core.c91 int rcount; /* received chars counter */ member
284 if (state == sl->can.state || sl->rcount < SLCAN_STATE_FRAME_LEN) in slcan_bump_state()
338 if ((len + SLCAN_CMD_LEN + 1) > sl->rcount) in slcan_bump_err()
460 sl->rcount > 4) in slcan_unesc()
463 sl->rcount = 0; in slcan_unesc()
466 if (sl->rcount < SLCAN_MTU) { in slcan_unesc()
467 sl->rbuff[sl->rcount++] = s; in slcan_unesc()
675 sl->rcount = 0; in slcan_netdev_close()
823 sl->rcount = 0; in slcan_open()
/linux-6.6.21/drivers/spi/
Dspi-davinci.c116 int rcount; member
512 if (dspi->rcount > 0 && !(buf & SPIBUF_RXEMPTY_MASK)) { in davinci_spi_process_events()
514 dspi->rcount--; in davinci_spi_process_events()
540 dspi->rcount = 0; in davinci_spi_dma_rx_callback()
542 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
552 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
586 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
667 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
693 if (dspi->rcount != 0 || dspi->wcount != 0) { in davinci_spi_bufs()
737 if ((!dspi->rcount && !dspi->wcount) || status) in davinci_spi_irq()
/linux-6.6.21/drivers/w1/slaves/
Dw1_ds28e17.c302 const u8 *wbuffer, size_t wcount, u8 *rbuffer, size_t rcount) in w1_f19_i2c_write_read() argument
309 if (wcount == 0 || rcount == 0) in w1_f19_i2c_write_read()
322 w1_buf[0] = rcount; in w1_f19_i2c_write_read()
329 if (w1_f19_i2c_busy_wait(sl, wcount + rcount + 2) < 0) in w1_f19_i2c_write_read()
341 return w1_read_block(sl->master, rbuffer, rcount); in w1_f19_i2c_write_read()
/linux-6.6.21/include/trace/events/
Dfilelock.h179 __field(int, rcount)
191 __entry->rcount = atomic_read(&inode->i_readcount);
200 __entry->i_ino, __entry->wcount, __entry->rcount,
/linux-6.6.21/arch/mips/include/asm/mach-rc32434/
Dtimer.h45 u32 rcount; /* use RCOUNT_ */ member
/linux-6.6.21/fs/jbd2/
Drecovery.c919 __u32 rcount; in scan_revoke_records() local
924 rcount = be32_to_cpu(header->r_count); in scan_revoke_records()
928 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
930 max = rcount; in scan_revoke_records()
/linux-6.6.21/include/linux/
DmISDNhw.h162 int rcount; member
/linux-6.6.21/drivers/i2c/busses/
Di2c-npcm7xx.c1317 int rcount; in npcm_i2c_master_fifo_read() local
1322 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1331 if (rcount < (2 * bus->data->fifo_size) && rcount > bus->data->fifo_size) in npcm_i2c_master_fifo_read()
1332 fifo_bytes = rcount - bus->data->fifo_size; in npcm_i2c_master_fifo_read()
1334 if (rcount <= fifo_bytes) { in npcm_i2c_master_fifo_read()
1344 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1345 npcm_i2c_set_fifo(bus, rcount, -1); in npcm_i2c_master_fifo_read()
/linux-6.6.21/include/soc/fsl/qe/
Dqe.h594 __be16 rcount; /* Rx internal byte count */ member