Home
last modified time | relevance | path

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

/drivers/macintosh/ams/
Dams-i2c.c82 static int ams_i2c_write(u8 reg, u8 value) in ams_i2c_write() function
92 ams_i2c_write(AMS_COMMAND, cmd); in ams_i2c_cmd()
114 ams_i2c_write(AMS_CTRLX, val); in ams_i2c_set_irq()
123 ams_i2c_write(AMS_CTRLY, val); in ams_i2c_set_irq()
132 ams_i2c_write(AMS_CTRLZ, val); in ams_i2c_set_irq()
139 ams_i2c_write(AMS_FREEFALL, 0); in ams_i2c_clear_irq()
142 ams_i2c_write(AMS_SHOCK, 0); in ams_i2c_clear_irq()
179 ams_i2c_write(AMS_CTRL1, 0x02); in ams_i2c_probe()
180 ams_i2c_write(AMS_CTRL2, 0x85); in ams_i2c_probe()
181 ams_i2c_write(AMS_CTRL3, 0x01); in ams_i2c_probe()
[all …]