Searched refs:scale (Results 201 - 225 of 327) sorted by relevance

1234567891011>>

/linux-master/drivers/ufs/core/
H A Dufs-sysfs.c181 int scale = FIELD_GET(UFSHCI_AHIBERN8_SCALE_MASK, ahit); local
183 for (; scale > 0; --scale)
192 unsigned int scale; local
194 for (scale = 0; timer > UFSHCI_AHIBERN8_TIMER_MASK; ++scale)
198 FIELD_PREP(UFSHCI_AHIBERN8_SCALE_MASK, scale);
/linux-master/drivers/net/ipa/
H A Dipa_endpoint.c1053 u32 scale; local
1085 * scale fields within the 32-bit timer register, where:
1086 * ticks = base << scale;
1094 scale = high > width ? high - width : 0;
1095 if (scale) {
1097 ticks += 1 << (scale - 1);
1100 scale++;
1103 val = reg_encode(reg, TIMER_SCALE, scale);
1104 val |= reg_encode(reg, TIMER_BASE_VALUE, (u32)ticks >> scale);
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c20 * -full or half size Grey scale: all 4 channels at once
135 u32 scale; /* output video scale */ member in struct:s2255_mode
841 mode.scale = SCALE_4CIFSI;
843 mode.scale = SCALE_4CIFS;
845 mode.scale = SCALE_2CIFS;
848 mode.scale = SCALE_1CIFS;
875 else if (mode.scale != vc->mode.scale)
911 switch (mode->scale) {
[all...]
/linux-master/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c31 bool scale; /* Scale */ member in struct:bdisp_op_cfg
44 u16 min; /* Filter min scale factor (6.10 fixed point) */
45 u16 max; /* Filter max scale factor (6.10 fixed point) */
590 * Computes the increment (inverse of scale) in 6.10 format
623 * Computes the horizontal & vertical increments (inverse of scale)
640 "scale factors failed (%dx%d)->(%dx%d)\n",
698 c->scale = true;
700 c->scale = false;
824 node->ins |= (cfg->scale || cfg->src_420 || cfg->dst_420) ?
923 /* Resize (scale O
[all...]
/linux-master/drivers/iio/temperature/
H A Dmlx90632.c759 static s64 mlx90632_calc_ta4(s64 TAdut, s64 scale) argument
761 return (div64_s64(TAdut, scale) + 27315) *
762 (div64_s64(TAdut, scale) + 27315) *
763 (div64_s64(TAdut, scale) + 27315) *
764 (div64_s64(TAdut, scale) + 27315);
/linux-master/drivers/platform/x86/intel/pmc/
H A Dcore.c608 * 3 bit scale and 10 bit value fields. Values are
609 * multiplied by the indicated scale to yield an absolute time
613 * scale encoding is as follows:
616 * |scale factor | Multiplier (ns) |
629 pr_warn("Invalid LTR scale factor.\n");
640 u32 ltr_raw_data, scale, val; local
660 scale = FIELD_GET(LTR_DECODED_SCALE, nonsnoop_ltr);
662 decoded_non_snoop_ltr = val * convert_ltr_scale(scale);
665 scale = FIELD_GET(LTR_DECODED_SCALE, snoop_ltr);
667 decoded_snoop_ltr = val * convert_ltr_scale(scale);
[all...]
/linux-master/drivers/soundwire/
H A Dbus.c1283 unsigned int scale; local
1289 * frequency base and scale registers are required for SDCA
1341 scale = mclk_freq / curr_freq;
1344 * map scale to Table 90 of SoundWire 1.2 spec - and check
1345 * that the scale is a power of two and maximum 64
1347 scale_index = ilog2(scale);
1349 if (BIT(scale_index) != scale || scale_index > 6) {
1351 "No match found for scale %d, bus mclk %d curr_freq %d\n",
1352 scale, mclk_freq, curr_freq);
1364 /* initialize scale fo
[all...]
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1061 double scale[NUM_RAPL_COUNTERS]; member in struct:rapl_counter_info_t
1206 double scale; member in struct:rapl_counter
2190 const unsigned long long energy_value = c->core_energy.raw_value * c->core_energy.scale;
2191 const double energy_scale = c->core_energy.scale;
2194 outp += sprintf(outp, "Joules: %0llX (scale: %lf)\n", energy_value, energy_scale);
2254 const double scaled = c->raw_value * c->scale;
2862 c->scale = 0.0;
2941 /* Copy unit and scale from src if dst is not initialized */
2944 dst->scale = src->scale;
3452 double scale; local
6797 const double scale = read_perf_rapl_scale(cai->perf_subsys, cai->perf_name); local
6824 add_rapl_perf_counter(int cpu, struct rapl_counter_info_t *rci, const struct rapl_counter_arch_info *cai, double *scale, enum rapl_unit *unit) argument
6890 double scale; local
[all...]
/linux-master/arch/m68k/ifpsp060/src/
H A Dfpsp.S9573 # fp0 = scale(X,Y) #
10166 # Entry point for scale w/ extended denorm. The function does
10269 # - t_ovfl_sc() is provided for scale() which only sets #
11528 # scale_to_zero_src() - scale src exponent to zero #
11529 # scale_to_zero_dst() - scale dst exponent to zero #
11547 # For norms/denorms, scale the exponents such that a multiply #
11551 # and return the EXOP if exceptions are enabled. Else, scale the #
11596 bsr.l scale_to_zero_src # scale src exponent
11597 mov.l %d0,-(%sp) # save scale factor 1
11599 bsr.l scale_to_zero_dst # scale ds
[all...]
/linux-master/drivers/input/misc/
H A Diqs269a.c1103 int scale = 1; local
1130 * tap and swipe gesture timeouts; scale them appropriately.
1133 scale = 4;
1137 if (val > IQS269_TIMEOUT_TAP_MS_MAX / scale) {
1143 sys_reg->timeout_tap = val / (16 / scale);
1149 if (val > IQS269_TIMEOUT_SWIPE_MS_MAX / scale) {
1155 sys_reg->timeout_swipe = val / (16 / scale);
/linux-master/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2.c63 int sx, int sy, int ex, int ey, int scale)
73 SOLO_VI_WIN_SCALE(scale));
62 solo_win_setup(struct solo_dev *solo_dev, u8 ch, int sx, int sy, int ex, int ey, int scale) argument
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-sx8.c78 p->cnr.stat[0].scale = FE_SCALE_DECIBEL;
95 p->strength.stat[0].scale = FE_SCALE_DECIBEL;
/linux-master/drivers/iio/common/st_sensors/
H A Dst_sensors_core.c373 dev_info(&indio_dev->dev, "Full-scale not possible\n");
472 int st_sensors_set_fullscale_by_gain(struct iio_dev *indio_dev, int scale) argument
478 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) &&
/linux-master/drivers/media/dvb-frontends/
H A Dcxd2820r_core.c225 if (c->strength.stat[0].scale == FE_SCALE_RELATIVE)
241 if (c->cnr.stat[0].scale == FE_SCALE_DECIBEL)
/linux-master/drivers/hwmon/
H A Dcorsair-psu.c143 static int corsairpsu_linear11_to_int(const u16 val, const int scale) argument
147 const int result = mant * scale;
/linux-master/tools/lib/perf/
H A Devsel.c541 bool scale, __s8 *pscaled)
545 if (scale) {
540 perf_counts_values__scale(struct perf_counts_values *count, bool scale, __s8 *pscaled) argument
/linux-master/tools/iio/
H A Diio_utils.c421 current->scale = 1.0;
473 /* Find the scale */
474 ret = iioutils_get_param_float(&current->scale,
475 "scale",
/linux-master/include/linux/
H A Dscmi_protocol.h157 * or in some other (abstract) scale
244 * @scale: Power-of-10 multiplier applied to the axis unit.
260 int scale; member in struct:scmi_sensor_axis_info
308 * @scale: Power-of-10 multiplier applied to the sensor unit.
344 int scale; member in struct:scmi_sensor_info
627 * reports power data on an abstract linear scale.
/linux-master/arch/arm/mach-imx/
H A Dmmdc.c92 PMU_EVENT_ATTR_STRING(read-bytes.scale, mmdc_pmu_read_bytes_scale, "0.000001");
95 PMU_EVENT_ATTR_STRING(write-bytes.scale, mmdc_pmu_write_bytes_scale, "0.000001");
/linux-master/tools/perf/util/
H A Devsel.h82 double scale; member in struct:evsel::__anon492
379 int __evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread, bool scale);
/linux-master/net/netfilter/
H A Dxt_hashlimit.c491 u64 scale = (revision == 1) ? local
497 if (scale >= HZ * cpj)
498 return div64_u64(user, div64_u64(scale, HZ * cpj));
500 return user * div64_u64(HZ * cpj, scale);
/linux-master/drivers/input/mouse/
H A Dfocaltech.c401 enum psmouse_scale scale)
441 * rate/resolution/scale changes are not supported yet, and
400 focaltech_set_scale(struct psmouse *psmouse, enum psmouse_scale scale) argument
/linux-master/drivers/iio/accel/
H A Dbma400_core.c37 * The G-range selection may be one of 2g, 4g, 8, or 16g. The scale may
106 int scale; member in struct:bma400_data
701 data->scale = BMA400_SCALE_MIN << raw_scale;
726 data->scale = val;
998 *val2 = data->scale;
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-core.h370 const struct v4l2_area *scale,
/linux-master/include/uapi/sound/
H A Dasoc.h258 struct snd_soc_tplg_tlv_dbscale scale; member in union:snd_soc_tplg_ctl_tlv::__anon1306

Completed in 391 milliseconds

1234567891011>>