Searched refs:kmx61_set_mode (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/iio/imu/ |
D | kmx61.c | 329 static int kmx61_set_mode(struct kmx61_data *data, u8 mode, u8 device, in kmx61_set_mode() function 435 ret = kmx61_set_mode(data, KMX61_ALL_STBY, KMX61_ACC | KMX61_MAG, in kmx61_set_odr() 459 return kmx61_set_mode(data, mode, KMX61_ACC | KMX61_MAG, true); in kmx61_set_odr() 521 ret = kmx61_set_mode(data, KMX61_ALL_STBY, in kmx61_set_scale() 530 return kmx61_set_mode(data, mode, in kmx61_set_scale() 579 ret = kmx61_set_mode(data, 0, KMX61_ACC | KMX61_MAG, true); in kmx61_chip_init() 599 ret = kmx61_set_mode(data, KMX61_ALL_STBY, KMX61_ACC | KMX61_MAG, true); in kmx61_setup_new_data_interrupt() 645 return kmx61_set_mode(data, mode, KMX61_ACC | KMX61_MAG, true); in kmx61_setup_new_data_interrupt() 679 ret = kmx61_set_mode(data, KMX61_ALL_STBY, KMX61_ACC | KMX61_MAG, true); in kmx61_setup_any_motion_interrupt() 720 return kmx61_set_mode(data, mode, KMX61_ACC | KMX61_MAG, true); in kmx61_setup_any_motion_interrupt() [all …]
|