Home
last modified time | relevance | path

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

/drivers/sbus/char/
Denvctrl.c131 #define PCF8584_CSR 0x01 macro
192 if (!(readb(i2c + PCF8584_CSR) & STATUS_PIN)) in envtrl_i2c_test_pin()
210 if (readb(i2c + PCF8584_CSR) & STATUS_BB) in envctrl_i2c_test_bb()
231 writeb(OBD_SEND_START, i2c + PCF8584_CSR); in envctrl_i2c_read_addr()
237 if (!(readb(i2c + PCF8584_CSR) & STATUS_LRB)) { in envctrl_i2c_read_addr()
240 writeb(OBD_SEND_STOP, i2c + PCF8584_CSR); in envctrl_i2c_read_addr()
254 writeb(OBD_SEND_START, i2c + PCF8584_CSR); in envctrl_i2c_write_addr()
264 writeb(CONTROL_ES0, i2c + PCF8584_CSR); /* Send neg ack. */ in envctrl_i2c_read_data()
283 writeb(OBD_SEND_STOP, i2c + PCF8584_CSR); in envctrl_i2c_stop()
1052 writeb(CONTROL_PIN, i2c + PCF8584_CSR); in envctrl_probe()
[all …]