Searched refs:lodr_bits (Results 1 – 1 of 1) sorted by relevance
424 int lodr_bits, odr_bits; in kmx61_set_odr() local430 lodr_bits = kmx61_convert_freq_to_bit(val, val2); in kmx61_set_odr()431 if (lodr_bits < 0) in kmx61_set_odr()432 return lodr_bits; in kmx61_set_odr()442 odr_bits |= lodr_bits << KMX61_ACC_ODR_SHIFT; in kmx61_set_odr()444 odr_bits |= lodr_bits << KMX61_MAG_ODR_SHIFT; in kmx61_set_odr()465 u8 lodr_bits; in kmx61_get_odr() local468 lodr_bits = (data->odr_bits >> KMX61_ACC_ODR_SHIFT) & in kmx61_get_odr()471 lodr_bits = (data->odr_bits >> KMX61_MAG_ODR_SHIFT) & in kmx61_get_odr()476 if (lodr_bits >= ARRAY_SIZE(kmx61_samp_freq_table)) in kmx61_get_odr()[all …]