Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
342 count = sp->rcount + 1; in sp_bump()
597 sp->rcount = 0; in sixpack_open()
941 sp->rcount = sp->rx_count_cooked-2; in decode_std_command()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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;
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
603 sl->rcount = 0; in slcan_open()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-davinci.c117 int rcount; member
513 if (dspi->rcount > 0 && !(buf & SPIBUF_RXEMPTY_MASK)) { in davinci_spi_process_events()
515 dspi->rcount--; in davinci_spi_process_events()
541 dspi->rcount = 0; in davinci_spi_dma_rx_callback()
543 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
553 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
587 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
668 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
694 if (dspi->rcount != 0 || dspi->wcount != 0) { in davinci_spi_bufs()
738 if ((!dspi->rcount && !dspi->wcount) || status) in davinci_spi_irq()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-rc32434/
Dtimer.h45 u32 rcount; /* use RCOUNT_ */ member
/kernel/linux/linux-5.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,
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
DmISDNhw.h162 int rcount; member
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-npcm7xx.c1299 int rcount; in npcm_i2c_master_fifo_read() local
1304 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1313 if (rcount < (2 * I2C_HW_FIFO_SIZE) && rcount > I2C_HW_FIFO_SIZE) in npcm_i2c_master_fifo_read()
1314 fifo_bytes = rcount - I2C_HW_FIFO_SIZE; in npcm_i2c_master_fifo_read()
1316 if (rcount <= fifo_bytes) { in npcm_i2c_master_fifo_read()
1326 rcount = bus->rd_size - bus->rd_ind; in npcm_i2c_master_fifo_read()
1327 npcm_i2c_set_fifo(bus, rcount, -1); in npcm_i2c_master_fifo_read()
/kernel/linux/linux-5.10/include/soc/fsl/qe/
Dqe.h610 __be16 rcount; /* Rx internal byte count */ member
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c683 size_t rcount; in fatfs_read() local
693 result = f_read(fp, buff, count, &rcount); in fatfs_read()
700 return rcount; in fatfs_read()