Home
last modified time | relevance | path

Searched refs:I2C_PCF_PIN (Results 1 – 3 of 3) sorted by relevance

/drivers/i2c/algos/
Di2c-algo-pcf.h28 #define I2C_PCF_PIN 0x80 macro
37 #define I2C_PCF_START (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)
38 #define I2C_PCF_STOP (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK)
40 #define I2C_PCF_IDLE (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)
Di2c-algo-pcf.c92 set_pcf(adap, 1, I2C_PCF_PIN); in handle_lab()
137 while (timeout-- && (*status & I2C_PCF_PIN)) { in wait_for_pin()
170 set_pcf(adap, 1, I2C_PCF_PIN); in pcf_init_8584()
187 set_pcf(adap, 1, I2C_PCF_PIN | I2C_PCF_ES1); in pcf_init_8584()
206 if ((temp = get_pcf(adap, 1)) != (I2C_PCF_PIN | I2C_PCF_BB)) { in pcf_init_8584()
/drivers/sbus/char/
Dbbc_i2c.c24 #define I2C_PCF_PIN 0x80 macro
33 #define I2C_PCF_START (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ENI | I2C_PCF_STA | I2C_PCF_ACK)
34 #define I2C_PCF_STOP (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK)
36 #define I2C_PCF_IDLE (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)
137 & I2C_PCF_PIN) == 0), in wait_for_pin()
285 !(readb(bp->i2c_control_regs + 0x0) & I2C_PCF_PIN)) in bbc_i2c_interrupt()
293 writeb(I2C_PCF_PIN, bp->i2c_control_regs + 0x0); in reset_one_i2c()
295 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()