Home
last modified time | relevance | path

Searched refs:fifo_bytes (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/nfc/
Dtrf7970a.c708 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 …]
/Linux-v6.6/drivers/iio/accel/
Dkionix-kx022a.c595 int count, fifo_bytes; in __kx022a_fifo_flush() local
600 ret = regmap_read(data->regmap, KX022A_REG_BUF_STATUS_1, &fifo_bytes); in __kx022a_fifo_flush()
607 if (fifo_bytes == KX022A_FIFO_FULL_VALUE) in __kx022a_fifo_flush()
608 fifo_bytes = KX022A_FIFO_MAX_BYTES; in __kx022a_fifo_flush()
610 if (fifo_bytes % KX022A_FIFO_SAMPLES_SIZE_BYTES) in __kx022a_fifo_flush()
613 count = fifo_bytes / KX022A_FIFO_SAMPLES_SIZE_BYTES; in __kx022a_fifo_flush()
671 fifo_bytes = count * KX022A_FIFO_SAMPLES_SIZE_BYTES; in __kx022a_fifo_flush()
673 &buffer[0], fifo_bytes); in __kx022a_fifo_flush()
/Linux-v6.6/sound/arm/
Daaci.h219 unsigned int fifo_bytes; member
Daaci.c223 unsigned int len = aacirun->fifo_bytes; in aaci_fifo_irq()
283 unsigned int len = aacirun->fifo_bytes; in aaci_fifo_irq()
528 aacirun->fifo_bytes = aaci->fifo_depth * 4 / 2; in aaci_pcm_hw_params()
/Linux-v6.6/drivers/i2c/busses/
Di2c-npcm7xx.c1318 int fifo_bytes; in npcm_i2c_master_fifo_read() local
1321 fifo_bytes = npcm_i2c_fifo_usage(bus); in npcm_i2c_master_fifo_read()
1332 fifo_bytes = rcount - bus->data->fifo_size; in npcm_i2c_master_fifo_read()
1334 if (rcount <= fifo_bytes) { in npcm_i2c_master_fifo_read()
1341 npcm_i2c_read_fifo(bus, fifo_bytes); in npcm_i2c_master_fifo_read()
1343 npcm_i2c_read_fifo(bus, fifo_bytes); in npcm_i2c_master_fifo_read()