Searched refs:rescale (Results 1 – 8 of 8) sorted by relevance
23 int rescale_process_scale(struct rescale *rescale, int scale_type, in rescale_process_scale() argument30 *val *= rescale->numerator; in rescale_process_scale()31 *val2 *= rescale->denominator; in rescale_process_scale()34 *val *= rescale->numerator; in rescale_process_scale()35 if (rescale->denominator == 1) in rescale_process_scale()37 *val2 = rescale->denominator; in rescale_process_scale()41 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale()42 tmp *= rescale->numerator; in rescale_process_scale()51 int rescale_process_offset(struct rescale *rescale, int scale_type, in rescale_process_offset() argument59 tmp = (s64)rescale->offset * scale2; in rescale_process_offset()[all …]
10 tristate "IIO rescale"18 module will be called iio-rescale.
7 obj-$(CONFIG_IIO_RESCALE) += iio-rescale.o
138 if (++stats->rescale == rescale_at) { in scale_stats()139 stats->rescale = 0; in scale_stats()
25 unsigned int rescale; member
93 atomic_sub(sectors, &c->rescale); in bch_rescale_priorities()96 r = atomic_read(&c->rescale); in bch_rescale_priorities()100 } while (atomic_cmpxchg(&c->rescale, r, r + next) != r); in bch_rescale_priorities()
407 goto rescale; in check_should_bypass()412 goto rescale; in check_should_bypass()453 rescale: in check_should_bypass()
609 atomic_t rescale; member