Home
last modified time | relevance | path

Searched refs:step_size (Results 1 – 25 of 88) sorted by relevance

1234

/Linux-v5.4/arch/powerpc/kernel/
Dtau_6xx.c50 #define step_size 2 /* step size when temp goes out of range */ macro
88 if (tau[cpu].low >= step_size){ in TAUupdate()
89 tau[cpu].low -= step_size; in TAUupdate()
90 tau[cpu].high -= (step_size - window_expand); in TAUupdate()
100 if (tau[cpu].high <= 127-step_size){ in TAUupdate()
101 tau[cpu].low += (step_size - window_expand); in TAUupdate()
102 tau[cpu].high += step_size; in TAUupdate()
/Linux-v5.4/arch/x86/mm/
Dinit.c532 static unsigned long __init get_new_step_size(unsigned long step_size) in get_new_step_size() argument
548 return step_size << (PMD_SHIFT - PAGE_SHIFT - 1); in get_new_step_size()
565 unsigned long step_size; in memory_map_top_down() local
574 step_size = PMD_SIZE; in memory_map_top_down()
586 if (last_start > step_size) { in memory_map_top_down()
587 start = round_down(last_start - 1, step_size); in memory_map_top_down()
596 if (mapped_ram_size >= step_size) in memory_map_top_down()
597 step_size = get_new_step_size(step_size); in memory_map_top_down()
621 unsigned long step_size = PMD_SIZE; in memory_map_bottom_up() local
633 if (step_size && map_end - start > step_size) { in memory_map_bottom_up()
[all …]
/Linux-v5.4/drivers/media/dvb-frontends/
Dtda8261.c103 N = (frequency + (div_tab[config->step_size] - 1)) / div_tab[config->step_size]; in tda8261_set_params()
105 __func__, config->step_size, div_tab[config->step_size], N, N); in tda8261_set_params()
109 buf[2] = (0x01 << 7) | ((ref_div[config->step_size] & 0x07) << 1); in tda8261_set_params()
180 fe->ops.tuner_ops.info.frequency_step_hz = div_tab[config->step_size] * kHz; in tda8261_attach()
Dtda10086.c662 fesettings->step_size = 2000; in tda10086_get_tune_settings()
666 fesettings->step_size = 1500; in tda10086_get_tune_settings()
670 fesettings->step_size = 1000; in tda10086_get_tune_settings()
674 fesettings->step_size = 500; in tda10086_get_tune_settings()
678 fesettings->step_size = p->symbol_rate / 8000; in tda10086_get_tune_settings()
679 fesettings->max_drift = 14 * fesettings->step_size; in tda10086_get_tune_settings()
682 fesettings->step_size = p->symbol_rate / 8000; in tda10086_get_tune_settings()
683 fesettings->max_drift = 18 * fesettings->step_size; in tda10086_get_tune_settings()
Ds5h1420.c764 fesettings->step_size = 2000; in s5h1420_get_tune_settings()
768 fesettings->step_size = 1500; in s5h1420_get_tune_settings()
772 fesettings->step_size = 1000; in s5h1420_get_tune_settings()
776 fesettings->step_size = 500; in s5h1420_get_tune_settings()
780 fesettings->step_size = (p->symbol_rate / 8000); in s5h1420_get_tune_settings()
781 fesettings->max_drift = 14 * fesettings->step_size; in s5h1420_get_tune_settings()
784 fesettings->step_size = (p->symbol_rate / 8000); in s5h1420_get_tune_settings()
785 fesettings->max_drift = 18 * fesettings->step_size; in s5h1420_get_tune_settings()
Dtda8261.h22 enum tda8261_step step_size; member
Dstb0899_algo.c970 s32 steps, step_size; in stb0899_dvbs2_init_calc() local
982 step_size = (1 << 17) / 5; in stb0899_dvbs2_init_calc()
984 step_size = (1 << 17) / 7; in stb0899_dvbs2_init_calc()
986 step_size = (1 << 17) / 10; in stb0899_dvbs2_init_calc()
988 step_size = (1 << 17) / 4; in stb0899_dvbs2_init_calc()
991 steps = (10 * range * (1 << 17)) / (step_size * (internal->srate / 1000000)); in stb0899_dvbs2_init_calc()
996 (internal->step_size * (internal->srate / 20000000)), in stb0899_dvbs2_init_calc()
1005 STB0899_SETFIELD_VAL(FREQ_STEPSIZE, reg, step_size); in stb0899_dvbs2_init_calc()
Dtc90522.c518 settings->step_size = 1000; in tc90522_get_tune_settings()
519 settings->max_drift = settings->step_size * 2; in tc90522_get_tune_settings()
522 settings->step_size = 142857; in tc90522_get_tune_settings()
523 settings->max_drift = settings->step_size; in tc90522_get_tune_settings()
/Linux-v5.4/arch/arm/mach-omap2/
Domap_twl.c134 .step_size = 12500,
150 .step_size = 12500,
166 .step_size = 12660,
184 .step_size = 12660,
202 .step_size = 12660,
Dvoltage.h122 int step_size; member
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_samsung.c74 chip->base.eccreq.step_size = 512; in samsung_nand_decode_id()
77 chip->base.eccreq.step_size = 1024; in samsung_nand_decode_id()
90 chip->base.eccreq.step_size = 0; in samsung_nand_decode_id()
100 chip->base.eccreq.step_size = 512; in samsung_nand_decode_id()
Dnand_hynix.c502 chip->base.eccreq.step_size = 1024; in hynix_nand_extract_ecc_requirements()
506 chip->base.eccreq.step_size = 0; in hynix_nand_extract_ecc_requirements()
546 chip->base.eccreq.step_size = 512; in hynix_nand_extract_ecc_requirements()
550 chip->base.eccreq.step_size = 2048; in hynix_nand_extract_ecc_requirements()
552 chip->base.eccreq.step_size = 1024; in hynix_nand_extract_ecc_requirements()
566 chip->base.eccreq.step_size = 0; in hynix_nand_extract_ecc_requirements()
569 chip->base.eccreq.step_size = 512; in hynix_nand_extract_ecc_requirements()
572 chip->base.eccreq.step_size = 1024; in hynix_nand_extract_ecc_requirements()
Dnand_esmt.c17 chip->base.eccreq.step_size = 512; in esmt_nand_decode_id()
30 chip->base.eccreq.step_size = 0; in esmt_nand_decode_id()
Dnand_toshiba.c124 chip->base.eccreq.step_size = 512; in toshiba_nand_decode_id()
137 chip->base.eccreq.step_size = 0; in toshiba_nand_decode_id()
Dnand_onfi.c98 chip->base.eccreq.step_size = 1 << ecc->codeword_size; in nand_flash_detect_ext_param_page()
256 chip->base.eccreq.step_size = 512; in nand_onfi_detect()
Dnand_jedec.c114 chip->base.eccreq.step_size = 1 << ecc->codeword_size; in nand_jedec_detect()
Dnand_base.c4568 chip->base.eccreq.step_size = NAND_ECC_STEP(type); in find_full_id_nand()
5248 int req_step = chip->base.eccreq.step_size; in nand_match_ecc_req()
5250 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
5264 step_size = stepinfo->stepsize; in nand_match_ecc_req()
5274 if (step_size < req_step && strength < req_strength) in nand_match_ecc_req()
5277 if (mtd->writesize % step_size) in nand_match_ecc_req()
5280 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
5282 ecc_bytes = caps->calc_ecc_bytes(step_size, strength); in nand_match_ecc_req()
5297 best_step = step_size; in nand_match_ecc_req()
5329 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_14nm.c264 u64 step_size; in pll_14nm_ssc_calc() local
277 step_size = (u32)pll->vco_current_rate; in pll_14nm_ssc_calc()
280 step_size = div_u64(step_size, ref); in pll_14nm_ssc_calc()
281 step_size <<= 20; in pll_14nm_ssc_calc()
282 step_size = div_u64(step_size, 1000); in pll_14nm_ssc_calc()
283 step_size *= pll->in.ssc_spread; in pll_14nm_ssc_calc()
284 step_size = div_u64(step_size, 1000); in pll_14nm_ssc_calc()
285 step_size *= (pll->in.ssc_adj_period + 1); in pll_14nm_ssc_calc()
288 step_size = div_u64_rem(step_size, ssc_period + 1, &rem); in pll_14nm_ssc_calc()
290 step_size++; in pll_14nm_ssc_calc()
[all …]
/Linux-v5.4/drivers/clk/
Dclk-scmi.c61 ftmp += clk->info->range.step_size - 1; /* to round up */ in scmi_clk_round_rate()
62 do_div(ftmp, clk->info->range.step_size); in scmi_clk_round_rate()
64 return ftmp * clk->info->range.step_size + fmin; in scmi_clk_round_rate()
/Linux-v5.4/drivers/iio/dac/
Dad5755.c512 val = pdata->dac[i].slew.step_size << in ad5755_setup_pdata()
586 .step_size = AD5755_SLEW_STEP_SIZE_1, \
690 pdata->dac[devnr].slew.step_size = AD5755_SLEW_STEP_SIZE_1; in ad5755_parse_dt()
693 pdata->dac[devnr].slew.step_size = in ad5755_parse_dt()
706 pdata->dac[devnr].slew.step_size = in ad5755_parse_dt()
/Linux-v5.4/include/linux/platform_data/
Dad5755.h97 enum ad5755_slew_step_size step_size; member
/Linux-v5.4/drivers/spi/
Dspi-bcm63xx-hsspi.c161 int step_size = HSSPI_BUFFER_LEN; in bcm63xx_hsspi_do_txrx() local
176 step_size -= HSSPI_OPCODE_LEN; in bcm63xx_hsspi_do_txrx()
187 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx()
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dhfi_parser.h42 return cap->step_size; in get_cap()
/Linux-v5.4/drivers/firmware/arm_scmi/
Dclock.c166 clk->range.step_size = RATE_TO_U64(rlist->rate[2]); in scmi_clock_describe_rates_get()
169 clk->range.step_size); in scmi_clock_describe_rates_get()
/Linux-v5.4/include/linux/mtd/
Dnand.h123 unsigned int step_size; member
126 #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) }

1234