Searched refs:fifo_bytes (Results 1 – 1 of 1) sorted by relevance
717 u8 fifo_bytes; in trf7970a_fill_fifo() local720 ret = trf7970a_read(trf, TRF7970A_FIFO_STATUS, &fifo_bytes); in trf7970a_fill_fifo()726 dev_dbg(trf->dev, "Filling FIFO - fifo_bytes: 0x%x\n", fifo_bytes); in trf7970a_fill_fifo()728 fifo_bytes &= ~TRF7970A_FIFO_STATUS_OVERFLOW; in trf7970a_fill_fifo()731 len = TRF7970A_FIFO_SIZE - fifo_bytes; in trf7970a_fill_fifo()751 u8 fifo_bytes; in trf7970a_drain_fifo() local758 ret = trf7970a_read(trf, TRF7970A_FIFO_STATUS, &fifo_bytes); in trf7970a_drain_fifo()764 dev_dbg(trf->dev, "Draining FIFO - fifo_bytes: 0x%x\n", fifo_bytes); in trf7970a_drain_fifo()766 fifo_bytes &= ~TRF7970A_FIFO_STATUS_OVERFLOW; in trf7970a_drain_fifo()768 if (!fifo_bytes) in trf7970a_drain_fifo()[all …]