Home
last modified time | relevance | path

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

/drivers/net/can/
Dpch_can.c742 u32 reg_stat; in pch_can_poll() local
750 reg_stat = ioread32(&priv->regs->stat); in pch_can_poll()
752 if ((reg_stat & (PCH_BUS_OFF | PCH_LEC_ALL)) && in pch_can_poll()
753 ((reg_stat & PCH_LEC_ALL) != PCH_LEC_ALL)) { in pch_can_poll()
754 pch_can_error(ndev, reg_stat); in pch_can_poll()
758 if (reg_stat & (PCH_TX_OK | PCH_RX_OK)) in pch_can_poll()
760 reg_stat & (PCH_TX_OK | PCH_RX_OK)); in pch_can_poll()
/drivers/media/pci/cx23885/
Dcx23885-i2c.c51 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
58 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
Dcx23885.h242 u32 reg_stat; member
Dcx23885-core.c892 dev->i2c_bus[0].reg_stat = I2C1_STAT; in cx23885_dev_setup()
902 dev->i2c_bus[1].reg_stat = I2C2_STAT; in cx23885_dev_setup()
912 dev->i2c_bus[2].reg_stat = I2C3_STAT; in cx23885_dev_setup()
/drivers/media/pci/cx25821/
Dcx25821-i2c.c54 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
61 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy()
Dcx25821.h168 u32 reg_stat; member
Dcx25821-core.c358 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack()
904 dev->i2c_bus[0].reg_stat = I2C1_STAT; in cx25821_dev_setup()