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

/linux-4.1.27/drivers/macintosh/ams/
H A Dams-i2c.c88 static int ams_i2c_write(u8 reg, u8 value) ams_i2c_write() function
98 ams_i2c_write(AMS_COMMAND, cmd); ams_i2c_cmd()
120 ams_i2c_write(AMS_CTRLX, val); ams_i2c_set_irq()
129 ams_i2c_write(AMS_CTRLY, val); ams_i2c_set_irq()
138 ams_i2c_write(AMS_CTRLZ, val); ams_i2c_set_irq()
145 ams_i2c_write(AMS_FREEFALL, 0); ams_i2c_clear_irq()
148 ams_i2c_write(AMS_SHOCK, 0); ams_i2c_clear_irq()
186 ams_i2c_write(AMS_CTRL1, 0x02); ams_i2c_probe()
187 ams_i2c_write(AMS_CTRL2, 0x85); ams_i2c_probe()
188 ams_i2c_write(AMS_CTRL3, 0x01); ams_i2c_probe()
218 ams_i2c_write(AMS_SENSLOW, 0x15); ams_i2c_probe()
219 ams_i2c_write(AMS_SENSHIGH, 0x60); ams_i2c_probe()
220 ams_i2c_write(AMS_CTRLX, 0x08); ams_i2c_probe()
221 ams_i2c_write(AMS_CTRLY, 0x0F); ams_i2c_probe()
222 ams_i2c_write(AMS_CTRLZ, 0x4F); ams_i2c_probe()
223 ams_i2c_write(AMS_UNKNOWN1, 0x14); ams_i2c_probe()

Completed in 40 milliseconds