Searched refs:lshift (Results 1 – 4 of 4) sorted by relevance
283 flo->lshift = shift; in stm32_dfsdm_compute_osrs()296 flo->lshift = 1; in stm32_dfsdm_compute_osrs()305 flo->lshift); in stm32_dfsdm_compute_osrs()917 *ptr <<= flo->lshift; in stm32_dfsdm_process_data()1348 u32 max = flo->max << (flo->lshift - chan->scan_type.shift); in stm32_dfsdm_read_raw()1352 if (flo->lshift < chan->scan_type.shift) in stm32_dfsdm_read_raw()1353 max = flo->max >> (chan->scan_type.shift - flo->lshift); in stm32_dfsdm_read_raw()
281 unsigned int lshift; member
1368 unsigned int lshift, rshift; in ad4170_fill_scale_tbl() local1387 lshift = !!(pga & BIT(3)); /* handle PGA options 8 and 9 */ in ad4170_fill_scale_tbl()1388 rshift = precision_bits - bipolar + (pga & GENMASK(2, 0)) - lshift; in ad4170_fill_scale_tbl()
29 #define VAL_SET(x, mask, rshift, lshift) \ argument30 ((((x) >> rshift) & mask) << lshift)
Completed in 24 milliseconds