Searched refs:ams_i2c_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/macintosh/ams/ |
H A D | ams-i2c.c | 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() 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() 213 ams_i2c_write(AMS_CTRLX, 0x08); in ams_i2c_probe() 214 ams_i2c_write(AMS_CTRLY, 0x0F); in ams_i2c_probe() [all …]
|