Searched refs:FRAC10K (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | tsl2563.c | 34 #define FRAC10K(f) (((f) * (1L << (ADC_FRAC_BITS))) / (10000)) macro 381 .ch_ratio = FRAC10K(1300), 382 .ch0_coeff = FRAC10K(315), 383 .ch1_coeff = FRAC10K(262), 385 .ch_ratio = FRAC10K(2600), 386 .ch0_coeff = FRAC10K(337), 387 .ch1_coeff = FRAC10K(430), 389 .ch_ratio = FRAC10K(3900), 390 .ch0_coeff = FRAC10K(363), 391 .ch1_coeff = FRAC10K(52 [all...] |
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | tsl2563.c | 37 #define FRAC10K(f) (((f) * BIT(ADC_FRAC_BITS)) / (10000)) macro 387 .ch_ratio = FRAC10K(1300), 388 .ch0_coeff = FRAC10K(315), 389 .ch1_coeff = FRAC10K(262), 391 .ch_ratio = FRAC10K(2600), 392 .ch0_coeff = FRAC10K(337), 393 .ch1_coeff = FRAC10K(430), 395 .ch_ratio = FRAC10K(3900), 396 .ch0_coeff = FRAC10K(363), 397 .ch1_coeff = FRAC10K(52 [all...] |
Completed in 3 milliseconds