Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dstk8ba50.c180 static int stk8ba50_set_power(struct stk8ba50_data *data, bool mode) in stk8ba50_set_power() function
219 ret = stk8ba50_set_power(data, STK8BA50_MODE_NORMAL); in stk8ba50_read_raw()
226 stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_read_raw()
232 stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_read_raw()
367 return stk8ba50_set_power(data, STK8BA50_MODE_NORMAL); in stk8ba50_buffer_preenable()
374 return stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_buffer_postdisable()
488 stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_probe()
503 stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_remove()
512 return stk8ba50_set_power(data, STK8BA50_MODE_SUSPEND); in stk8ba50_suspend()
521 return stk8ba50_set_power(data, STK8BA50_MODE_NORMAL); in stk8ba50_resume()