Lines Matching refs:ams_i2c_read
83 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()
193 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()
202 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()
203 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()