Searched refs:lodr_bits (Results 1 – 1 of 1) sorted by relevance
420 int lodr_bits, odr_bits; in kmx61_set_odr() local426 lodr_bits = kmx61_convert_freq_to_bit(val, val2); in kmx61_set_odr()427 if (lodr_bits < 0) in kmx61_set_odr()428 return lodr_bits; in kmx61_set_odr()438 odr_bits |= lodr_bits << KMX61_ACC_ODR_SHIFT; in kmx61_set_odr()440 odr_bits |= lodr_bits << KMX61_MAG_ODR_SHIFT; in kmx61_set_odr()461 u8 lodr_bits; in kmx61_get_odr() local464 lodr_bits = (data->odr_bits >> KMX61_ACC_ODR_SHIFT) & in kmx61_get_odr()472 if (lodr_bits >= ARRAY_SIZE(kmx61_samp_freq_table)) in kmx61_get_odr()475 *val = kmx61_samp_freq_table[lodr_bits].val; in kmx61_get_odr()[all …]