Home
last modified time | relevance | path

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

/drivers/iio/accel/
Dkionix-kx022a.c246 static const int kx022a_accel_samp_freq_table[][2] = { variable
296 *vals = (const int *)kx022a_accel_samp_freq_table; in kx022a_read_avail()
297 *length = ARRAY_SIZE(kx022a_accel_samp_freq_table) * in kx022a_read_avail()
298 ARRAY_SIZE(kx022a_accel_samp_freq_table[0]); in kx022a_read_avail()
316 *val1 = kx022a_accel_samp_freq_table[val & KX022A_MASK_ODR][0]; in kx022a_reg2freq()
317 *val2 = kx022a_accel_samp_freq_table[val & KX022A_MASK_ODR][1]; in kx022a_reg2freq()
405 n = ARRAY_SIZE(kx022a_accel_samp_freq_table); in kx022a_write_raw()
408 if (val == kx022a_accel_samp_freq_table[n][0] && in kx022a_write_raw()
409 val2 == kx022a_accel_samp_freq_table[n][1]) in kx022a_write_raw()
511 ARRAY_SIZE(kx022a_accel_samp_freq_table)) { in kx022a_read_raw()