Searched refs:exponent (Results 1 - 25 of 88) sorted by last modified time

1234

/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/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/drivers/staging/pi433/
H A Drf69.h34 u8 exponent);
37 u8 exponent);
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...]
/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/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/drivers/clk/ti/
H A Ddpll3xxx.c305 u32 v, ctrl, mod_freq_divider, exponent, mantissa; local
325 exponent = 0;
327 while ((mantissa > 127) && (exponent < 7)) {
328 exponent++;
337 v |= exponent << __ffs(dd->ssc_modfreq_exp_mask);
/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/drivers/hwmon/pmbus/
H A Dpmbus_core.c88 int exponent[PMBUS_PAGES]; member in struct:pmbus_data
89 /* linear mode: exponent for output voltages */
653 * bit 10..14: exponent
655 * exponent=0:
657 * exponent=1..30:
658 * v=(���1)^signbit * 2^(exponent - 15) * 1.significantbits
659 * exponent=31:
663 * To do that, add '10' to the exponent. By doing that, we can just add
669 int exponent; local
675 exponent
697 val <<= exponent; local
714 s16 exponent; local
737 val <<= exponent; local
854 u16 exponent = (15 + 10); local
918 s16 exponent = 0, mantissa; local
[all...]
H A Dmp2975.c181 s16 exponent = 0, mantissa; local
189 while (val >= MAX_LIN_MANTISSA && exponent < 15) {
190 exponent++;
194 while (val < MIN_LIN_MANTISSA && exponent > -15) {
195 exponent--;
206 /* Convert to 5 bit exponent, 11 bit mantissa */
207 return (mantissa & 0x7ff) | ((exponent << 11) & 0xf800);
H A Dmp2856.c79 s16 exponent = 0, mantissa; local
91 while (val >= MAX_LIN_MANTISSA && exponent < 15) {
92 exponent++;
96 while (val < MIN_LIN_MANTISSA && exponent > -15) {
97 exponent--;
108 /* Convert to 5 bit exponent, 11 bit mantissa */
109 return (mantissa & 0x7ff) | ((exponent << 11) & 0xf800);
/linux-master/drivers/gpu/drm/i915/
H A Di915_perf.c275 /* The maximum exponent the hardware accepts is 63 (essentially it selects one
280 * reasonable to limit the OA exponent where it's still possible to account for
983 "OA buffer overflow (exponent = %d): force restart\n",
1196 "OA buffer overflow (exponent = %d): force restart\n",
2661 * exponent for periodic sampling which is primarily used for system
2667 * won't automatically reload an out-of-date timer exponent even
3963 static u64 oa_exponent_to_ns(struct i915_perf *perf, int exponent) argument
3965 u64 nom = (2ULL << exponent) * NSEC_PER_SEC;
4085 "OA timer exponent too high (> %u)\n",
4114 "OA exponent woul
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_color.c130 #define ILK_CSC_COEFF_LIMITED_RANGE ((235 - 16) << (12 - 8)) /* exponent 0 */
826 unsigned int mantissa, exponent; local
833 exponent = 3;
836 exponent--;
839 return (exponent << 6) |
/linux-master/drivers/s390/crypto/
H A Dzcrypt_msgtype50.c72 unsigned char exponent[128]; member in struct:type50_meb1_msg
82 unsigned char exponent[256]; member in struct:type50_meb2_msg
92 unsigned char exponent[512]; member in struct:type50_meb3_msg
213 exp = meb1->exponent + sizeof(meb1->exponent) - mod_len;
224 exp = meb2->exponent + sizeof(meb2->exponent) - mod_len;
235 exp = meb3->exponent + sizeof(meb3->exponent) - mod_len;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c4154 u8 exponent; member in struct:__anon1411
4171 .exponent = flow->exp,
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c3771 u8 exponent; member in struct:__anon1256
3785 .exponent = flow->exp,
/linux-master/drivers/firmware/arm_scmi/
H A Dsensors.c438 a->exponent = S32_EXT(SENSOR_RES_EXP(ares));
676 s->exponent = S32_EXT(SENSOR_RES_EXP(sres));
/linux-master/drivers/hid/
H A Dwacom_sys.c197 unsigned unit, int exponent)
203 .unit_exponent = exponent,
196 wacom_calc_hid_res(int logical_extents, int physical_extents, unsigned unit, int exponent) argument
/linux-master/tools/testing/selftests/sgx/
H A Dsigstruct.c332 sigstruct->exponent = 3;
/linux-master/drivers/spi/
H A Dspi-zynqmp-gqspi.c703 u32 exponent = 8; /* 2^8 = 256 */ local
715 genfifoentry |= exponent;
721 exponent++;
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css-params.c50 int exponent = imgu_css_scaler_get_exp(output_width, input_width); local
51 int mantissa = (1 << exponent) * output_width;
99 info->exp_shift = IMGU_SCALER_MAX_EXPONENT_SHIFT - exponent;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfirmware.c87 u8 exponent[EXPONENT_SIZE]; member in struct:firmware_file
95 u8 exponent[EXPONENT_SIZE]; member in struct:augmented_firmware_file
114 u8 *exponent; /* pointer to the exponent */ member in struct:firmware_details
475 fdet->exponent = ff->exponent;
500 fdet->exponent = aff->exponent;
/linux-master/arch/x86/kernel/fpu/
H A Dregset.c298 switch (st->exponent & 0x7fff) {
/linux-master/arch/arm/vfp/
H A Dvfp.h150 s16 exponent; member in struct:vfp_single
160 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent
193 s->exponent = vfp_single_packed_exponent(val);
197 if (s->exponent && s->exponent != 255)
210 (s->exponent << VFP_SINGLE_MANTISSA_BITS) +
228 if (s->exponent == 255) {
235 } else if (s->exponent == 0) {
255 s16 exponent; member in struct:vfp_double
302 s->exponent
[all...]

Completed in 790 milliseconds

1234