Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/iio/afe/
Diio-rescale.c20 struct rescale;
24 int (*props)(struct device *dev, struct rescale *rescale);
27 struct rescale { struct
41 struct rescale *rescale = iio_priv(indio_dev); in rescale_read_raw() argument
47 if (rescale->chan_processed) in rescale_read_raw()
53 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw()
55 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw()
58 if (rescale->chan_processed) { in rescale_read_raw()
66 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw()
70 *val *= rescale->numerator; in rescale_read_raw()
[all …]
DKconfig10 tristate "IIO rescale"
18 module will be called iio-rescale.
DMakefile7 obj-$(CONFIG_IIO_RESCALE) += iio-rescale.o
/Linux-v5.15/drivers/md/bcache/
Dstats.c138 if (++stats->rescale == rescale_at) { in scale_stats()
139 stats->rescale = 0; in scale_stats()
Dstats.h25 unsigned int rescale; member
Dalloc.c93 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()
Drequest.c407 goto rescale; in check_should_bypass()
412 goto rescale; in check_should_bypass()
453 rescale: in check_should_bypass()
Dbcache.h608 atomic_t rescale; member
/Linux-v5.15/lib/zstd/
Dhuf_decompress.c565 int const rescale = (maxTableLog - tableLog) - 1; /* tableLog <= maxTableLog */ in HUF_readDTableX4_wksp() local
570 nextRankVal += rankStats[w] << (w + rescale); in HUF_readDTableX4_wksp()
/Linux-v5.15/
DMAINTAINERS9131 F: drivers/iio/afe/iio-rescale.c