Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/
H A Dstk8baxx.c159 #define STK8BAXX_POWMODE 0x11 macro
314 result = stk8baxx_smbus_write_byte_data(STK8BAXX_POWMODE, STK8BAXX_MD_NORMAL); in stk8baxx_chk_for_addr()
387 result = stk8baxx_smbus_write_byte_data(STK8BAXX_POWMODE, STK8BAXX_MD_NORMAL); in stk8baxx_reg_init()
389 printk(KERN_ERR "%s:failed to write reg 0x%x, error=%d\n", __func__, STK8BAXX_POWMODE, result); in stk8baxx_reg_init()
489 result = stk8baxx_smbus_write_byte_data(STK8BAXX_POWMODE, STK8BAXX_MD_SUSPEND); in stk8baxx_reg_init()
491 printk(KERN_ERR "%s:failed to write reg 0x%x, error=%d\n", __func__, STK8BAXX_POWMODE, result); in stk8baxx_reg_init()
705 result = stk8baxx_smbus_write_byte_data(STK8BAXX_POWMODE, write_buffer); in stk8baxx_set_enable()
707 printk(KERN_ERR "%s:failed to write reg 0x%x, error=%d\n", __func__, STK8BAXX_POWMODE, result); in stk8baxx_set_enable()
913 .ctrl_reg = STK8BAXX_POWMODE, /*enable or disable*/