Searched refs:fifocount (Results 1 - 2 of 2) sorted by relevance

/drivers/input/touchscreen/
H A Dti_am335x_tsc.c206 unsigned int fifocount = titsc_readl(ts_dev, REG_FIFO0CNT); local
214 if (fifocount % (creads * 2 + 2))
215 fifocount -= fifocount % (creads * 2 + 2);
224 for (i = 0; i < fifocount; i++) {
/drivers/media/rc/
H A Dnuvoton-cir.c675 u8 fifocount, val; local
681 fifocount = nvt_cir_reg_read(nvt, CIR_RXFCONT);
683 if (fifocount == 0xff)
686 else if (fifocount > RX_BUF_LEN) {
688 fifocount = RX_BUF_LEN;
691 nvt_dbg("attempting to fetch %u bytes from hw rx fifo", fifocount);
698 if (b_idx + fifocount > RX_BUF_LEN) {
703 /* Read fifocount bytes from CIR Sample RX FIFO register */
704 for (i = 0; i < fifocount; i++) {
709 nvt->pkts += fifocount;
[all...]

Completed in 459 milliseconds