Searched refs:I2C_PCF_PIN (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pcf.h | 17 #define I2C_PCF_PIN 0x80 macro 26 #define I2C_PCF_START (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK) 27 #define I2C_PCF_STOP (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK) 29 #define I2C_PCF_IDLE (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)
|
H A D | i2c-algo-pcf.c | 76 set_pcf(adap, 1, I2C_PCF_PIN); in handle_lab() 123 while ((*status & I2C_PCF_PIN) && --timeout) { in wait_for_pin() 157 set_pcf(adap, 1, I2C_PCF_PIN); in pcf_init_8584() 176 set_pcf(adap, 1, I2C_PCF_PIN | I2C_PCF_ES1); in pcf_init_8584() 195 if ((temp = get_pcf(adap, 1)) != (I2C_PCF_PIN | I2C_PCF_BB)) { in pcf_init_8584()
|
/openbmc/linux/drivers/sbus/char/ |
H A D | bbc_i2c.c | 25 #define I2C_PCF_PIN 0x80 macro 34 #define I2C_PCF_START (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ENI | I2C_PCF_STA | I2C_PCF_ACK) 35 #define I2C_PCF_STOP (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK) 37 #define I2C_PCF_IDLE (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK) 138 & I2C_PCF_PIN) == 0), in wait_for_pin() 280 !(readb(bp->i2c_control_regs + 0x0) & I2C_PCF_PIN)) in bbc_i2c_interrupt() 288 writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0); in reset_one_i2c() 290 writeb(I2C_PCF_PIN | I2C_PCF_ES1, bp->i2c_control_regs + 0x0); in reset_one_i2c() 340 writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0); in attach_one_i2c() 342 writeb(I2C_PCF_PIN | I2C_PCF_ES1, bp->i2c_control_regs + 0x0); in attach_one_i2c()
|