Home
last modified time | relevance | path

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

/linux/drivers/macintosh/ams/
H A Dams-i2c.c77 static s32 ams_i2c_read(u8 reg) in ams_i2c_read() function
96 result = ams_i2c_read(AMS_COMMAND); in ams_i2c_cmd()
109 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()
127 u8 val = ams_i2c_read(AMS_CTRLZ); 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()
[all …]