Home
last modified time | relevance | path

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

/linux/drivers/iio/proximity/
H A Dsx9360.c30 #define SX9360_FOSC_HZ (SX9360_FOSC_MHZ * 1000000) macro
49 (((_r) * 8192) / (SX9360_FOSC_HZ / 1000))
50 #define SX9360_REG_GNRL_FREQ_2_REG(_f) (((_f) * 8192) / SX9360_FOSC_HZ)
51 #define SX9360_REG_GNRL_REG_2_FREQ(_r) (SX9360_FOSC_HZ / ((_r) * 8192))
314 *val = SX9360_FOSC_HZ; in sx9360_read_samp_freq()
384 reg = val * 8192 / SX9360_FOSC_HZ + val2 * 8192 / (SX9360_FOSC_MHZ); in sx9360_set_samp_freq()