/drivers/media/usb/gspca/ |
D | autogain_functions.c | 36 int i, steps, retval = 0; in gspca_expo_autogain() local 46 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 49 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain() 51 for (i = 0; i < steps; i++) { in gspca_expo_autogain() 116 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local 131 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 134 avg_lum, desired_avg_lum, steps); in gspca_coarse_grained_expo_autogain() 136 if ((gain + steps) > gain_high && in gspca_coarse_grained_expo_autogain() 141 } else if ((gain + steps) < gain_low && in gspca_coarse_grained_expo_autogain() 147 gain += steps; in gspca_coarse_grained_expo_autogain()
|
/drivers/staging/comedi/drivers/ |
D | usbduxfast.c | 558 long int steps, tmp; in usbduxfast_ai_cmdtest() local 609 steps = cmd->convert_arg * 30; in usbduxfast_ai_cmdtest() 610 if (steps < (minSamplPer * 1000)) in usbduxfast_ai_cmdtest() 611 steps = minSamplPer * 1000; in usbduxfast_ai_cmdtest() 613 if (steps > (MAX_SAMPLING_PERIOD * 1000)) in usbduxfast_ai_cmdtest() 614 steps = MAX_SAMPLING_PERIOD * 1000; in usbduxfast_ai_cmdtest() 617 tmp = steps / 30; in usbduxfast_ai_cmdtest() 709 long steps, steps_tmp; in usbduxfast_ai_cmd() local 762 steps = 0; in usbduxfast_ai_cmd() 770 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmd() [all …]
|
/drivers/input/misc/ |
D | rotary_encoder.c | 72 pos += pdata->steps; in rotary_encoder_report_event() 77 if (pdata->rollover || pos < pdata->steps) in rotary_encoder_report_event() 82 pos %= pdata->steps; in rotary_encoder_report_event() 168 of_property_read_u32(np, "rotary-encoder,steps", &pdata->steps); in rotary_encoder_parse_dt() 234 pdata->axis, 0, pdata->steps, 0, 1); in rotary_encoder_probe()
|
/drivers/mtd/nand/ |
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() 612 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 618 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 623 for (i = 0; i < chip->ecc.steps; i++) { in lpc32xx_nand_read_page_syndrome() 651 chip->read_buf(mtd, buf, chip->ecc.size * chip->ecc.steps); in lpc32xx_nand_read_page_raw_syndrome() 670 error = lpc32xx_xfer(mtd, (uint8_t *)buf, chip->ecc.steps, 0); in lpc32xx_nand_write_page_syndrome() 678 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() [all …]
|
D | nand_base.c | 1040 int steps, size; in nand_read_page_raw_syndrome() local 1042 for (steps = chip->ecc.steps; steps > 0; steps--) { in nand_read_page_raw_syndrome() 1080 int eccsteps = chip->ecc.steps; in nand_read_page_swecc() 1095 eccsteps = chip->ecc.steps; in nand_read_page_swecc() 1220 int eccsteps = chip->ecc.steps; in nand_read_page_hwecc() 1237 eccsteps = chip->ecc.steps; in nand_read_page_hwecc() 1273 int eccsteps = chip->ecc.steps; in nand_read_page_hwecc_oob_first() 1322 int eccsteps = chip->ecc.steps; in nand_read_page_syndrome() 1616 for (i = 0; i < chip->ecc.steps; i++) { in nand_read_oob_syndrome() 1671 int i, len, pos, status = 0, sndcmd = 0, steps = chip->ecc.steps; in nand_write_oob_syndrome() local [all …]
|
D | omap2.c | 1118 nsectors = info->nand.ecc.steps; in omap3_enable_hwecc_bch() 1373 int eccsteps = info->nand.ecc.steps; in omap_elm_correct_data() 1760 int i, steps, offset; in omap3_init_bch_tail() local 1766 steps = mtd->writesize/info->nand.ecc.size; in omap3_init_bch_tail() 1767 layout->eccbytes = steps*info->nand.ecc.bytes; in omap3_init_bch_tail() 1793 layout->oobfree[0].offset = 2 + layout->eccbytes * steps; in omap3_init_bch_tail()
|
D | fsl_ifc_nand.c | 273 int sector = bufnum * chip->ecc.steps; in fsl_ifc_run_command() 274 int sector_end = sector + chip->ecc.steps - 1; in fsl_ifc_run_command() 726 chip->ecc.steps); in fsl_ifc_chip_init_tail()
|
D | fsl_elbc_nand.c | 658 chip->ecc.steps); in fsl_elbc_chip_init_tail()
|
D | fsmc_nand.c | 722 int eccsteps = chip->ecc.steps; in fsmc_read_page_hwecc()
|
/drivers/cpufreq/ |
D | intel_pstate.c | 401 static inline void intel_pstate_pstate_increase(struct cpudata *cpu, int steps) in intel_pstate_pstate_increase() argument 404 target = cpu->pstate.current_pstate + steps; in intel_pstate_pstate_increase() 409 static inline void intel_pstate_pstate_decrease(struct cpudata *cpu, int steps) in intel_pstate_pstate_decrease() argument 412 target = cpu->pstate.current_pstate - steps; in intel_pstate_pstate_decrease() 486 int steps; in intel_pstate_adjust_busy_pstate() local 493 steps = abs(ctl); in intel_pstate_adjust_busy_pstate() 495 intel_pstate_pstate_increase(cpu, steps); in intel_pstate_adjust_busy_pstate() 497 intel_pstate_pstate_decrease(cpu, steps); in intel_pstate_adjust_busy_pstate()
|
/drivers/iio/adc/ |
D | ti_am335x_adc.c | 48 int i, channels = 0, steps; in tiadc_step_config() local 60 steps = TOTAL_STEPS - adc_dev->channels; in tiadc_step_config() 65 for (i = (steps + 1); i <= TOTAL_STEPS; i++) { in tiadc_step_config()
|
/drivers/input/keyboard/ |
D | lm8323.c | 456 int div512, perstep, steps, hz, up, kill; in lm8323_pwm_work() local 473 steps = abs(pwm->desired_brightness - pwm->brightness); in lm8323_pwm_work() 479 if ((pwm->fade_time / steps) > (32768 / 512)) { in lm8323_pwm_work() 487 perstep = (hz * pwm->fade_time) / (steps * 1000); in lm8323_pwm_work() 494 while (steps) { in lm8323_pwm_work() 497 s = min(126, steps); in lm8323_pwm_work() 499 steps -= s; in lm8323_pwm_work()
|
/drivers/media/dvb-frontends/ |
D | sp887x.c | 443 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()
|
D | stv090x.c | 1594 s32 i, j, steps, dir; in stv090x_get_agc2_min_level() local 1617 steps = state->search_range / 1000000; in stv090x_get_agc2_min_level() 1618 if (steps <= 0) in stv090x_get_agc2_min_level() 1619 steps = 1; in stv090x_get_agc2_min_level() 1625 for (i = 0; i < steps; i++) { in stv090x_get_agc2_min_level() 1689 s32 tmg_cpt = 0, dir = 1, steps, cur_step = 0, freq; in stv090x_srate_srch_coarse() local 1751 steps = -1 + ((state->search_range / 1000) / car_step); in stv090x_srate_srch_coarse() 1752 steps /= 2; in stv090x_srate_srch_coarse() 1753 steps = (2 * steps) + 1; in stv090x_srate_srch_coarse() 1754 if (steps < 0) in stv090x_srate_srch_coarse() [all …]
|
D | stb0899_algo.c | 974 s32 steps, step_size; in stb0899_dvbs2_init_calc() local 995 steps = (10 * range * (1 << 17)) / (step_size * (internal->srate / 1000000)); in stb0899_dvbs2_init_calc() 996 steps = (steps + 6) / 10; in stb0899_dvbs2_init_calc() 997 steps = (steps == 0) ? 1 : steps; in stb0899_dvbs2_init_calc() 998 if (steps % 2 == 0) in stb0899_dvbs2_init_calc() 1008 STB0899_SETFIELD_VAL(NUM_STEPS, reg, steps); in stb0899_dvbs2_init_calc()
|
D | stv0900_sw.c | 70 s32 *steps, in stv0900_get_sw_loop_params() argument 131 *steps = max_steps; in stv0900_get_sw_loop_params()
|
D | dib0090.c | 1596 #define steps(u) (((u) > 15) ? ((u)-16) : (u)) macro 1743 if ((state->adc_diff & 0x8000) == (state->min_adc_diff & 0x8000) && steps(state->step) < 15) { in dib0090_dc_offset_calibration()
|
/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-impedance-analyzer-ad5933 | 18 Number of frequency points (steps) in the frequency sweep.
|
D | ring.txt | 17 These are used to perform device specific steps on either side
|
/drivers/staging/media/davinci_vpfe/ |
D | TODO | 28 files are present in staging itself, to build for dm365 follow below steps,
|
/drivers/block/drbd/ |
D | drbd_worker.c | 496 int steps; /* Number of time steps to plan ahead */ in drbd_rs_controller() local 507 steps = plan->size; /* (dc->c_plan_ahead * 10 * SLEEP_TIME) / HZ; */ in drbd_rs_controller() 510 want = ((dc->resync_rate * 2 * SLEEP_TIME) / HZ) * steps; in drbd_rs_controller() 519 cps = correction / steps; in drbd_rs_controller() 521 plan->total += cps * steps; in drbd_rs_controller()
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 466 unsigned int delay, unsigned int steps) in s5c73m3_system_status_wait() argument 470 while (steps-- > 0) { in s5c73m3_system_status_wait()
|
/drivers/xen/ |
D | Kconfig | 39 Memory could be hotplugged in following steps:
|
/drivers/regulator/ |
D | Kconfig | 216 modes ranging from 0.77V to 1.40V by 0.01V steps.
|
/drivers/md/ |
D | Kconfig | 43 synchronisation steps that are part of this step.
|