/drivers/media/dvb-frontends/ |
D | tda8261.c | 103 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()
|
D | tda10086.c | 662 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()
|
D | s5h1420.c | 764 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()
|
D | tda8261.h | 22 enum tda8261_step step_size; member
|
D | stb0899_algo.c | 970 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()
|
D | tc90522.c | 518 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()
|
D | stb0899_priv.h | 185 s16 step_size; /* Carrier frequency search step size */ member
|
D | stv0299.c | 649 fesettings->step_size = p->symbol_rate / 32000; in stv0299_get_tune_settings() 652 fesettings->step_size = p->symbol_rate / 16000; in stv0299_get_tune_settings()
|
/drivers/mtd/nand/raw/ |
D | nand_samsung.c | 76 requirements.step_size = 512; in samsung_nand_decode_id() 79 requirements.step_size = 1024; in samsung_nand_decode_id() 92 requirements.step_size = 0; in samsung_nand_decode_id() 102 requirements.step_size = 512; in samsung_nand_decode_id()
|
D | nand_hynix.c | 504 requirements.step_size = 1024; in hynix_nand_extract_ecc_requirements() 508 requirements.step_size = 0; in hynix_nand_extract_ecc_requirements() 548 requirements.step_size = 512; in hynix_nand_extract_ecc_requirements() 552 requirements.step_size = 2048; in hynix_nand_extract_ecc_requirements() 554 requirements.step_size = 1024; in hynix_nand_extract_ecc_requirements() 568 requirements.step_size = 0; in hynix_nand_extract_ecc_requirements() 571 requirements.step_size = 512; in hynix_nand_extract_ecc_requirements() 574 requirements.step_size = 1024; in hynix_nand_extract_ecc_requirements()
|
D | nand_esmt.c | 20 requirements.step_size = 512; in esmt_nand_decode_id() 33 requirements.step_size = 0; in esmt_nand_decode_id()
|
D | nand_toshiba.c | 180 requirements.step_size = 512; in toshiba_nand_decode_id() 193 requirements.step_size = 0; in toshiba_nand_decode_id()
|
D | nand_onfi.c | 100 requirements.step_size = 1 << ecc->codeword_size; in nand_flash_detect_ext_param_page() 275 .step_size = 512, in nand_onfi_detect()
|
D | nand_base.c | 4613 requirements.step_size = NAND_ECC_STEP(type); in find_full_id_nand() 5032 chip->ecc.size = nand->ecc.user_conf.step_size; in rawnand_dt_init() 5374 int req_step = requirements->step_size; in nand_match_ecc_req() 5376 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local 5390 step_size = stepinfo->stepsize; in nand_match_ecc_req() 5400 if (step_size < req_step && strength < req_strength) in nand_match_ecc_req() 5403 if (mtd->writesize % step_size) in nand_match_ecc_req() 5406 nsteps = mtd->writesize / step_size; in nand_match_ecc_req() 5408 ecc_bytes = caps->calc_ecc_bytes(step_size, strength); in nand_match_ecc_req() 5423 best_step = step_size; in nand_match_ecc_req() [all …]
|
D | nand_jedec.c | 126 .step_size = 1 << ecc->codeword_size, in nand_jedec_detect()
|
/drivers/phy/xilinx/ |
D | phy-zynqmp.c | 181 u32 step_size; member 341 u32 step_size; in xpsgtr_configure_pll() local 344 step_size = ssc->step_size; in xpsgtr_configure_pll() 358 STEP_SIZE_0_MASK, step_size & STEP_SIZE_0_MASK); in xpsgtr_configure_pll() 361 step_size >>= STEP_SIZE_SHIFT; in xpsgtr_configure_pll() 363 STEP_SIZE_1_MASK, step_size & STEP_SIZE_1_MASK); in xpsgtr_configure_pll() 366 step_size >>= STEP_SIZE_SHIFT; in xpsgtr_configure_pll() 368 STEP_SIZE_2_MASK, step_size & STEP_SIZE_2_MASK); in xpsgtr_configure_pll() 380 step_size >>= STEP_SIZE_SHIFT; in xpsgtr_configure_pll() 382 STEP_SIZE_3_MASK, (step_size & STEP_SIZE_3_MASK) | in xpsgtr_configure_pll()
|
/drivers/gpu/drm/msm/dsi/pll/ |
D | dsi_pll_14nm.c | 264 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 …]
|
/drivers/mtd/nand/ |
D | ecc.c | 436 nand->ecc.user_conf.step_size = size; in of_get_nand_ecc_user_config() 467 if (conf->step_size == 0 || reqs->step_size == 0) in nand_ecc_is_strong_enough() 475 corr = (mtd->writesize * conf->strength) / conf->step_size; in nand_ecc_is_strong_enough() 476 ds_corr = (mtd->writesize * reqs->strength) / reqs->step_size; in nand_ecc_is_strong_enough()
|
/drivers/clk/ |
D | clk-scmi.c | 63 ftmp += clk->info->range.step_size - 1; /* to round up */ in scmi_clk_round_rate() 64 do_div(ftmp, clk->info->range.step_size); in scmi_clk_round_rate() 66 return ftmp * clk->info->range.step_size + fmin; in scmi_clk_round_rate()
|
/drivers/iio/dac/ |
D | ad5755.c | 516 val = pdata->dac[i].slew.step_size << in ad5755_setup_pdata() 590 .step_size = AD5755_SLEW_STEP_SIZE_1, \ 691 pdata->dac[devnr].slew.step_size = AD5755_SLEW_STEP_SIZE_1; in ad5755_parse_dt() 694 pdata->dac[devnr].slew.step_size = in ad5755_parse_dt() 706 pdata->dac[devnr].slew.step_size = in ad5755_parse_dt()
|
/drivers/spi/ |
D | spi-bcm63xx-hsspi.c | 163 int step_size = HSSPI_BUFFER_LEN; in bcm63xx_hsspi_do_txrx() local 179 step_size -= HSSPI_OPCODE_LEN; in bcm63xx_hsspi_do_txrx() 195 int curr_step = min_t(int, step_size, pending); in bcm63xx_hsspi_do_txrx()
|
/drivers/media/platform/qcom/venus/ |
D | hfi_parser.h | 42 return cap->step_size; in get_cap()
|
/drivers/firmware/arm_scmi/ |
D | clock.c | 183 clk->range.step_size = RATE_TO_U64(rlist->rate[2]); in scmi_clock_describe_rates_get() 186 clk->range.step_size); in scmi_clock_describe_rates_get()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_crtc.c | 867 u32 step_size; in amdgpu_atombios_crtc_set_pll() local 875 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 878 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 880 amdgpu_crtc->ss.step = step_size; in amdgpu_atombios_crtc_set_pll()
|
/drivers/media/usb/ttusb-dec/ |
D | ttusbdecfe.c | 98 fesettings->step_size = 0; in ttusbdecfe_dvbt_get_tune_settings()
|