/linux-6.12.1/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()
|
/linux-6.12.1/drivers/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 …]
|
/linux-6.12.1/drivers/mtd/nand/ |
D | ecc-mxic.c | 104 int steps; member 140 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_ecc() 155 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_free() 226 int step_size = 0, strength = 0, desired_correction = 0, steps, idx; in mxic_ecc_init_ctx() local 261 steps = mtd->writesize / step_size; in mxic_ecc_init_ctx() 262 desired_correction = steps * strength; in mxic_ecc_init_ctx() 267 steps = mtd->writesize / conf->step_size; in mxic_ecc_init_ctx() 269 ctx->status = devm_kzalloc(dev, steps * sizeof(u8), GFP_KERNEL); in mxic_ecc_init_ctx() 274 strength = desired_correction / steps; in mxic_ecc_init_ctx() 289 if (spare_size[idx] * steps <= mtd->oobsize) in mxic_ecc_init_ctx() [all …]
|
/linux-6.12.1/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 101 if len(t.steps) > 0: 103 for step in t.steps: 119 if len(t.steps) > 0: 121 for step in t.steps:
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-iio-frequency-admv1014 | 5 Read/write value for the digital attenuator gain (IF_I) with coarse steps. 11 Read/write value for the digital attenuator gain (IF_Q) with coarse steps. 17 Read/write value for the digital attenuator gain (IF_I) with fine steps. 23 Read/write value for the digital attenuator gain (IF_Q) with fine steps.
|
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
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-rs5c372.c | 591 long steps = LONG_MIN; in rs5c372_set_offset() local 608 steps = DIV_ROUND_CLOSEST(offset, 1017); in rs5c372_set_offset() 609 if (steps >= -0x3E && steps <= 0x3E) { in rs5c372_set_offset() 619 steps = LONG_MIN; in rs5c372_set_offset() 626 if (steps == LONG_MIN) { in rs5c372_set_offset() 627 steps = DIV_ROUND_CLOSEST(offset, ppb_per_step); in rs5c372_set_offset() 628 if (steps > 0x3E || steps < -0x3E) in rs5c372_set_offset() 632 if (steps > 0) { in rs5c372_set_offset() 633 val |= steps + 1; in rs5c372_set_offset() 636 val |= (~(-steps - 1)) & 0x3F; in rs5c372_set_offset() [all …]
|
D | rtc-rzn1.c | 273 int stepsh, stepsl, steps; in rzn1_rtc_set_offset() local 289 steps = stepsh; in rzn1_rtc_set_offset() 293 steps = stepsl; in rzn1_rtc_set_offset() 298 if (!steps) in rzn1_rtc_set_offset() 301 if (steps > 0) { in rzn1_rtc_set_offset() 302 subu |= steps + 1; in rzn1_rtc_set_offset() 305 subu |= (~(-steps - 1)) & 0x3F; in rzn1_rtc_set_offset()
|
/linux-6.12.1/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() 259 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | rockchip-nand-controller.c | 529 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_raw() 571 rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_write_page_raw() 643 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_hwecc() 645 oob = chip->oob_poi + (ecc->steps - 1) * NFC_SYS_DATA_SIZE; in rk_nfc_write_page_hwecc() 660 ecc->steps * oob_step, in rk_nfc_write_page_hwecc() 666 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data, in rk_nfc_write_page_hwecc() 681 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step, in rk_nfc_write_page_hwecc() 722 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_raw() 731 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_read_page_raw() 776 ecc->steps * oob_step, in rk_nfc_read_page_hwecc() [all …]
|
D | qcom_nandc.c | 767 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw() 1480 raw_cw = ecc->steps - 1; in qcom_nandc_read_cw_raw() 1487 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw() 1492 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw() 1493 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw() 1569 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page() 1571 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page() 1572 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page() 1626 for (i = 0; i < ecc->steps; i++, buf++) { in parse_read_errors() 1631 data_len = ecc->size - ((ecc->steps - 1) << 2); in parse_read_errors() [all …]
|
D | lpc32xx_slc.c | 529 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer() 533 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer() 538 if (i == chip->ecc.steps - 1) in lpc32xx_xfer() 570 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 613 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 619 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 628 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 657 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 680 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 693 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 | 142 int steps; member 281 static int anfc_pkt_len_config(unsigned int len, unsigned int *steps, in anfc_pkt_len_config() argument 295 if (steps) in anfc_pkt_len_config() 296 *steps = nb; in anfc_pkt_len_config() 405 PKT_STEPS(chip->ecc.steps), in anfc_read_page_hw_ecc() 452 for (step = 0; step < chip->ecc.steps; step++) { in anfc_read_page_hw_ecc() 523 PKT_STEPS(chip->ecc.steps), in anfc_write_page_hw_ecc() 649 ret = anfc_pkt_len_config(nfc_op->len, &nfc_op->steps, in anfc_parse_instructions() 669 PKT_STEPS(nfc_op->steps); in anfc_parse_instructions() 682 unsigned int dwords = (nfc_op->len / 4) / nfc_op->steps; in anfc_rw_pio_op() [all …]
|
D | meson_nand.c | 421 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_get_data_oob() 440 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_set_data_oob() 540 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) { in meson_nfc_set_user_byte() 553 for (i = 0, count = 0; i < nand->ecc.steps; i++, count += (2 + nand->ecc.bytes)) { in meson_nfc_get_user_byte() 568 for (i = 0; i < nand->ecc.steps; i++) { in meson_nfc_ecc_correct() 760 info_len = nand->ecc.steps * PER_INFO_BYTE; in meson_nfc_write_page_sub() 801 memset(meson_chip->info_buf, 0, nand->ecc.steps * PER_INFO_BYTE); in meson_nfc_write_page_hwecc() 815 neccpages = raw ? 1 : nand->ecc.steps; in meson_nfc_check_ecc_pages_valid() 839 info_len = nand->ecc.steps * PER_INFO_BYTE; in meson_nfc_read_page_sub() 906 for (i = 0; i < nand->ecc.steps ; i++) { in meson_nfc_read_page_hwecc() [all …]
|
/linux-6.12.1/sound/soc/meson/ |
D | axg-pdm.c | 71 unsigned int steps; member 77 unsigned int steps; member 302 val = PDM_HCIC_CTRL1_STAGE_NUM(hcic->steps); in axg_pdm_set_hcic_ctrl() 339 val |= PDM_HPF_SFT_STEPS(hpf->steps); in axg_pdm_set_hpf_ctrl() 544 .steps = 7, 549 .steps = 13,
|
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/amd/ |
D | pds_vfio_pci.rst | 20 The pds-vfio-pci device is enabled via multiple configuration steps and 24 Shown below are the steps to bind the driver to a VF and also to the 50 After performing the steps above, a file in /dev/vfio/<iommu_group>
|
D | pds_vdpa.rst | 24 The ``pds_vdpa`` device is enabled via multiple configuration steps and 29 Example steps:
|
/linux-6.12.1/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 | 47 steps. If this flag is not given, the configuration is propagated 48 inside the subdevice to all further processing steps.
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_pch_refclk.c | 334 #define BEND_IDX(steps) ((50 + (steps)) / 5) argument 366 static void lpt_bend_clkout_dp(struct drm_i915_private *dev_priv, int steps) in lpt_bend_clkout_dp() argument 369 int idx = BEND_IDX(steps); in lpt_bend_clkout_dp() 371 if (drm_WARN_ON(&dev_priv->drm, steps % 5 != 0)) in lpt_bend_clkout_dp() 379 if (steps % 10 != 0) in lpt_bend_clkout_dp()
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos5422-odroidhc1.dts | 56 * by 2 steps. On Exynos5422/5800 that would 72 * further, down to 600 MHz (12 steps for big, 73 * 7 steps for LITTLE).
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | sp887x.c | 441 int steps = (sync0x200 >> 4) & 0x00f; in sp887x_read_status() local 442 if (steps & 0x008) in sp887x_read_status() 443 steps = -steps; in sp887x_read_status() 445 steps); in sp887x_read_status()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | ti_am335x_tsc.c | 496 u32 steps; in titsc_remove() local 503 steps = 2 * ts_dev->coordinate_readouts + 2; in titsc_remove() 504 steps = (1 << steps) - 1; in titsc_remove() 505 am335x_tsc_se_clr(ts_dev->mfd_tscadc, steps); in titsc_remove()
|