Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/hamradio/
Dmkiss.c47 int rcount; /* received chars counter */ member
243 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
255 ax->rcount -= 2; in ax_bump()
258 if (check_crc_flex(ax->rbuff, ax->rcount) < 0) { in ax_bump()
269 ax->rcount -= 2; in ax_bump()
281 count = ax->rcount; in ax_bump()
307 if (!test_and_clear_bit(AXF_ERROR, &ax->flags) && (ax->rcount > 2)) in kiss_unesc()
311 ax->rcount = 0; in kiss_unesc()
329 if (ax->rcount < ax->buffsize) { in kiss_unesc()
330 ax->rbuff[ax->rcount++] = s; in kiss_unesc()
[all …]
D6pack.c92 int rcount; /* received chars counter */ member
343 count = sp->rcount + 1; in sp_bump()
598 sp->rcount = 0; in sixpack_open()
934 sp->rcount = sp->rx_count_cooked-2; in decode_std_command()
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/wan/
Dx25_asy.c150 if (sl->rcount) { in x25_asy_change_mtu()
151 if (sl->rcount <= len) { in x25_asy_change_mtu()
152 memcpy(sl->rbuff, rbuff, sl->rcount); in x25_asy_change_mtu()
154 sl->rcount = 0; in x25_asy_change_mtu()
195 count = sl->rcount; in x25_asy_bump()
485 sl->rcount = 0; in x25_asy_open()
511 sl->rcount = 0; in x25_asy_close()
657 sl->rcount >= 2) in x25_asy_unesc()
660 sl->rcount = 0; in x25_asy_unesc()
672 if (sl->rcount < sl->buffsize) { in x25_asy_unesc()
[all …]
Dx25_asy.h28 int rcount; /* received chars counter */ member
/Linux-v5.10/drivers/net/slip/
Dslip.c178 sl->rcount = 0; in sl_alloc_bufs()
278 if (sl->rcount) {
279 if (sl->rcount <= len) {
280 memcpy(sl->rbuff, rbuff, sl->rcount);
282 sl->rcount = 0;
325 count = sl->rcount;
541 sl->rcount = 0;
967 (sl->rcount > 2))
970 sl->rcount = 0;
986 if (sl->rcount < sl->buffsize) {
[all …]
Dslip.h66 int rcount; /* received chars counter */ member
/Linux-v5.10/drivers/net/can/
Dslcan.c91 int rcount; /* received chars counter */ member
230 (sl->rcount > 4)) { in slcan_unesc()
233 sl->rcount = 0; in slcan_unesc()
236 if (sl->rcount < SLC_MTU) { in slcan_unesc()
237 sl->rbuff[sl->rcount++] = s; in slcan_unesc()
398 sl->rcount = 0; in slc_close()
601 sl->rcount = 0; in slcan_open()
/Linux-v5.10/drivers/spi/
Dspi-davinci.c117 int rcount; member
519 if (dspi->rcount > 0 && !(buf & SPIBUF_RXEMPTY_MASK)) { in davinci_spi_process_events()
521 dspi->rcount--; in davinci_spi_process_events()
547 dspi->rcount = 0; in davinci_spi_dma_rx_callback()
549 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
559 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
593 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
674 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
700 if (dspi->rcount != 0 || dspi->wcount != 0) { in davinci_spi_bufs()
744 if ((!dspi->rcount && !dspi->wcount) || status) in davinci_spi_irq()
/Linux-v5.10/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-v5.10/arch/mips/include/asm/mach-rc32434/
Dtimer.h45 u32 rcount; /* use RCOUNT_ */ member
/Linux-v5.10/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-v5.10/fs/jbd2/
Drecovery.c902 __u32 rcount; in scan_revoke_records() local
907 rcount = be32_to_cpu(header->r_count); in scan_revoke_records()
911 if (rcount > journal->j_blocksize - csum_size) in scan_revoke_records()
913 max = rcount; in scan_revoke_records()
/Linux-v5.10/include/linux/
DmISDNhw.h162 int rcount; member
/Linux-v5.10/drivers/i2c/busses/
Di2c-npcm7xx.c1293 int rcount; in npcm_i2c_master_fifo_read() local
1298 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1307 if (rcount < (2 * I2C_HW_FIFO_SIZE) && rcount > I2C_HW_FIFO_SIZE) in npcm_i2c_master_fifo_read()
1308 fifo_bytes = rcount - I2C_HW_FIFO_SIZE; in npcm_i2c_master_fifo_read()
1310 if (rcount <= fifo_bytes) { in npcm_i2c_master_fifo_read()
1320 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1321 npcm_i2c_set_fifo(bus, rcount, -1); in npcm_i2c_master_fifo_read()
/Linux-v5.10/include/soc/fsl/qe/
Dqe.h610 __be16 rcount; /* Rx internal byte count */ member