Searched refs:ams_i2c_read (Results 1 – 1 of 1) sorted by relevance
77 static s32 ams_i2c_read(u8 reg) in ams_i2c_read() function109 u8 val = ams_i2c_read(AMS_CTRLX); in ams_i2c_set_irq()118 u8 val = ams_i2c_read(AMS_CTRLY); in ams_i2c_set_irq()147 return ams_i2c_read(AMS_VENDOR); in ams_i2c_get_vendor()152 *x = ams_i2c_read(AMS_DATAX); in ams_i2c_get_xyz()153 *y = ams_i2c_read(AMS_DATAY); in ams_i2c_get_xyz()154 *z = ams_i2c_read(AMS_DATAZ); in ams_i2c_get_xyz()185 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()186 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()195 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()[all …]