| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | rotary-encoder.txt | 9 - 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>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | rotary-encoder.txt | 9 - 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>;
|
| /kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
| D | autogain_functions.c | 23 int i, steps, retval = 0; in gspca_expo_autogain() local 31 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain() 33 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 35 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", 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 116 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain() 118 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 120 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_coarse_grained_expo_autogain() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/gspca/ |
| D | autogain_functions.c | 32 int i, steps, retval = 0; in gspca_expo_autogain() local 40 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_expo_autogain() 42 steps = abs(desired_avg_lum - avg_lum) / deadzone; in gspca_expo_autogain() 44 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_expo_autogain() 45 avg_lum, desired_avg_lum, steps); in gspca_expo_autogain() 47 for (i = 0; i < steps; i++) { in gspca_expo_autogain() 112 int steps, retval = 0; in gspca_coarse_grained_expo_autogain() local 125 /* If we are of a multiple of deadzone, do multiple steps to reach the in gspca_coarse_grained_expo_autogain() 127 steps = (desired_avg_lum - avg_lum) / deadzone; in gspca_coarse_grained_expo_autogain() 129 gspca_dbg(gspca_dev, D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n", in gspca_coarse_grained_expo_autogain() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| D | usbduxfast.c | 115 * min delay steps for more than one channel 118 * steps at 30MHz in the FX2 123 * max number of 1/30MHz delay steps 355 unsigned int steps; in usbduxfast_ai_cmdtest() local 397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest() 398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/comedi/drivers/ |
| D | usbduxfast.c | 115 * min delay steps for more than one channel 118 * steps at 30MHz in the FX2 123 * max number of 1/30MHz delay steps 355 unsigned int steps; in usbduxfast_ai_cmdtest() local 397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest() 398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest() 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() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
| D | TdcResults.py | 18 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:
|
| /kernel/linux/linux-4.19/drivers/input/misc/ |
| D | rotary_encoder.c | 41 u32 steps; member 88 pos += encoder->steps; in rotary_encoder_report_event() 93 if (encoder->rollover || pos < encoder->steps) in rotary_encoder_report_event() 98 pos %= encoder->steps; in rotary_encoder_report_event() 204 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe() 206 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe() 211 * use 'steps-per-period' and set an appropriate value, but in rotary_encoder_probe() 265 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe() 280 dev_err(dev, "'%d' is not a valid steps-per-period value\n", in rotary_encoder_probe()
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| 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() 201 device_property_read_u32(dev, "rotary-encoder,steps", &encoder->steps); in rotary_encoder_probe() 203 err = device_property_read_u32(dev, "rotary-encoder,steps-per-period", in rotary_encoder_probe() 208 * use 'steps-per-period' and set an appropriate value, but in rotary_encoder_probe() 264 encoder->axis, 0, encoder->steps, 0, 1); in rotary_encoder_probe() 279 dev_err(dev, "'%d' is not a valid steps-per-period value\n", in rotary_encoder_probe()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/ |
| D | pwm-backlight.yaml | 57 num-interpolated-steps: 59 Number of interpolated steps between each value of brightness-levels 66 num-interpolated-steps: [brightness-levels] 91 // Example using num-interpolation-steps: 97 num-interpolated-steps = <2048>;
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | uda1380.c | 267 * from -48 dB in 1.5 dB steps (mute instead of -49.5 dB) 272 * from -78 dB in 1 dB steps (3 dB steps, really. LSB are ignored), 273 * from -66 dB in 0.5 dB steps (2 dB steps, really) and 274 * from -52 dB in 0.25 dB steps 283 * from -72 dB in 1.5 dB steps (6 dB steps really), 284 * from -66 dB in 0.75 dB steps (3 dB steps really), 285 * from -60 dB in 0.5 dB steps (2 dB steps really) and 286 * from -46 dB in 0.25 dB steps 295 /* from 0 to 6 dB in 2 dB steps if SPF mode != flat */ 298 /* from 0 to 24 dB in 2 dB steps, if SPF mode == maximum, otherwise cuts [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/ |
| D | sec_algs.c | 549 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 …]
|
| /kernel/linux/linux-4.19/drivers/crypto/hisilicon/sec/ |
| D | sec_algs.c | 557 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes() argument 563 *steps = roundup(length, SEC_REQ_LIMIT) / SEC_REQ_LIMIT; in sec_alg_alloc_and_calc_split_sizes() 564 sizes = kcalloc(*steps, sizeof(*sizes), gfp); in sec_alg_alloc_and_calc_split_sizes() 568 for (i = 0; i < *steps - 1; i++) in sec_alg_alloc_and_calc_split_sizes() 570 sizes[*steps - 1] = length - SEC_REQ_LIMIT * (*steps - 1); in sec_alg_alloc_and_calc_split_sizes() 577 int steps, struct scatterlist ***splits, in sec_map_and_split_sg() argument 588 *splits = kcalloc(steps, sizeof(struct scatterlist *), gfp); in sec_map_and_split_sg() 593 *splits_nents = kcalloc(steps, sizeof(int), gfp); in sec_map_and_split_sg() 600 ret = sg_split(sgl, count, 0, steps, split_sizes, in sec_map_and_split_sg() 623 static void sec_unmap_sg_on_err(struct scatterlist *sgl, int steps, in sec_unmap_sg_on_err() argument [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/ |
| D | pwm-backlight.txt | 25 - num-interpolated-steps: Number of interpolated steps between each value 49 Example using num-interpolation-steps: 56 num-interpolated-steps = <2048>;
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | uda1380.c | 270 * from -48 dB in 1.5 dB steps (mute instead of -49.5 dB) 275 * from -78 dB in 1 dB steps (3 dB steps, really. LSB are ignored), 276 * from -66 dB in 0.5 dB steps (2 dB steps, really) and 277 * from -52 dB in 0.25 dB steps 286 * from -72 dB in 1.5 dB steps (6 dB steps really), 287 * from -66 dB in 0.75 dB steps (3 dB steps really), 288 * from -60 dB in 0.5 dB steps (2 dB steps really) and 289 * from -46 dB in 0.25 dB steps 298 /* from 0 to 6 dB in 2 dB steps if SPF mode != flat */ 301 /* from 0 to 24 dB in 2 dB steps, if SPF mode == maximum, otherwise cuts [all …]
|
| /kernel/linux/linux-5.10/drivers/memory/tegra/ |
| D | tegra210-emc-cc-r21021.c | 21 #define STEPS (1 << 1) macro 693 emc_dbg(emc, STEPS, "Step 1\n"); in tegra210_emc_r21021_set_clock() 694 emc_dbg(emc, STEPS, "Step 1.1: Disable DLL temporarily.\n"); in tegra210_emc_r21021_set_clock() 706 emc_dbg(emc, STEPS, "Step 1.2: Disable AUTOCAL temporarily.\n"); in tegra210_emc_r21021_set_clock() 717 emc_dbg(emc, STEPS, "Step 1.3: Disable other power features.\n"); in tegra210_emc_r21021_set_clock() 825 emc_dbg(emc, STEPS, "Step 2\n"); in tegra210_emc_r21021_set_clock() 841 emc_dbg(emc, STEPS, "Step 3\n"); in tegra210_emc_r21021_set_clock() 861 emc_dbg(emc, STEPS, "Step 4\n"); in tegra210_emc_r21021_set_clock() 872 emc_dbg(emc, STEPS, "Step 5\n"); in tegra210_emc_r21021_set_clock() 889 emc_dbg(emc, STEPS, "Step 6\n"); in tegra210_emc_r21021_set_clock() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
| D | htab_map_batch_ops.c | 145 /* test 4: lookup/delete in a loop with various steps. */ in __test_map_lookup_and_delete_batch() 166 * go with large steps. Not that a buffer size with in __test_map_lookup_and_delete_batch() 174 CHECK((err && errno != ENOENT), "lookup with steps", in __test_map_lookup_and_delete_batch() 185 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_delete_batch() 203 CHECK(total != max_entries, "delete with steps", in __test_map_lookup_and_delete_batch() 229 * go with large steps. Not that a buffer size with in __test_map_lookup_and_delete_batch() 237 CHECK((err && errno != ENOENT), "lookup with steps", in __test_map_lookup_and_delete_batch() 248 CHECK(total != max_entries, "lookup/delete with steps", in __test_map_lookup_and_delete_batch()
|
| /kernel/linux/linux-5.10/drivers/staging/pi433/Documentation/ |
| D | pi433.txt | 187 step_0_5db - increase in 0,5dB steps 188 step_1_0db - increase in 1 db steps 189 step_1_5db - increase in 1,5dB steps 190 step_2_0db - increase in 2 db steps 191 step_3_0db - increase in 3 db steps 192 step_4_0db - increase in 4 db steps 193 step_5_0db - increase in 5 db steps 194 step_6_0db - increase in 6 db steps
|
| /kernel/linux/linux-4.19/drivers/staging/pi433/Documentation/ |
| D | pi433.txt | 187 step_0_5db - increase in 0,5dB steps 188 step_1_0db - increase in 1 db steps 189 step_1_5db - increase in 1,5dB steps 190 step_2_0db - increase in 2 db steps 191 step_3_0db - increase in 3 db steps 192 step_4_0db - increase in 4 db steps 193 step_5_0db - increase in 5 db steps 194 step_6_0db - increase in 6 db steps
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
| D | qcom_nandc.c | 177 * the largest page size we support is 8K, this will have 16 steps/codewords 685 * @num_cw: number of steps for the read/write operation 1403 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors() 1485 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command() 1610 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw() 1613 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw() 1615 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw() 1616 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw() 1695 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page() 1696 if (cw == (ecc->steps - 1)) { in check_for_erased_page() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | qcom_nandc.c | 169 * the largest page size we support is 8K, this will have 16 steps/codewords 678 * @num_cw: number of steps for the read/write operation 1396 num_cw = command == NAND_CMD_PAGEPROG ? ecc->steps : 1; in parse_erase_write_errors() 1477 update_rw_regs(host, ecc->steps, true); in qcom_nandc_command() 1604 data_size1 = mtd->writesize - host->cw_size * (ecc->steps - 1); in qcom_nandc_read_cw_raw() 1607 if (cw == (ecc->steps - 1)) { in qcom_nandc_read_cw_raw() 1609 ((ecc->steps - 1) * 4); in qcom_nandc_read_cw_raw() 1610 oob_size2 = (ecc->steps * 4) + host->ecc_bytes_hw + in qcom_nandc_read_cw_raw() 1687 for_each_set_bit(cw, &uncorrectable_cws, ecc->steps) { in check_for_erased_page() 1688 if (cw == (ecc->steps - 1)) { in check_for_erased_page() [all …]
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| 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 35 * write complete = Doing post programming steps
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-4.19/drivers/thermal/ |
| D | hisi_thermal.c | 85 * The register is programmed in temperature steps, every step is 785 88 * The temperature from the steps: 90 * Temp = TempBase + (steps x 785) 92 * and the steps from the temperature: 94 * steps = (Temp - TempBase) / 785 112 * The register is programmed in temperature steps, every step is 205 126 * The lag register contains 5 bits encoding the temperature in steps. 149 * The temperature is coded in steps, cf. HI6220_TEMP_STEP. 201 * The temperature is coded in steps, cf. HI3660_TEMP_STEP.
|
| /kernel/linux/linux-4.19/drivers/input/touchscreen/ |
| D | ti_am335x_tsc.c | 149 /* Steps 16 to 16-coordinate_readouts is for X */ in titsc_step_config() 201 /* The steps end ... end - readouts * 2 + 2 and bit 0 for TS_Charge */ in titsc_step_config() 480 u32 steps; in titsc_remove() local 484 /* total steps followed by the enable mask */ in titsc_remove() 485 steps = 2 * ts_dev->coordinate_readouts + 2; in titsc_remove() 486 steps = (1 << steps) - 1; in titsc_remove() 487 am335x_tsc_se_clr(ts_dev->mfd_tscadc, steps); in titsc_remove()
|