Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dstk8312.c35 #define STK8312_MODE_ACTIVE BIT(0) macro
185 if (mode & STK8312_MODE_ACTIVE) { in stk8312_set_mode()
346 ret = stk8312_set_mode(data, data->mode | STK8312_MODE_ACTIVE); in stk8312_read_raw()
354 data->mode & (~STK8312_MODE_ACTIVE)); in stk8312_read_raw()
360 data->mode & (~STK8312_MODE_ACTIVE)); in stk8312_read_raw()
486 return stk8312_set_mode(data, data->mode | STK8312_MODE_ACTIVE); in stk8312_buffer_preenable()
493 return stk8312_set_mode(data, data->mode & (~STK8312_MODE_ACTIVE)); in stk8312_buffer_postdisable()
536 STK8312_MODE_INT_AH_PP | STK8312_MODE_ACTIVE); in stk8312_probe()
619 return stk8312_set_mode(data, data->mode & (~STK8312_MODE_ACTIVE)); in stk8312_suspend()
628 return stk8312_set_mode(data, data->mode | STK8312_MODE_ACTIVE); in stk8312_resume()