Home
last modified time | relevance | path

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

12345678910>>...27

/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/
H A Dusbduxfast.c355 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 …]
/OK3568_Linux_fs/kernel/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>;
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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:
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c549 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 …]
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dqcom_nandc.c1395 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 …]
H A Drockchip-nand-controller.c530 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()
636 for (i = 0; i < ecc->steps; i++) { in rk_nfc_write_page_hwecc()
657 ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
663 rk_nfc_xfer_start(nfc, NFC_WRITE, ecc->steps, dma_data, in rk_nfc_write_page_hwecc()
678 dma_unmap_single(nfc->dev, dma_oob, ecc->steps * oob_step, in rk_nfc_write_page_hwecc()
719 for (i = 0; i < ecc->steps; i++) { in rk_nfc_read_page_raw()
728 memcpy(rk_nfc_buf_to_oob_ptr(chip, ecc->steps - 1), in rk_nfc_read_page_raw()
773 ecc->steps * oob_step, in rk_nfc_read_page_hwecc()
790 rk_nfc_xfer_start(nfc, NFC_READ, ecc->steps, dma_data, in rk_nfc_read_page_hwecc()
[all …]
H A Dlpc32xx_slc.c531 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 …]
H A Darasan-nand-controller.c128 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 …]
/OK3568_Linux_fs/buildroot/package/libsvgtiny/
H A D0001-disable-debug-printfs.patch87 steps = ceilf(fabsf(r1 - r0) / 0.05);
88 if (steps == 0)
89 steps = 1;
91 fprintf(stderr, "r0 %g, r1 %g, steps %i\n",
92 r0, r1, steps);
96 for (z = 1; z != steps; z++) {
/OK3568_Linux_fs/kernel/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()
264 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dmxc_nand.c399 for (i = 0; i < chip->ecc.steps; i++) {
425 for (i = 0; i < chip->ecc.steps; i++) {
447 int steps, size; local
453 for (n = 0, steps = chip->ecc.steps; steps > 0; n++, steps--) {
491 int eccsteps = chip->ecc.steps;
535 eccsteps = chip->ecc.steps;
554 int i, len, status, steps = chip->ecc.steps; local
558 for (i = 0; i < steps; i++) {
584 int steps, size; local
587 for (n = 0, steps = chip->ecc.steps; steps > 0; n++, steps--) {
[all …]
H A Drockchip_nand.c287 int offset = ((ecc->bytes + ecc->prepad) * ecc->steps); in rockchip_nand_read_extra_oob()
302 int offset = ((ecc->bytes + ecc->prepad) * ecc->steps); in rockchip_nand_write_extra_oob()
331 for (step = 0; step < ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_read_page()
352 if ((step + 1) < ecc->steps) in rockchip_nand_hw_syndrome_pio_read_page()
413 for (step = 1; step <= ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_write_page()
422 if (step < ecc->steps) { in rockchip_nand_hw_syndrome_pio_write_page()
452 max_strength = ((mtd->oobsize / ecc->steps) - ecc->prepad) * 8 / 14; in rockchip_nand_ecc_max_strength()
487 ecc->steps = mtd->writesize / ecc->size; in rockchip_nand_hw_ecc_ctrl_init()
504 nand_oob_fix.eccbytes = ecc->bytes * ecc->steps; in rockchip_nand_hw_ecc_ctrl_init()
509 if (mtd->oobsize < ((ecc->bytes + ecc->prepad) * ecc->steps)) { in rockchip_nand_hw_ecc_ctrl_init()
H A Drockchip_nand_v9.c288 int offset = ((ecc->bytes + ecc->prepad) * ecc->steps); in rockchip_nand_read_extra_oob()
303 int offset = ((ecc->bytes + ecc->prepad) * ecc->steps); in rockchip_nand_write_extra_oob()
332 for (step = 0; step < ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_read_page()
353 if ((step + 1) < ecc->steps) in rockchip_nand_hw_syndrome_pio_read_page()
414 for (step = 1; step <= ecc->steps; step++) { in rockchip_nand_hw_syndrome_pio_write_page()
422 if (step < ecc->steps) { in rockchip_nand_hw_syndrome_pio_write_page()
453 max_strength = ((mtd->oobsize / ecc->steps) - ecc->prepad) * 8 / 14; in rockchip_nand_ecc_max_strength()
488 ecc->steps = mtd->writesize / ecc->size; in rockchip_nand_hw_ecc_ctrl_init()
505 nand_oob_fix.eccbytes = ecc->bytes * ecc->steps; in rockchip_nand_hw_ecc_ctrl_init()
510 if (mtd->oobsize < ((ecc->bytes + ecc->prepad) * ecc->steps)) { in rockchip_nand_hw_ecc_ctrl_init()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dloongson1-cpufreq.c84 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()
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dgraph-build-time72 steps = ['download', 'extract', 'patch', 'configure', 'build', variable
122 for step in steps:
165 plt.legend(legenditems, steps, prop=leg_prop)
221 for step in steps:
230 patches, texts, autotexts = plt.pie(steps_values, labels=steps,
/OK3568_Linux_fs/yocto/poky/meta/recipes-support/curl/curl/
H A DCVE-2022-32206.patch4 Subject: [PATCH] content_encoding: return error on too many compression steps
6 The max allowed steps is arbitrarily set to 5.
27 +/* allow no more than 5 "chained" compression steps */
/OK3568_Linux_fs/kernel/sound/soc/meson/
H A Daxg-pdm.c71 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,
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dadpcms.c70 s = ((p->setup.steps[p->step_index] * s) >> (p->setup.shift + 1)) & p->setup.mask; in lsx_adpcm_decode()
75 int grace = (p->setup.steps[p->step_index] >> (p->setup.shift + 1)) & p->setup.mask; in lsx_adpcm_decode()
78 code & (2 * p->setup.sign - 1), p->setup.steps[p->step_index], grace, s); in lsx_adpcm_decode()
97 code = (delta << p->setup.shift) / p->setup.steps[p->step_index]; in lsx_adpcm_encode()
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dlm8323.c444 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()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-fpga-manager19 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
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dsp887x.c443 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()
/OK3568_Linux_fs/u-boot/tools/
H A Dsunxi-spl-image-builder.c117 int steps = info->usable_page_size / info->ecc_step_size; in write_page() local
159 offs = steps * (info->ecc_step_size + eccbytes + 4); in write_page()
168 offs = info->page_size + (steps * (eccbytes + 4)); in write_page()
177 for (i = 0; i < steps; i++) { in write_page()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dexynos5422-odroidhc1.dts54 * by 2 steps. On Exynos5422/5800 that would
70 * further, down to 600 MHz (12 steps for big,
71 * 7 steps for LITTLE).
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/
H A Dmyspeed.cpp87 int steps = (m_scaleMajor * m_scaleMinor); in drawScale() local
88 double angleStep = (360.0 - m_startAngle - m_endAngle) / steps; in drawScale()
91 for (int i = 0; i <= steps; i++) in drawScale()

12345678910>>...27