/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
D | autogain_functions.c | 23 int i, steps, retval = 0; in gspca_expo_autogain() local 33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 36 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain() 38 for (i = 0; i < steps; i++) { in gspca_expo_autogain() 103 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local 118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 121 avg_lum, desired_avg_lum, steps); in gspca_coarse_grained_expo_autogain() 123 if ((gain + steps) > gain_high && in gspca_coarse_grained_expo_autogain() 128 } else if ((gain + steps) < gain_low && in gspca_coarse_grained_expo_autogain() 134 gain += steps; in gspca_coarse_grained_expo_autogain()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
D | rotary-encoder.txt | 9 - rotary-encoder,steps: Number of steps in a full turnaround of the 14 device, hence no steps need to be passed. 16 greater than the specified steps or smaller than 0. For absolute axis only. 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 23 - rotary-encoder,encoding: String, the method used to encode steps. 28 This property is deprecated. Instead, a 'steps-per-period ' value should 29 be used, such as "rotary-encoder,steps-per-period = <2>". 47 rotary-encoder,steps = <24>;
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | usbduxfast.c | 355 unsigned int steps; in usbduxfast_ai_cmdtest() local 402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest() 404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest() 407 err2 |= comedi_check_trigger_arg_min(&steps, 1); in usbduxfast_ai_cmdtest() 408 err2 |= comedi_check_trigger_arg_max(&steps, MAX_SAMPLING_PERIOD); in usbduxfast_ai_cmdtest() 411 arg = (steps * 1000) / 30; in usbduxfast_ai_cmdtest() 471 long steps, steps_tmp; in usbduxfast_ai_cmd() local 485 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmd() 513 if (steps < MIN_SAMPLING_PERIOD) { in usbduxfast_ai_cmd() 515 if (steps <= 1) { in usbduxfast_ai_cmd() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
D | TdcResults.py | 18 self.steps = [] 52 self.steps.extend(newstep) 54 self.steps.append(step) 59 return self.steps 100 if len(t.steps) > 0: 102 for step in t.steps: 118 if len(t.steps) > 0: 120 for step in t.steps:
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes() argument 555 *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; in sec_alg_alloc_and_calc_split_sizes() 556 sizes = kcalloc(*steps, sizeof(*sizes), gfp); in sec_alg_alloc_and_calc_split_sizes() 560 for (i = 0; i < *steps - 1; i++) in sec_alg_alloc_and_calc_split_sizes() 562 sizes[*steps - 1] = length - SEC_REQ_LIMIT * (*steps - 1); in sec_alg_alloc_and_calc_split_sizes() 569 int steps, struct scatterlist ***splits, in sec_map_and_split_sg() argument 580 *splits = kcalloc(steps, sizeof(struct scatterlist *), gfp); in sec_map_and_split_sg() 585 *splits_nents = kcalloc(steps, sizeof(int), gfp); in sec_map_and_split_sg() 592 ret = sg_split(sgl, count, 0, steps, split_sizes, in sec_map_and_split_sg() 615 static void sec_unmap_sg_on_err(struct scatterlist *sgl, int steps, in sec_unmap_sg_on_err() argument [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 1395 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors() 1476 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command() 1603 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw() 1606 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw() 1608 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw() 1609 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw() 1686 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page() 1687 if (cw == (ecc->steps - 1)) { in check_for_erased_page() 1688 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page() 1689 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page() [all …]
|
D | lpc32xx_slc.c | 531 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer() 535 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer() 540 if (i == chip->ecc.steps - 1) in lpc32xx_xfer() 572 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 615 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 621 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 630 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 659 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 682 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 695 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() [all …]
|
D | arasan-nand-controller.c | 128 int steps; member 252 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument 266 if (steps) in anfc_pkt_len_config() 267 *steps = nb; in anfc_pkt_len_config() 341 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc() 388 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc() 458 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc() 572 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions() 592 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions() 605 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op() [all …]
|
D | meson_nand.c | 359 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_get_data_oob() 378 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_set_data_oob() 424 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += 2) { in meson_nfc_set_user_byte() 437 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += 2) { in meson_nfc_get_user_byte() 452 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_ecc_correct() 641 info_len = nand->ecc.steps * PER_INFO_BYTE; in meson_nfc_write_page_sub() 689 memset(meson_chip->info_buf, 0, nand->ecc.steps * PER_INFO_BYTE); in meson_nfc_write_page_hwecc() 703 neccpages = raw ? 1 : nand->ecc.steps; in meson_nfc_check_ecc_pages_valid() 725 info_len = nand->ecc.steps * PER_INFO_BYTE; in meson_nfc_read_page_sub() 799 for (i = 0; i < nand->ecc.steps ; i++) { in meson_nfc_read_page_hwecc() [all …]
|
D | nand_base.c | 2674 int steps, size, ret; in nand_read_page_raw_syndrome() local 2680 for (steps = chip->ecc.steps; steps > 0; steps--) { in nand_read_page_raw_syndrome() 2735 int eccsteps = chip->ecc.steps; in nand_read_page_swecc() 2751 eccsteps = chip->ecc.steps; in nand_read_page_swecc() 2894 int eccsteps = chip->ecc.steps; in nand_read_page_hwecc() 2924 eccsteps = chip->ecc.steps; in nand_read_page_hwecc() 2966 int eccsteps = chip->ecc.steps; in nand_read_page_syndrome() 3317 for (i = 0; i < chip->ecc.steps; i++) { in nand_read_oob_syndrome() 3377 int ret, i, len, pos, sndcmd = 0, steps = chip->ecc.steps; in nand_write_oob_syndrome() local 3386 pos = steps * (eccsize + chunk); in nand_write_oob_syndrome() [all …]
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | rotary_encoder.c | 38 u32 steps; member 85 pos += encoder->steps; in rotary_encoder_report_event() 90 if (encoder->rollover || pos < encoder->steps) in rotary_encoder_report_event() 95 pos %= encoder->steps; in rotary_encoder_report_event() 201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe() 264 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | loongson1-cpufreq.c | 84 int steps, i; in ls1x_cpufreq_init() local 88 steps = 1 << DIV_CPU_WIDTH; in ls1x_cpufreq_init() 89 freq_tbl = kcalloc(steps, sizeof(*freq_tbl), GFP_KERNEL); in ls1x_cpufreq_init() 93 for (i = 0; i < (steps - 1); i++) { in ls1x_cpufreq_init()
|
/kernel/linux/linux-5.10/sound/soc/meson/ |
D | axg-pdm.c | 71 unsigned int steps; member 77 unsigned int steps; member 309 val = PDM_HCIC_CTRL1_STAGE_NUM(hcic->steps); in axg_pdm_set_hcic_ctrl() 346 val |= PDM_HPF_SFT_STEPS(hpf->steps); in axg_pdm_set_hpf_ctrl() 542 .steps = 7, 547 .steps = 13,
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | common.rst | 8 Programming a V4L2 device consists of these steps: 23 In practice most steps are optional and can be executed out of order. It
|
D | v4l2-selection-flags.rst | 41 steps. If this flag is not given, the configuration is propagated 42 inside the subdevice to all further processing steps.
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-class-fpga-manager | 19 states. The fpga manager driver is walking through these steps 21 though some steps may get skipped. Valid FPGA states will vary 34 * write complete = Doing post programming steps
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | exynos5422-odroidhc1.dts | 54 * by 2 steps. On Exynos5422/5800 that would 70 * further, down to 600 MHz (12 steps for big, 71 * 7 steps for LITTLE).
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | lm8323.c | 444 int div512, perstep, steps, hz, up, kill; in lm8323_pwm_work() local 461 steps = abs(pwm->desired_brightness - pwm->brightness); in lm8323_pwm_work() 467 if ((pwm->fade_time / steps) > (32768 / 512)) { in lm8323_pwm_work() 475 perstep = (hz * pwm->fade_time) / (steps * 1000); in lm8323_pwm_work() 482 while (steps) { in lm8323_pwm_work() 485 s = min(126, steps); in lm8323_pwm_work() 487 steps -= s; in lm8323_pwm_work()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | sp887x.c | 443 int steps = (sync0x200 >> 4) & 0x00f; in sp887x_read_status() local 444 if (steps & 0x008) in sp887x_read_status() 445 steps = -steps; in sp887x_read_status() 447 steps); in sp887x_read_status()
|
D | stv090x.c | 1588 s32 i, j, steps, dir; in stv090x_get_agc2_min_level() local 1611 steps = state->search_range / 1000000; in stv090x_get_agc2_min_level() 1612 if (steps <= 0) in stv090x_get_agc2_min_level() 1613 steps = 1; in stv090x_get_agc2_min_level() 1619 for (i = 0; i < steps; i++) { in stv090x_get_agc2_min_level() 1683 s32 tmg_cpt = 0, dir = 1, steps, cur_step = 0, freq; in stv090x_srate_srch_coarse() local 1745 steps = -1 + ((state->search_range / 1000) / car_step); in stv090x_srate_srch_coarse() 1746 steps /= 2; in stv090x_srate_srch_coarse() 1747 steps = (2 * steps) + 1; in stv090x_srate_srch_coarse() 1748 if (steps < 0) in stv090x_srate_srch_coarse() [all …]
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | ti_am335x_tsc.c | 490 u32 steps; in titsc_remove() local 497 steps = 2 * ts_dev->coordinate_readouts + 2; in titsc_remove() 498 steps = (1 << steps) - 1; in titsc_remove() 499 am335x_tsc_se_clr(ts_dev->mfd_tscadc, steps); in titsc_remove()
|
/kernel/linux/linux-5.10/drivers/staging/pi433/Documentation/ |
D | pi433.txt | 187 step_0_5db - increase in 0,5dB steps 188 step_1_0db - increase in 1 db steps 189 step_1_5db - increase in 1,5dB steps 190 step_2_0db - increase in 2 db steps 191 step_3_0db - increase in 3 db steps 192 step_4_0db - increase in 4 db steps 193 step_5_0db - increase in 5 db steps 194 step_6_0db - increase in 6 db steps
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | ti_am335x_adc.c | 110 int i, steps = 0; in tiadc_step_config() local 144 tiadc_writel(adc_dev, REG_STEPCONFIG(steps), in tiadc_step_config() 162 tiadc_writel(adc_dev, REG_STEPDELAY(steps), in tiadc_step_config() 166 adc_dev->channel_step[i] = steps; in tiadc_step_config() 167 steps++; in tiadc_step_config()
|
/kernel/linux/linux-5.10/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 319 *val = st->steps; in iio_dummy_read_raw() 451 st->steps = val; in iio_dummy_write_raw() 547 st->steps = 47; in iio_dummy_init_device()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
D | ltc3589.txt | 21 0.3625 V to 0.75 V in 12.5 mV steps. The output voltage thus ranges between 26 and 3.2 V on LTC3589-1,2 in four steps. The ldo1 standby regulator can not
|