| /linux/drivers/media/usb/gspca/ |
| H A 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/drivers/comedi/drivers/ |
| H A 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/tools/testing/selftests/tc-testing/ |
| H A 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/Documentation/ABI/testing/ |
| H A 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.
|
| H A 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/drivers/rtc/ |
| H A 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 …]
|
| H A D | rtc-rzn1.c | 336 int stepsh, stepsl, steps; in rzn1_rtc_set_offset() local 352 steps = stepsh; in rzn1_rtc_set_offset() 356 steps = stepsl; in rzn1_rtc_set_offset() 361 if (!steps) in rzn1_rtc_set_offset() 364 if (steps > 0) { in rzn1_rtc_set_offset() 365 subu |= steps + 1; in rzn1_rtc_set_offset() 368 subu |= (~(-steps - 1)) & RZN1_RTC_SUBU_RTCA0FX; in rzn1_rtc_set_offset()
|
| /linux/drivers/input/misc/ |
| H A 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() 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/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_slc.c | 537 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_xfer() 541 mtd->writesize / chip->ecc.steps, dir); in lpc32xx_xfer() 546 if (i == chip->ecc.steps - 1) in lpc32xx_xfer() 578 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 621 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 627 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 636 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 665 chip->legacy.read_buf(chip, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 688 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 701 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | nuvoton-ma35d1-nand-controller.c | 254 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/sound/soc/meson/ |
| H A 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/Documentation/networking/device_drivers/ethernet/amd/ |
| H A 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>
|
| H A D | pds_vdpa.rst | 24 The ``pds_vdpa`` device is enabled via multiple configuration steps and 29 Example steps:
|
| /linux/drivers/input/keyboard/ |
| H A D | lm8323.c | 443 int div512, perstep, steps, hz, up, kill; in lm8323_pwm_work() local 460 steps = abs(pwm->desired_brightness - pwm->brightness); in lm8323_pwm_work() 466 if ((pwm->fade_time / steps) > (32768 / 512)) { in lm8323_pwm_work() 474 perstep = (hz * pwm->fade_time) / (steps * 1000); in lm8323_pwm_work() 481 while (steps) { in lm8323_pwm_work() 484 s = min(126, steps); in lm8323_pwm_work() 486 steps -= s; in lm8323_pwm_work()
|
| /linux/drivers/media/dvb-frontends/ |
| H A 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/arch/arm/boot/dts/samsung/ |
| H A 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/Documentation/userspace-api/media/v4l/ |
| H A D | v4l2-selection-flags.rst | 48 steps. If this flag is not given, the configuration is propagated 49 inside the subdevice to all further processing steps.
|
| H A D | common.rst | 9 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/input/touchscreen/ |
| H A D | ti_am335x_tsc.c | 500 u32 steps; in titsc_remove() local 507 steps = 2 * ts_dev->coordinate_readouts + 2; in titsc_remove() 508 steps = (1 << steps) - 1; in titsc_remove() 509 am335x_tsc_se_clr(ts_dev->mfd_tscadc, steps); in titsc_remove()
|
| /linux/Documentation/process/ |
| H A D | conclave.rst | 38 the next steps will be. 40 The Linux Foundation, as guided by the TAB, will take the steps
|
| /linux/drivers/staging/media/atomisp/ |
| H A D | notes.txt | 27 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 D | ti_am335x_adc.c | 110 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()
|
| /linux/tools/bpf/ |
| H A D | bpf_dbg.c | 1096 int steps, ret; in cmd_step() local 1101 steps = strtol(num, NULL, 10); in cmd_step() 1102 if (steps == 0 || strlen(num) == 0) in cmd_step() 1103 steps = 1; in cmd_step() 1104 if (steps < 0) { in cmd_step() 1105 if (!bpf_restore_regs(steps)) in cmd_step() 1107 steps = 1; in cmd_step() 1113 hdr->caplen, hdr->len, steps); in cmd_step()
|