Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/iio/light/
Dtsl2563.c47 #define FRAC10K(f) (((f) * (1L << (ADC_FRAC_BITS))) / (10000)) macro
414 .ch_ratio = FRAC10K(1300),
415 .ch0_coeff = FRAC10K(315),
416 .ch1_coeff = FRAC10K(262),
418 .ch_ratio = FRAC10K(2600),
419 .ch0_coeff = FRAC10K(337),
420 .ch1_coeff = FRAC10K(430),
422 .ch_ratio = FRAC10K(3900),
423 .ch0_coeff = FRAC10K(363),
424 .ch1_coeff = FRAC10K(529),
[all …]