Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/can/
Dpch_can.c728 u32 reg_stat; in pch_can_poll() local
736 reg_stat = ioread32(&priv->regs->stat); in pch_can_poll()
738 if ((reg_stat & (PCH_BUS_OFF | PCH_LEC_ALL)) && in pch_can_poll()
739 ((reg_stat & PCH_LEC_ALL) != PCH_LEC_ALL)) { in pch_can_poll()
740 pch_can_error(ndev, reg_stat); in pch_can_poll()
744 if (reg_stat & (PCH_TX_OK | PCH_RX_OK)) in pch_can_poll()
746 reg_stat & (PCH_TX_OK | PCH_RX_OK)); in pch_can_poll()
/Linux-v6.1/drivers/iio/proximity/
Dsx_common.h77 unsigned int reg_stat; member
Dsx_common.c83 ret = regmap_read(data->regmap, data->chip_info->reg_stat, &val); in sx_common_push_events()
Dsx9360.c785 .reg_stat = SX9360_REG_STAT,
Dsx9310.c932 .reg_stat = SX9310_REG_STAT0,
Dsx9324.c1040 .reg_stat = SX9324_REG_STAT0,
/Linux-v6.1/drivers/media/pci/cx23885/
Dcx23885-i2c.c41 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()
Dcx23885.h242 u32 reg_stat; member
Dcx23885-core.c948 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()
/Linux-v6.1/drivers/media/pci/cx25821/
Dcx25821-i2c.c40 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()
Dcx25821.h150 u32 reg_stat; member
Dcx25821-core.c883 dev->i2c_bus[0].reg_stat = I2C1_STAT; in cx25821_dev_setup()