Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c1333 seq_state->steps[*seq_state->num_steps].params.pipe_control_lock_params.dc = dc; in hwss_add_optc_pipe_control_lock()
1334 seq_state->steps[*seq_state->num_steps].params.pipe_control_lock_params.pipe_ctx = pipe_ctx; in hwss_add_optc_pipe_control_lock()
1335 seq_state->steps[*seq_state->num_steps].params.pipe_control_lock_params.lock = lock; in hwss_add_optc_pipe_control_lock()
1336 seq_state->steps[*seq_state->num_steps].func = OPTC_PIPE_CONTROL_LOCK; in hwss_add_optc_pipe_control_lock()
1349 seq_state->steps[*seq_state->num_steps].params.set_flip_control_gsl_params.hubp = hubp; in hwss_add_hubp_set_flip_control_gsl()
1350 …seq_state->steps[*seq_state->num_steps].params.set_flip_control_gsl_params.flip_immediate = flip_i… in hwss_add_hubp_set_flip_control_gsl()
1351 seq_state->steps[*seq_state->num_steps].func = HUBP_SET_FLIP_CONTROL_GSL; in hwss_add_hubp_set_flip_control_gsl()
1365 seq_state->steps[*seq_state->num_steps].params.program_triplebuffer_params.dc = dc; in hwss_add_hubp_program_triplebuffer()
1366 seq_state->steps[*seq_state->num_steps].params.program_triplebuffer_params.pipe_ctx = pipe_ctx; in hwss_add_hubp_program_triplebuffer()
1367 …seq_state->steps[*seq_state->num_steps].params.program_triplebuffer_params.enableTripleBuffer = en… in hwss_add_hubp_program_triplebuffer()
[all …]
/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()
/linux/drivers/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 …]
/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
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/drivers/mtd/nand/
H A Decc-realtek.c87 int steps; member
117 if (section < 0 || section >= ctx->steps) in rtl_ecc_ooblayout_ecc()
120 oobregion->offset = ctx->steps * RTL_ECC_FREE_SIZE + section * ctx->parity_size; in rtl_ecc_ooblayout_ecc()
133 if (section < 0 || section >= ctx->steps) in rtl_ecc_ooblayout_free()
239 parity = req->oobbuf.in + ctx->steps * RTL_ECC_FREE_SIZE; in rtl_ecc_prepare_io_req()
241 for (int i = 0; i < ctx->steps; i++) { in rtl_ecc_prepare_io_req()
274 parity = req->oobbuf.in + ctx->steps * RTL_ECC_FREE_SIZE; in rtl_ecc_finish_io_req()
276 for (int i = 0 ; i < ctx->steps; i++) { in rtl_ecc_finish_io_req()
359 ctx->steps = mtd->writesize / RTL_ECC_BLOCK_SIZE; in rtl_ecc_init_ctx()
369 conf->strength, ctx->steps, conf->step_size, in rtl_ecc_init_ctx()
[all …]
/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.
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
/linux/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 …]
/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c149 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw()
489 raw_cw = ecc->steps - 1; in qcom_nandc_read_cw_raw()
496 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw()
501 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw()
502 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw()
578 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page()
580 data_size = ecc->size - ((ecc->steps - 1) * 4); in check_for_erased_page()
581 oob_size = (ecc->steps * 4) + host->ecc_bytes_hw; in check_for_erased_page()
635 for (i = 0; i < ecc->steps; i++, buf++) { in parse_read_errors()
640 data_len = ecc->size - ((ecc->steps - 1) << 2); in parse_read_errors()
[all …]
H A Darasan-nand-controller.c142 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 …]
H A Dmeson_nand.c421 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 …]
H A Dnuvoton-ma35d1-nand-controller.c254 chip->ecc.steps = mtd->writesize / chip->ecc.size; in ma35_nand_hwecc_init()
255 nvtnand->eccstatus = (chip->ecc.steps < 4) ? 1 : chip->ecc.steps / 4; in ma35_nand_hwecc_init()
260 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH8; in ma35_nand_hwecc_init()
264 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH12; in ma35_nand_hwecc_init()
268 chip->ecc.total = chip->ecc.steps * MA35_PARITY_BCH24; in ma35_nand_hwecc_init()
276 chip->ecc.bytes = chip->ecc.total / chip->ecc.steps; in ma35_nand_hwecc_init()
376 (parity_len * chip->ecc.steps) + in ma35_nfi_correct()
576 for (i = 0; i < chip->ecc.steps; i++) { in ma35_nand_write_subpage_hwecc()
/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.c317 int stepsh, stepsl, steps; in rzn1_rtc_set_offset() local
333 steps = stepsh; in rzn1_rtc_set_offset()
337 steps = stepsl; in rzn1_rtc_set_offset()
342 if (!steps) in rzn1_rtc_set_offset()
345 if (steps > 0) { in rzn1_rtc_set_offset()
346 subu |= steps + 1; in rzn1_rtc_set_offset()
349 subu |= (~(-steps - 1)) & 0x3F; in rzn1_rtc_set_offset()
/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()
194 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe()
252 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe()
/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,
/linux/Documentation/networking/device_drivers/ethernet/amd/
H A Dpds_vfio_pci.rst20 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>
H A Dpds_vdpa.rst24 The ``pds_vdpa`` device is enabled via multiple configuration steps and
29 Example steps:
/linux/drivers/media/dvb-frontends/
H A Dsp887x.c441 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()
H A Dstv090x.c1593 s32 i, j, steps, dir; in stv090x_get_agc2_min_level() local
1616 steps = state->search_range / 1000000; in stv090x_get_agc2_min_level()
1617 if (steps <= 0) in stv090x_get_agc2_min_level()
1618 steps = 1; in stv090x_get_agc2_min_level()
1624 for (i = 0; i < steps; i++) { in stv090x_get_agc2_min_level()
1688 s32 tmg_cpt = 0, dir = 1, steps, cur_step = 0, freq; in stv090x_srate_srch_coarse() local
1750 steps = -1 + ((state->search_range / 1000) / car_step); in stv090x_srate_srch_coarse()
1751 steps /= 2; in stv090x_srate_srch_coarse()
1752 steps = (2 * steps) + 1; in stv090x_srate_srch_coarse()
1753 if (steps < 0) in stv090x_srate_srch_coarse()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidhc1.dts56 * by 2 steps. On Exynos5422/5800 that would
72 * further, down to 600 MHz (12 steps for big,
73 * 7 steps for LITTLE).
/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2-selection-flags.rst48 steps. If this flag is not given, the configuration is propagated
49 inside the subdevice to all further processing steps.
H A Dcommon.rst9 Programming a V4L2 device consists of these steps:
24 In practice most steps are optional and can be executed out of order. It
/linux/drivers/staging/media/atomisp/
H A Dnotes.txt27 Since getting a picture requires multiple processing steps,
29 on the ISP can do multiple processing steps in a single pipeline
/linux/drivers/iio/adc/
H A Dti_am335x_adc.c110 int i, steps = 0; in tiadc_step_config() local
135 tiadc_writel(adc_dev, REG_STEPCONFIG(steps), in tiadc_step_config()
140 tiadc_writel(adc_dev, REG_STEPDELAY(steps), in tiadc_step_config()
144 adc_dev->channel_step[i] = steps; in tiadc_step_config()
145 steps++; in tiadc_step_config()

12345678910>>...13