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

/linux-4.1.27/drivers/macintosh/ams/
H A Dams-i2c.c83 static s32 ams_i2c_read(u8 reg) ams_i2c_read() function
102 result = ams_i2c_read(AMS_COMMAND); ams_i2c_cmd()
115 u8 val = ams_i2c_read(AMS_CTRLX); ams_i2c_set_irq()
124 u8 val = ams_i2c_read(AMS_CTRLY); ams_i2c_set_irq()
133 u8 val = ams_i2c_read(AMS_CTRLZ); ams_i2c_set_irq()
153 return ams_i2c_read(AMS_VENDOR); ams_i2c_get_vendor()
158 *x = ams_i2c_read(AMS_DATAX); ams_i2c_get_xyz()
159 *y = ams_i2c_read(AMS_DATAY); ams_i2c_get_xyz()
160 *z = ams_i2c_read(AMS_DATAZ); ams_i2c_get_xyz()
192 vmaj = ams_i2c_read(AMS_DATA1); ams_i2c_probe()
193 vmin = ams_i2c_read(AMS_DATA2); ams_i2c_probe()
202 vmaj = ams_i2c_read(AMS_DATA1); ams_i2c_probe()
203 vmin = ams_i2c_read(AMS_DATA2); ams_i2c_probe()

Completed in 29 milliseconds