Searched refs:ams_i2c_read (Results 1 – 1 of 1) sorted by relevance
78 static s32 ams_i2c_read(u8 reg) in ams_i2c_read() function110 u8 val = ams_i2c_read(AMS_CTRLX); in ams_i2c_set_irq()119 u8 val = ams_i2c_read(AMS_CTRLY); in ams_i2c_set_irq()148 return ams_i2c_read(AMS_VENDOR); in ams_i2c_get_vendor()153 *x = ams_i2c_read(AMS_DATAX); in ams_i2c_get_xyz()154 *y = ams_i2c_read(AMS_DATAY); in ams_i2c_get_xyz()155 *z = ams_i2c_read(AMS_DATAZ); in ams_i2c_get_xyz()187 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()188 vmin = ams_i2c_read(AMS_DATA2); in ams_i2c_probe()197 vmaj = ams_i2c_read(AMS_DATA1); in ams_i2c_probe()[all …]
Completed in 3 milliseconds