Searched refs:rescale (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iio/afe/ |
| H A D | iio-rescale.c | 20 struct rescale; 24 int (*props)(struct device *dev, struct rescale *rescale); 27 struct rescale { struct 40 struct rescale *rescale = iio_priv(indio_dev); in rescale_read_raw() argument 46 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 49 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 52 *val *= rescale->numerator; in rescale_read_raw() 53 *val2 *= rescale->denominator; in rescale_read_raw() 56 *val *= rescale->numerator; in rescale_read_raw() 57 if (rescale->denominator == 1) in rescale_read_raw() [all …]
|
| H A D | Kconfig | 10 tristate "IIO rescale" 18 module will be called iio-rescale.
|
| H A D | Makefile | 7 obj-$(CONFIG_IIO_RESCALE) += iio-rescale.o
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H A D | stats.c | 142 if (++stats->rescale == rescale_at) { in scale_stats() 143 stats->rescale = 0; in scale_stats()
|
| H A D | stats.h | 26 unsigned int rescale; member
|
| H A D | alloc.c | 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()
|
| H A D | request.c | 407 goto rescale; in check_should_bypass() 412 goto rescale; in check_should_bypass() 453 rescale: in check_should_bypass()
|
| H A D | bcache.h | 605 atomic_t rescale; member
|
| /OK3568_Linux_fs/kernel/lib/zstd/ |
| H A D | huf_decompress.c | 565 int const rescale = (maxTableLog - tableLog) - 1; /* tableLog <= maxTableLog */ in HUF_readDTableX4_wksp() local 570 nextRankVal += rankStats[w] << (w + rescale); in HUF_readDTableX4_wksp()
|
| /OK3568_Linux_fs/kernel/ |
| H A D | MAINTAINERS | 8610 F: drivers/iio/afe/iio-rescale.c
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 77681 dix: when rescaling from master, rescale from desktop dimensions (#46657) 77684 rescale axis ranges, not the screen. Otherwise, a rescale on any screen 147029 min/max and the actual value. When retrieving the MH, rescale all coordinates
|