Lines Matching refs:sta
342 u32 sta; in st_i2c_wait_free_bus() local
346 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_wait_free_bus()
347 if (!(sta & SSC_STA_BUSY)) in st_i2c_wait_free_bus()
353 dev_err(i2c_dev->dev, "bus not free (status = 0x%08x)\n", sta); in st_i2c_wait_free_bus()
380 u32 tx_fstat, sta; in st_i2c_wr_fill_tx_fifo() local
383 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_wr_fill_tx_fifo()
384 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_wr_fill_tx_fifo()
409 u32 tx_fstat, sta; in st_i2c_rd_fill_tx_fifo() local
412 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_rd_fill_tx_fifo()
413 if (sta & SSC_STA_TX_FIFO_FULL) in st_i2c_rd_fill_tx_fifo()
431 u32 i, sta; in st_i2c_read_rx_fifo() local
434 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_read_rx_fifo()
435 if (sta & SSC_STA_RIR) { in st_i2c_read_rx_fifo()
533 u32 sta, ien; in st_i2c_isr_thread() local
537 sta = readl_relaxed(i2c_dev->base + SSC_STA); in st_i2c_isr_thread()
540 it = __fls(sta & ien); in st_i2c_isr_thread()
543 sta, ien); in st_i2c_isr_thread()
589 "it %d unhandled (sta=0x%04x)\n", it, sta); in st_i2c_isr_thread()