Searched refs:exponent (Results 76 - 88 of 88) sorted by path

1234

/linux-master/drivers/staging/pi433/
H A Drf69.c448 enum mantisse mantisse, u8 exponent)
452 // check value for mantisse and exponent
453 if (exponent > 7) {
454 dev_dbg(&spi->dev, "set: illegal bandwidth exponent %u\n", exponent);
468 // "delete" mantisse and exponent = just keep the DCC setting
484 // add new exponent
485 bandwidth = bandwidth | exponent;
492 u8 exponent)
494 return rf69_set_bandwidth_intern(spi, REG_RXBW, mantisse, exponent);
447 rf69_set_bandwidth_intern(struct spi_device *spi, u8 reg, enum mantisse mantisse, u8 exponent) argument
491 rf69_set_bandwidth(struct spi_device *spi, enum mantisse mantisse, u8 exponent) argument
497 rf69_set_bandwidth_during_afc(struct spi_device *spi, enum mantisse mantisse, u8 exponent) argument
[all...]
H A Drf69.h34 u8 exponent);
37 u8 exponent);
/linux-master/drivers/usb/host/
H A Duhci-hcd.h335 #define SKEL_INDEX(exponent) (9 - exponent)
/linux-master/drivers/usb/serial/
H A Dpl2303.c612 unsigned int baseline, mantissa, exponent; local
616 * baudrate = 12M * 32 / (mantissa * 4^exponent)
619 * exponent = buf[11:9]
625 exponent = 0;
627 if (exponent < 7) {
629 exponent++;
639 buf[1] = exponent << 1 | mantissa >> 8;
643 baud = (baseline / mantissa) >> (exponent << 1);
651 unsigned int baseline, mantissa, exponent; local
655 * baudrate = 12M * 32 / (mantissa * 2^exponent)
[all...]
/linux-master/fs/bcachefs/
H A Dbset.c303 u8 exponent; member in struct:bkey_float
599 v = get_unaligned((u64 *) (((u8 *) k->_data) + (f->exponent >> 3)));
608 v >>= f->exponent & 7;
610 v >>= 64 - (f->exponent & 7) - BKEY_MANTISSA_BITS;
629 int shift, exponent, high_bit; local
638 f->exponent = BFLOAT_FAILED_UNPACKED;
646 * bfloat->mantissa, and thus the exponent we're calculating here is
654 exponent = high_bit - (BKEY_MANTISSA_BITS - 1);
658 * (k->_data), to get the key bits starting at exponent:
661 shift = (int) (b->format.key_u64s * 64 - b->nr_key_bits) + exponent;
[all...]
/linux-master/include/linux/
H A Dkvm_host.h1851 .exponent = exp, \
1891 #define STATS_DESC_CUMULATIVE(SCOPE, name, unit, base, exponent) \
1893 unit, base, exponent, 1, 0)
1894 #define STATS_DESC_INSTANT(SCOPE, name, unit, base, exponent) \
1896 unit, base, exponent, 1, 0)
1897 #define STATS_DESC_PEAK(SCOPE, name, unit, base, exponent) \
1899 unit, base, exponent, 1, 0)
1900 #define STATS_DESC_LINEAR_HIST(SCOPE, name, unit, base, exponent, sz, bsz) \
1902 unit, base, exponent, sz, bsz)
1903 #define STATS_DESC_LOG_HIST(SCOPE, name, unit, base, exponent, s
[all...]
H A Dscmi_protocol.h251 * @exponent: Extended attribute representing the power-of-10 multiplier that
264 int exponent; member in struct:scmi_sensor_axis_info
332 * @exponent: Extended attribute representing the power-of-10 multiplier that is
388 int exponent; member in struct:scmi_sensor_info
/linux-master/include/uapi/linux/
H A Dkvm.h1497 * @exponent: Used together with @flags to determine the unit.
1509 __s16 exponent; member in struct:kvm_stats_desc
/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h824 * Return base^exponent.
826 static U64 ZSTD_ipow(U64 base, U64 exponent) argument
829 while (exponent) {
830 if (exponent & 1) power *= base;
831 exponent >>= 1;
/linux-master/tools/include/uapi/linux/
H A Dkvm.h1497 * @exponent: Used together with @flags to determine the unit.
1509 __s16 exponent; member in struct:kvm_stats_desc
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c238 unsigned int exponent; local
254 for (exponent = 0; ; ++exponent) {
256 printf("%d 10^%d\n", i, exponent);
264 fprintf(stderr, "%d*10^%d: 0x%x\n", i, exponent, (exponent << 7) | i);
266 return (exponent << 7) | i;
/linux-master/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c96 * Check exponent for stats unit
108 TEST_ASSERT(pdesc->exponent >= 0,
109 "Unsupported KVM stats (%s) exponent: %i",
110 pdesc->name, pdesc->exponent);
113 TEST_ASSERT(pdesc->exponent <= 0,
114 "Unsupported KVM stats (%s) exponent: %i",
115 pdesc->name, pdesc->exponent);
118 TEST_ASSERT(pdesc->exponent == 0,
119 "Unsupported KVM stats (%s) exponent: %d",
120 pdesc->name, pdesc->exponent);
[all...]
/linux-master/tools/testing/selftests/sgx/
H A Dsigstruct.c332 sigstruct->exponent = 3;

Completed in 319 milliseconds

1234