Home
last modified time | relevance | path

Searched refs:steps (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/openbmc/linux/drivers/media/usb/gspca/
H A Dautogain_functions.c23 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()
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Drotary-encoder.txt9 - 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>;
/openbmc/linux/drivers/comedi/drivers/
H A Dusbduxfast.c355 unsigned int steps; in usbduxfast_ai_cmdtest() local
471 long steps, steps_tmp; in usbduxfast_ai_cmd() local
515 if (steps <= 1) { in usbduxfast_ai_cmd()
550 steps = steps - 1; in usbduxfast_ai_cmd()
557 usbduxfast_cmd_data(dev, 2, steps - steps / 2, in usbduxfast_ai_cmd()
585 steps_tmp = steps - 1; in usbduxfast_ai_cmd()
608 steps_tmp = steps - 2; in usbduxfast_ai_cmd()
655 usbduxfast_cmd_data(dev, index + 1, steps - steps / 2, in usbduxfast_ai_cmd()
660 steps_tmp = steps - 2; in usbduxfast_ai_cmd()
714 steps = steps - 2; in usbduxfast_ai_cmd()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/
H A DTdcResults.py18 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:
/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c104 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()
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()
274 strength = desired_correction / steps; in mxic_ecc_init_ctx()
302 ctx->steps = steps; in mxic_ecc_init_ctx()
304 ctx->oob_step_sz = mtd->oobsize / steps; in mxic_ecc_init_ctx()
310 (ctx->steps * STAT_BYTES); in mxic_ecc_init_ctx()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-frequency-admv10145 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.
/openbmc/qemu/tests/avocado/
H A Dreverse_debugging.py143 steps = []
148 steps.append(pc)
153 for addr in steps[::-1]:
160 for addr in steps:
167 for addr in steps:
185 logger.info('running reverse continue to reach %x' % steps[-1])
191 self.check_pc(g, steps[-1])
192 logger.info('successfully reached %x' % steps[-1])
/openbmc/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes() argument
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
621 for (i = 0; i < steps; i++) in sec_unmap_sg_on_err()
716 int i, ret, steps; in sec_alg_skcipher_crypto() local
733 &steps, gfp); in sec_alg_skcipher_crypto()
736 sec_req->num_elements = steps; in sec_alg_skcipher_crypto()
772 for (i = 0; i < steps; i++) { in sec_alg_skcipher_crypto()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dpwm-backlight.yaml57 num-interpolated-steps:
59 Number of interpolated steps between each value of brightness-levels
66 num-interpolated-steps: [brightness-levels]
90 // Example using num-interpolation-steps:
96 num-interpolated-steps = <2048>;
H A Dmediatek,mt6370-backlight.yaml16 capability with 2048 current steps (11 bits, only for MT6370/MT6371) or
17 16384 current steps (14 bits, only for MT6372) in exponential or linear
49 mediatek,bled-pwm-hys-input-th-steps:
55 resolution needs more than 64 steps.
/openbmc/linux/drivers/rtc/
H A Drtc-rs5c372.c591 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 …]
H A Drtc-rzn1.c273 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()
/openbmc/linux/drivers/input/misc/
H A Drotary_encoder.c38 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()
/openbmc/openbmc/meta-raspberrypi/.github/workflows/
H A Dyocto-layer.yml16 steps:
42 if: steps.changed-files-specific.outputs.any_changed == 'true'
49 if: steps.changed-files-specific.outputs.any_changed == 'true'
H A Dyocto-builds.yml40 steps:
66 if: steps.changed-files-specific.outputs.any_changed == 'true'
81 if: steps.changed-files-specific.outputs.any_changed == 'true'
H A Dcompliance.yml14 steps:
40 steps:
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c398 for (i = 0; i < chip->ecc.steps; i++) {
424 for (i = 0; i < chip->ecc.steps; i++) {
446 int steps, size; local
452 for (n = 0, steps = chip->ecc.steps; steps > 0; n++, steps--) {
490 int eccsteps = chip->ecc.steps;
534 eccsteps = chip->ecc.steps;
553 int i, len, status, steps = chip->ecc.steps; local
557 for (i = 0; i < steps; i++) {
583 int steps, size; local
586 for (n = 0, steps = chip->ecc.steps; steps > 0; n++, steps--) {
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c529 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()
660 ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
722 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_raw()
776 ecc->steps * oob_step, in rk_nfc_read_page_hwecc()
817 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_hwecc()
834 for (i = 0; i < (ecc->steps / 2); i++) { in rk_nfc_read_page_hwecc()
984 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
1007 ecc->steps = mtd->writesize / ecc->size; in rk_nfc_ecc_init()
[all …]
H A Dqcom_nandc.c767 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw()
1480 raw_cw = ecc->steps - 1; in qcom_nandc_read_cw_raw()
1492 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
1626 for (i = 0; i < ecc->steps; i++, buf++) { in parse_read_errors()
1632 oob_len = ecc->steps << 2; in parse_read_errors()
1725 for (i = 0; i < ecc->steps; i++) { in read_page_ecc()
1925 for (cw = 0; cw < ecc->steps; cw++) { in qcom_nandc_read_page_raw()
1986 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page()
2056 for (i = 0; i < ecc->steps; i++) { in qcom_nandc_write_page_raw()
2065 ((ecc->steps - 1) << 2); in qcom_nandc_write_page_raw()
[all …]
H A Dlpc32xx_slc.c529 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 …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest.c188 unsigned int steps, unsigned int *failures) in efi_st_do_tests() argument
201 if (steps & EFI_ST_SETUP) in efi_st_do_tests()
203 if (steps & EFI_ST_EXECUTE && setup_status[i] == EFI_ST_SUCCESS) in efi_st_do_tests()
205 if (steps & EFI_ST_TEARDOWN) in efi_st_do_tests()
/openbmc/docs/
H A Dopenbmc-conversion.md3 Often a number of steps are required to convert from the AMI firmware to
4 OpenBMC. These steps are documented for various machines below.
/openbmc/phosphor-debug-collector/
H A DREADME.md11 To build this package with meson, do the following steps:
25 or with an OpenBMC x86 sdk(see below for x86 steps).
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_watchdog_timer-test.c262 int64_t remaining_steps, steps; in test_pause() local
271 steps = remaining_steps / 2; in test_pause()
272 remaining_steps -= steps; in test_pause()
273 qtest_clock_step(qts, steps); in test_pause()
280 qtest_clock_step(qts, steps << 4); in test_pause()
/openbmc/linux/sound/soc/meson/
H A Daxg-pdm.c71 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,

12345678910>>...29