Home
last modified time | relevance | path

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

/drivers/net/hamradio/
Dmkiss.c57 int rcount; /* received chars counter */ member
253 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
265 ax->rcount -= 2; in ax_bump()
268 if (check_crc_flex(ax->rbuff, ax->rcount) < 0) { in ax_bump()
279 ax->rcount -= 2; in ax_bump()
291 count = ax->rcount; in ax_bump()
317 if (!test_and_clear_bit(AXF_ERROR, &ax->flags) && (ax->rcount > 2)) in kiss_unesc()
321 ax->rcount = 0; in kiss_unesc()
339 if (ax->rcount < ax->buffsize) { in kiss_unesc()
340 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()
611 sp->rcount = 0; in sixpack_open()
983 sp->rcount = sp->rx_count_cooked-2; in decode_std_command()
/drivers/isdn/mISDN/
Dhwchannel.c54 bch->rcount--; in bchannel_bh()
99 ch->rcount = 0; in mISDN_initbchannel()
152 ch->rcount = 0; in mISDN_clear_bchannel()
278 if (bch->rcount >= 64) { in recv_Bchannel()
284 bch->rcount++; in recv_Bchannel()
303 if (bch->rcount >= 64) { in recv_Bchannel_skb()
307 bch->rcount = 0; in recv_Bchannel_skb()
309 bch->rcount++; in recv_Bchannel_skb()
351 if (bch->rcount >= 64) { in confirm_Bsend()
355 bch->rcount = 0; in confirm_Bsend()
[all …]
/drivers/net/wan/
Dx25_asy.c153 if (sl->rcount) { in x25_asy_change_mtu()
154 if (sl->rcount <= len) { in x25_asy_change_mtu()
155 memcpy(sl->rbuff, rbuff, sl->rcount); in x25_asy_change_mtu()
157 sl->rcount = 0; in x25_asy_change_mtu()
198 count = sl->rcount; in x25_asy_bump()
483 sl->rcount = 0; in x25_asy_open()
515 sl->rcount = 0; in x25_asy_close()
665 sl->rcount >= 2) in x25_asy_unesc()
668 sl->rcount = 0; in x25_asy_unesc()
680 if (sl->rcount < sl->buffsize) { in x25_asy_unesc()
[all …]
Dx25_asy.h27 int rcount; /* received chars counter */ member
/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;
544 sl->rcount = 0;
974 (sl->rcount > 2))
977 sl->rcount = 0;
993 if (sl->rcount < sl->buffsize) {
[all …]
Dslip.h65 int rcount; /* received chars counter */ member
/drivers/net/can/
Dslcan.c90 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()
401 sl->rcount = 0; in slc_close()
600 sl->rcount = 0; in slcan_open()
/drivers/regulator/
Dmax8925-regulator.c251 int rcount; in max8925_regulator_dt_init() local
262 rcount = of_regulator_match(&pdev->dev, np, in max8925_regulator_dt_init()
265 if (rcount < 0) in max8925_regulator_dt_init()
266 return rcount; in max8925_regulator_dt_init()
/drivers/spi/
Dspi-davinci.c128 int rcount; member
527 if (dspi->rcount > 0 && !(buf & SPIBUF_RXEMPTY_MASK)) { in davinci_spi_process_events()
529 dspi->rcount--; in davinci_spi_process_events()
555 dspi->rcount = 0; in davinci_spi_dma_rx_callback()
557 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_rx_callback()
567 if (!dspi->wcount && !dspi->rcount) in davinci_spi_dma_tx_callback()
604 dspi->rcount = dspi->wcount; in davinci_spi_bufs()
708 while (dspi->rcount > 0 || dspi->wcount > 0) { in davinci_spi_bufs()
741 if (dspi->rcount != 0 || dspi->wcount != 0) { in davinci_spi_bufs()
791 if ((!dspi->rcount && !dspi->wcount) || status) in davinci_spi_irq()