Searched refs:scale (Results 251 - 275 of 327) sorted by relevance

<<11121314

/linux-master/drivers/clk/tegra/
H A Dclk-dfll.c471 * Apply the same scaling formula that the DFLL hardware uses to scale
841 int scale; local
843 scale = DIV_ROUND_CLOSEST(rate / 1000 * DFLL_FREQ_REQ_SCALE_MAX,
845 if (!scale) {
850 req->scale_bits = scale - 1;
854 /* Convert requested rate into frequency request and scale settings */
1915 "nvidia,cg-scale");
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-boe-bf060y8m-aj0.c272 .scale = BACKLIGHT_SCALE_NON_LINEAR,
/linux-master/include/net/
H A Dinet_hashtables.h70 * to say, this does not scale at all. With a couple thousand FTP
295 unsigned long numentries, int scale,
/linux-master/drivers/iio/accel/
H A Dbmi088-accel-core.c118 int scale; member in struct:bmi088_scale_info
337 /* Offset applies before scale */
H A Dfxls8962af-core.c346 static int fxls8962af_set_full_scale(struct fxls8962af_data *data, u32 scale) argument
351 if (scale == fxls8962af_scale_table[i][1])
/linux-master/include/linux/
H A Dmemblock.h588 int scale,
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_sprite.c730 int scale, i; local
740 scale = 4;
743 gamma[i] = min((scale * i << 10) / 16, (1 << 10) - 1);
745 gamma[i] = min((scale * i << 10) / 16, 1 << 10);
H A Dskl_scaler.c53 static u16 skl_scaler_calc_phase(int sub, int scale, bool chroma_cosited) argument
61 phase += scale / (2 * sub);
65 * Since the max hardware scale factor is 3.0, we
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h600 int scale; member in struct:dpp_cursor_attributes
/linux-master/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
H A Ddcn10_dpp.c497 REG_UPDATE(CURSOR0_FP_SCALE_BIAS, CUR0_FP_SCALE, attr->scale);
/linux-master/tools/perf/util/
H A Dstat-display.c662 double sc = evsel->scale;
686 double sc = evsel->scale;
1009 uval = val * counter->scale;
1160 uval = val * counter->scale;
H A Dsynthetic-events.c1393 ADD(SCALE, config->scale)
2016 ev->scale.scale = evsel->scale;
2087 return evsel->scale != 1;
2098 * attr event - unit, scale, name
2105 * Synthesize unit and scale only if it's defined.
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c275 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale);
284 cmd[0] |= FIELD_PREP(CMDQ_TLBI_0_SCALE, ent->tlbi.scale);
2115 * where both scale and num could be 0 as well.
2134 unsigned long scale, num; local
2137 scale = __ffs(num_pages);
2138 cmd->tlbi.scale = scale;
2140 /* Determine how many chunks of 2^scale size we have */
2141 num = (num_pages >> scale) & CMDQ_TLBI_RANGE_NUM_MAX;
2144 /* range is num * 2^scale * pgsiz
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dgen_except.S245 | Only scosh, setox, ssinh, stwotox, and scale can set overflow in
248 | Stwotox, setox, and scale can set underflow in this manner.
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c138 const struct v4l2_area scale = { local
148 &in_size, &scale, &crop,
/linux-master/drivers/firmware/arm_scmi/
H A Dsensors.c430 a->scale = S32_EXT(SENSOR_SCALE(attrh));
620 s->scale = S32_EXT(SENSOR_SCALE(attrh));
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c243 static const u32 scale = BIT(HW_ATL_TPS_DESC_RATE_Y_WIDTH); local
327 const u32 rate = 10000U * scale /
/linux-master/lib/zstd/decompress/
H A Dhuf_decompress.c304 U32 const scale = targetTableLog - tableLog; local
306 /* Increase the weight for all non-zero probability symbols by scale. */
308 huffWeight[s] += (BYTE)((huffWeight[s] == 0) ? 0 : scale);
311 * All weights except 0 get moved to weight + scale.
312 * Weights [1, scale] are empty.
314 for (s = targetTableLog; s > scale; --s) {
315 rankVal[s] = rankVal[s - scale];
317 for (s = scale; s > 0; --s) {
/linux-master/sound/soc/
H A Dsoc-topology.c601 struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale)
612 p[2] = le32_to_cpu(scale->min);
613 p[3] = (le32_to_cpu(scale->step) & TLV_DB_SCALE_MASK)
614 | (le32_to_cpu(scale->mute) ? TLV_DB_SCALE_MUTE : 0);
634 &tplg_tlv->scale);
600 soc_tplg_create_tlv_db_scale(struct soc_tplg *tplg, struct snd_kcontrol_new *kc, struct snd_soc_tplg_tlv_dbscale *scale) argument
/linux-master/drivers/net/ethernet/realtek/
H A Dr8169_main.c1884 /* rx/tx scale factors for all CPlusCmd[0:1] cases */
1908 /* get rx/tx scale vector corresponding to current speed */
1938 u32 scale, c_us, c_fr; local
1946 /* get rx/tx scale corresponding to current speed and CPlusCmd[0:1] */
1951 scale = ci->scale_nsecs[tp->cp_cmd & INTT_MASK];
1956 ec->tx_coalesce_usecs = DIV_ROUND_UP(c_us * scale, 1000);
1963 ec->rx_coalesce_usecs = DIV_ROUND_UP(c_us * scale, 1000);
1971 /* choose appropriate scale factor and CPlusCmd[0:1] for (speed, usec) */
2002 int scale; local
2011 scale
[all...]
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_nx.c1447 int scale, shift_amount, startword; local
1470 scale = 2;
1475 (i << shift_amount), &word[i * scale], 8))
1513 temp = word[i * scale] & 0xffffffff;
1515 temp = (word[i * scale] >> 32) & 0xffffffff;
1517 temp = word[i*scale + 1] & 0xffffffff;
1520 temp = (word[i*scale + 1] >> 32) & 0xffffffff;
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_nx.c1288 int scale, shift_amount, startword; local
1311 scale = 2;
1316 (i << shift_amount), &word[i * scale], 8))
1353 temp = word[i * scale] & 0xffffffff;
1355 temp = (word[i * scale] >> 32) & 0xffffffff;
1357 temp = word[i*scale + 1] & 0xffffffff;
1360 temp = (word[i*scale + 1] >> 32) & 0xffffffff;
/linux-master/sound/usb/
H A Dmixer.c551 DECLARE_TLV_DB_MINMAX(scale, 0, 0);
553 if (size < sizeof(scale))
556 scale[0] = SNDRV_CTL_TLVT_DB_MINMAX_MUTE;
557 scale[2] = cval->dBmin;
558 scale[3] = cval->dBmax;
559 if (copy_to_user(_tlv, scale, sizeof(scale)))
1327 /* USB descriptions contain the dB scale in 1/256 dB unit
/linux-master/drivers/media/platform/nxp/dw100/
H A Ddw100.c1193 static void dw100_hw_set_scale(struct dw100_device *dw_dev, u8 scale) argument
1195 dev_dbg(&dw_dev->pdev->dev, "Setting scale factor to %u\n", scale);
1197 dw100_write(dw_dev, DW100_SCALE_FACTOR, scale);
/linux-master/kernel/sched/
H A Dcore.c7494 unsigned long util, irq, scale; local
7497 scale = arch_scale_cpu_capacity(cpu);
7505 if (unlikely(irq >= scale)) {
7507 *min = scale;
7509 *max = scale;
7510 return scale;
7527 *min = max(*min, scale);
7544 *max = min(scale, uclamp_rq_get(rq, UCLAMP_MAX));
7546 if (util >= scale)
7547 return scale;
[all...]

Completed in 625 milliseconds

<<11121314