Lines Matching refs:status
217 * Can be expanded in the future if more interrupt status bits are utilized
320 (struct bcm_iproc_i2c_dev *iproc_i2c, u32 status)
325 /* check slave transmit status only if slave is transmitting */
328 /* status is valid only when START_BUSY is cleared */
343 if ((status & BIT(IS_S_RX_EVENT_SHIFT)) &&
344 (status & BIT(IS_S_START_BUSY_SHIFT))) {
436 u32 status)
442 if (status & BIT(IS_S_TX_UNDERRUN_SHIFT)) {
466 if (status & BIT(IS_S_START_BUSY_SHIFT)) {
496 if (bcm_iproc_i2c_check_slave_status(iproc_i2c, status))
514 if (status & BIT(IS_S_RX_EVENT_SHIFT) ||
515 status & BIT(IS_S_RD_EVENT_SHIFT) ||
516 status & BIT(IS_S_RX_FIFO_FULL_SHIFT)) {
522 if (status & BIT(IS_S_RD_EVENT_SHIFT))
533 if (status & BIT(IS_S_RX_FIFO_FULL_SHIFT)) {
632 u32 status)
635 if (status & BIT(IS_M_TX_UNDERRUN_SHIFT))
639 if (status & BIT(IS_M_RX_THLD_SHIFT))
643 if (status & BIT(IS_M_START_BUSY_SHIFT)) {
654 u32 status;
657 status = iproc_i2c_rd_reg(iproc_i2c, IS_OFFSET);
659 slave_status = status & iproc_i2c_rd_reg(iproc_i2c, IE_OFFSET) &
670 status &= ISR_MASK;
671 if (!status)
675 bcm_iproc_i2c_process_m_event(iproc_i2c, status);
676 iproc_i2c_wr_reg(iproc_i2c, IS_OFFSET, status);
779 u32 val, status;
798 status = iproc_i2c_rd_reg(iproc_i2c,
800 bcm_iproc_i2c_process_m_event(iproc_i2c, status);
801 iproc_i2c_wr_reg(iproc_i2c, IS_OFFSET, status);