Searched refs:reg_stat (Results 1 – 7 of 7) sorted by relevance
731 u32 reg_stat; in pch_can_poll() local739 reg_stat = ioread32(&priv->regs->stat); in pch_can_poll()741 if ((reg_stat & (PCH_BUS_OFF | PCH_LEC_ALL)) && in pch_can_poll()742 ((reg_stat & PCH_LEC_ALL) != PCH_LEC_ALL)) { in pch_can_poll()743 pch_can_error(ndev, reg_stat); in pch_can_poll()747 if (reg_stat & (PCH_TX_OK | PCH_RX_OK)) in pch_can_poll()749 reg_stat & (PCH_TX_OK | PCH_RX_OK)); in pch_can_poll()
41 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()48 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
242 u32 reg_stat; member
948 dev->i2c_bus[0].reg_stat = I2C1_STAT; in cx23885_dev_setup()958 dev->i2c_bus[1].reg_stat = I2C2_STAT; in cx23885_dev_setup()968 dev->i2c_bus[2].reg_stat = I2C3_STAT; in cx23885_dev_setup()
40 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()47 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
151 u32 reg_stat; member
344 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()890 dev->i2c_bus[0].reg_stat = I2C1_STAT; in cx25821_dev_setup()