Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-st.c418 u32 tx_fstat, sta; in st_i2c_wr_fill_tx_fifo() local
425 tx_fstat = readl_relaxed(i2c_dev->base + SSC_TX_FSTAT); in st_i2c_wr_fill_tx_fifo()
426 tx_fstat &= SSC_TX_FSTAT_STATUS; in st_i2c_wr_fill_tx_fifo()
428 if (c->count < (SSC_TXFIFO_SIZE - tx_fstat)) in st_i2c_wr_fill_tx_fifo()
431 i = SSC_TXFIFO_SIZE - tx_fstat; in st_i2c_wr_fill_tx_fifo()
448 u32 tx_fstat, sta; in st_i2c_rd_fill_tx_fifo() local
455 tx_fstat = readl_relaxed(i2c_dev->base + SSC_TX_FSTAT); in st_i2c_rd_fill_tx_fifo()
456 tx_fstat &= SSC_TX_FSTAT_STATUS; in st_i2c_rd_fill_tx_fifo()
458 if (max < (SSC_TXFIFO_SIZE - tx_fstat)) in st_i2c_rd_fill_tx_fifo()
461 i = SSC_TXFIFO_SIZE - tx_fstat; in st_i2c_rd_fill_tx_fifo()