Searched refs:fifo_bytes (Results 1 – 2 of 2) sorted by relevance
/drivers/nfc/ |
D | trf7970a.c | 708 u8 fifo_bytes; in trf7970a_fill_fifo() local 711 ret = trf7970a_read(trf, TRF7970A_FIFO_STATUS, &fifo_bytes); in trf7970a_fill_fifo() 717 dev_dbg(trf->dev, "Filling FIFO - fifo_bytes: 0x%x\n", fifo_bytes); in trf7970a_fill_fifo() 719 fifo_bytes &= ~TRF7970A_FIFO_STATUS_OVERFLOW; in trf7970a_fill_fifo() 722 len = TRF7970A_FIFO_SIZE - fifo_bytes; in trf7970a_fill_fifo() 742 u8 fifo_bytes; in trf7970a_drain_fifo() local 749 ret = trf7970a_read(trf, TRF7970A_FIFO_STATUS, &fifo_bytes); in trf7970a_drain_fifo() 755 dev_dbg(trf->dev, "Draining FIFO - fifo_bytes: 0x%x\n", fifo_bytes); in trf7970a_drain_fifo() 757 fifo_bytes &= ~TRF7970A_FIFO_STATUS_OVERFLOW; in trf7970a_drain_fifo() 759 if (!fifo_bytes) in trf7970a_drain_fifo() [all …]
|
/drivers/i2c/busses/ |
D | i2c-npcm7xx.c | 1297 int fifo_bytes; in npcm_i2c_master_fifo_read() local 1300 fifo_bytes = npcm_i2c_fifo_usage(bus); in npcm_i2c_master_fifo_read() 1311 fifo_bytes = rcount - I2C_HW_FIFO_SIZE; in npcm_i2c_master_fifo_read() 1313 if (rcount <= fifo_bytes) { in npcm_i2c_master_fifo_read() 1320 npcm_i2c_read_fifo(bus, fifo_bytes); in npcm_i2c_master_fifo_read() 1322 npcm_i2c_read_fifo(bus, fifo_bytes); in npcm_i2c_master_fifo_read()
|