Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/macintosh/ams/
Dams-i2c.c83 static s32 ams_i2c_read(u8 reg) in ams_i2c_read() function
102 result = ams_i2c_read(AMS_COMMAND); in ams_i2c_cmd()
115 u8 val = ams_i2c_read(AMS_CTRLX); in ams_i2c_set_irq()
124 u8 val = ams_i2c_read(AMS_CTRLY); in ams_i2c_set_irq()
133 u8 val = ams_i2c_read(AMS_CTRLZ); in ams_i2c_set_irq()
153 return ams_i2c_read(AMS_VENDOR); in ams_i2c_get_vendor()
158 *x = ams_i2c_read(AMS_DATAX); in ams_i2c_get_xyz()
159 *y = ams_i2c_read(AMS_DATAY); in ams_i2c_get_xyz()
160 *z = ams_i2c_read(AMS_DATAZ); in ams_i2c_get_xyz()
192 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()
[all …]