Searched refs:rescale (Results 1 – 14 of 14) sorted by relevance
/linux-6.3-rc2/drivers/iio/afe/ |
A D | iio-rescale.c | 150 struct rescale *rescale = iio_priv(indio_dev); in rescale_read_raw() local 230 struct rescale *rescale = iio_priv(indio_dev); in rescale_read_avail() local 252 struct rescale *rescale = iio_priv(indio_dev); in rescale_read_ext_info() local 272 struct rescale *rescale) in rescale_configure_channel() argument 312 struct rescale *rescale) in rescale_current_sense_amplifier_props() argument 351 struct rescale *rescale) in rescale_current_sense_shunt_props() argument 372 struct rescale *rescale) in rescale_voltage_divider_props() argument 399 struct rescale *rescale) in rescale_temp_sense_rtd_props() argument 440 struct rescale *rescale) in rescale_temp_transducer_props() argument 515 struct rescale *rescale; in rescale_probe() local [all …]
|
A D | Kconfig | 10 tristate "IIO rescale" 17 module will be called iio-rescale.
|
A D | Makefile | 7 obj-$(CONFIG_IIO_RESCALE) += iio-rescale.o
|
/linux-6.3-rc2/include/linux/iio/afe/ |
A D | rescale.h | 13 struct rescale; 17 int (*props)(struct device *dev, struct rescale *rescale); 20 struct rescale { struct 31 int rescale_process_scale(struct rescale *rescale, int scale_type, argument 33 int rescale_process_offset(struct rescale *rescale, int scale_type,
|
/linux-6.3-rc2/drivers/iio/test/ |
A D | iio-test-rescale.c | 650 struct rescale rescale; in iio_rescale_test_scale() local 655 rescale.numerator = t->numerator; in iio_rescale_test_scale() 656 rescale.denominator = t->denominator; in iio_rescale_test_scale() 657 rescale.offset = t->offset; in iio_rescale_test_scale() 661 ret = rescale_process_scale(&rescale, t->schan_scale_type, in iio_rescale_test_scale() 680 struct rescale rescale; in iio_rescale_test_offset() local 684 rescale.numerator = t->numerator; in iio_rescale_test_offset() 685 rescale.denominator = t->denominator; in iio_rescale_test_offset() 686 rescale.offset = t->offset; in iio_rescale_test_offset() 690 ret = rescale_process_offset(&rescale, t->schan_scale_type, in iio_rescale_test_offset()
|
A D | Kconfig | 8 tristate "Test IIO rescale conversion functions" if !KUNIT_ALL_TESTS 12 Build unit tests for the iio-rescale code.
|
A D | Makefile | 7 obj-$(CONFIG_IIO_RESCALE_KUNIT_TEST) += iio-test-rescale.o
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | stats.c | 139 if (++stats->rescale == rescale_at) { in scale_stats() 140 stats->rescale = 0; in scale_stats()
|
A D | stats.h | 25 unsigned int rescale; member
|
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()
|
A D | request.c | 407 goto rescale; in check_should_bypass() 412 goto rescale; in check_should_bypass() 453 rescale: in check_should_bypass()
|
A D | bcache.h | 611 atomic_t rescale; member
|
/linux-6.3-rc2/lib/zstd/decompress/ |
A D | huf_decompress.c | 1105 { int const rescale = (maxTableLog-tableLog) - 1; /* tableLog <= maxTableLog */ in HUF_readDTableX2_wksp_bmi2() local 1110 nextRankVal += wksp->rankStats[w] << (w+rescale); in HUF_readDTableX2_wksp_bmi2()
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 9976 F: drivers/iio/afe/iio-rescale.c
|
Completed in 70 milliseconds