Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 96) sorted by relevance

1234

/linux-4.19.296/include/trace/events/
Dwbt.h92 int step, unsigned long window, unsigned int bg,
95 TP_ARGS(bdi, msg, step, window, bg, normal, max),
100 __field(int, step)
111 __entry->step = step;
119 __entry->name, __entry->msg, __entry->step, __entry->window,
132 int step, unsigned int inflight),
134 TP_ARGS(bdi, status, step, inflight),
139 __field(int, step)
147 __entry->step = step;
152 __entry->status, __entry->step, __entry->inflight)
/linux-4.19.296/drivers/clk/sunxi-ng/
Dccu_phase.c21 u16 step, parent_div; in ccu_phase_get_phase() local
55 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_get_phase()
56 return delay * step; in ccu_phase_get_phase()
89 u16 step, parent_div; in ccu_phase_set_phase() local
107 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_set_phase()
108 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
/linux-4.19.296/lib/
Dtest_bitmap.c236 #define step (sizeof(u64) / sizeof(unsigned long)) macro
239 {0, "1", &exp[1 * step], 8, 0},
240 {0, "0-15", &exp[2 * step], 32, 0},
241 {0, "16-31", &exp[3 * step], 32, 0},
242 {0, "0-31:1/2", &exp[4 * step], 32, 0},
243 {0, "1-31:1/2", &exp[5 * step], 32, 0},
244 {0, "0-31:1/4", &exp[6 * step], 32, 0},
245 {0, "1-31:1/4", &exp[7 * step], 32, 0},
246 {0, "0-31:4/4", &exp[8 * step], 32, 0},
247 {0, "1-31:4/4", &exp[9 * step], 32, 0},
[all …]
/linux-4.19.296/drivers/regulator/
Dda903x.c313 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
320 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
323 .uV_step = (step) * 1000, \
333 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
340 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
343 .uV_step = (step) * 1000, \
355 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
356 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
358 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
359 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
[all …]
Dmax8998.c39 int step; member
44 .min = 800000, .step = 50000, .max = 1300000,
47 .min = 1600000, .step = 100000, .max = 3600000,
50 .min = 3000000, .step = 100000, .max = 3600000,
53 .min = 2800000, .step = 100000, .max = 3100000,
56 .min = 950000, .step = 50000, .max = 1300000,
59 .min = 800000, .step = 100000, .max = 3300000,
62 .min = 1200000, .step = 100000, .max = 3300000,
65 .min = 1600000, .step = 100000, .max = 3600000,
68 .min = 750000, .step = 25000, .max = 1525000,
[all …]
Dpv88060-regulator.c187 #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
198 .uV_step = step,\
199 .n_voltages = ((max) - (min))/(step) + 1,\
211 #define PV88060_LDO(chip, regl_name, min, step, max) \ argument
222 .uV_step = step, \
223 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
Dpfuze100-regulator.c227 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument
231 .n_voltages = ((max) - (min)) / (step) + 1, \
237 .uV_step = (step), \
265 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument
269 .n_voltages = ((max) - (min)) / (step) + 1, \
275 .uV_step = (step), \
302 #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \ argument
305 .n_voltages = ((max) - (min)) / (step) + 1, \
311 .uV_step = (step), \
344 #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step) { \ argument
[all …]
Dmax8997-regulator.c63 int step; member
68 .min = 800000, .max = 3950000, .step = 50000,
72 .min = 650000, .max = 2225000, .step = 25000,
76 .min = 750000, .max = 3900000, .step = 50000,
81 .min = 200000, .max = 950000, .step = 50000,
85 .min = 50000, .max = 200000, .step = 10000,
161 val = desc->min + desc->step * selector; in max8997_list_voltage()
388 i = DIV_ROUND_UP(min_vol - desc->min, desc->step); in max8997_get_voltage_proper_val()
390 if (desc->min + desc->step * i > max_vol) in max8997_get_voltage_proper_val()
523 return DIV_ROUND_UP(desc->step * (new_selector - old_selector), in max8997_set_voltage_buck_time_sel()
[all …]
Dpv88090-regulator.c209 #define PV88090_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
220 .uV_step = step, \
221 .n_voltages = ((max) - (min))/(step) + 1, \
234 #define PV88090_LDO(chip, regl_name, min, step, max) \ argument
245 .uV_step = step, \
246 .n_voltages = ((max) - (min))/(step) + 1, \
Dmax8907-regulator.c49 #define REG_LDO(ids, supply, base, min, max, step) \ argument
54 .n_voltages = ((max) - (min)) / (step) + 1, \
59 .uV_step = (step), \
92 #define REG_BBAT(ids, supply, base, min, max, step) \ argument
97 .n_voltages = ((max) - (min)) / (step) + 1, \
102 .uV_step = (step), \
Dda9052-regulator.c294 #define DA9052_LDO(_id, step, min, max, sbits, ebits, abits) \ argument
301 .n_voltages = (max - min) / step + 1, \
310 .step_uV = (step) * 1000,\
314 #define DA9052_DCDC(_id, step, min, max, sbits, ebits, abits) \ argument
321 .n_voltages = (max - min) / step + 1, \
330 .step_uV = (step) * 1000,\
Ds2mps11.c251 #define regulator_desc_s2mps11_ldo(num, step) { \ argument
259 .uV_step = step, \
299 #define regulator_desc_s2mps11_buck67810(num, min, step) { \ argument
306 .uV_step = step, \
384 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ argument
391 .uV_step = step, \
400 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ argument
407 .uV_step = step, \
417 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ argument
424 .uV_step = step, \
[all …]
Ds5m8767.c45 int step; member
51 .step = 6250,
57 .step = 6250,
63 .step = 12500,
69 .step = 50000,
75 .step = 25000,
262 selector = DIV_ROUND_UP(min_vol - desc->min, desc->step); in s5m8767_convert_voltage_to_sel()
264 if (desc->min + desc->step * selector > desc->max) in s5m8767_convert_voltage_to_sel()
348 return DIV_ROUND_UP(desc->step * (new_sel - old_sel), in s5m8767_set_voltage_time_sel()
936 (desc->max - desc->min) / desc->step + 1; in s5m8767_pmic_probe()
[all …]
Dmax8925-regulator.c158 #define MAX8925_SDV(_id, min, max, step) \ argument
168 .uV_step = step * 1000, \
174 #define MAX8925_LDO(_id, min, max, step) \ argument
184 .uV_step = step * 1000, \
Drn5t618-regulator.c31 #define REG(rid, ereg, emask, vreg, vmask, min, max, step) \ argument
40 .n_voltages = ((max) - (min)) / (step) + 1, \
42 .uV_step = (step), \
Dpv88080-regulator.c331 #define PV88080_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
342 .uV_step = step, \
343 .n_voltages = ((max) - (min))/(step) + 1, \
349 #define PV88080_HVBUCK(chip, regl_name, min, step, max) \ argument
360 .uV_step = step, \
361 .n_voltages = ((max) - (min))/(step) + 1, \
Dda9055-regulator.c368 #define DA9055_LDO(_id, step, min, max, vbits, voffset) \ argument
375 .n_voltages = (max - min) / step + 1 + (voffset), \
379 .uV_step = (step) * 1000,\
396 #define DA9055_BUCK(_id, step, min, max, vbits, voffset, mbits, sbits) \ argument
403 .n_voltages = (max - min) / step + 1 + (voffset), \
407 .uV_step = (step) * 1000,\
/linux-4.19.296/drivers/clk/imx/
Dclk-cpu.c22 struct clk *step; member
53 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate()
80 struct clk *step) in imx_clk_cpu() argument
93 cpu->step = step; in imx_clk_cpu()
/linux-4.19.296/include/uapi/sound/
Dtlv.h58 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \ argument
61 ((step) & SNDRV_CTL_TLVD_DB_SCALE_MASK) | \
63 #define SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name, min, step, mute) \ argument
65 SNDRV_CTL_TLVD_DB_SCALE_ITEM(min, step, mute) \
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-ctrls.c1071 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags) in v4l2_ctrl_fill() argument
1131 *max = *step = 1; in v4l2_ctrl_fill()
1152 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1245 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1249 *step = 1; in v4l2_ctrl_fill()
1274 *step = 1; in v4l2_ctrl_fill()
1281 *step = 1; in v4l2_ctrl_fill()
1397 ev->u.ctrl.step = 1; in fill_event()
1399 ev->u.ctrl.step = ctrl->step; in fill_event()
1538 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \
[all …]
/linux-4.19.296/include/media/
Dv4l2-ctrls.h224 u64 step; member
335 u64 step; member
373 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags);
543 u32 id, s64 min, s64 max, u64 step,
768 s64 min, s64 max, u64 step, s64 def);
790 s64 min, s64 max, u64 step, s64 def) in v4l2_ctrl_modify_range() argument
795 rval = __v4l2_ctrl_modify_range(ctrl, min, max, step, def); in v4l2_ctrl_modify_range()
/linux-4.19.296/drivers/clk/sunxi/
Dclk-mod0.c185 u16 step, mmc_div; in mmc_get_phase() local
218 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_get_phase()
219 return delay * step; in mmc_get_phase()
252 u16 step, mmc_div; in mmc_set_phase() local
270 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_set_phase()
271 delay = DIV_ROUND_CLOSEST(degrees, step); in mmc_set_phase()
/linux-4.19.296/include/linux/
Dtracehook.h124 static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) in tracehook_report_syscall_exit() argument
126 if (step) { in tracehook_report_syscall_exit()
/linux-4.19.296/fs/pstore/
Dplatform.c780 const struct pstore_zbackend *step; in pstore_choose_compression() local
785 for (step = zbackends; step->name; step++) { in pstore_choose_compression()
786 if (!strcmp(compress, step->name)) { in pstore_choose_compression()
787 zbackend = step; in pstore_choose_compression()
/linux-4.19.296/drivers/media/common/
Dcx2341x.c129 s32 *min, s32 *max, s32 *step, s32 *def, u32 *flags) in cx2341x_ctrl_fill() argument
142 *step = 0; in cx2341x_ctrl_fill()
147 *max = *step = 1; in cx2341x_ctrl_fill()
547 s32 min, s32 max, s32 step, s32 def) in cx2341x_ctrl_query_fill() argument
566 &min, &max, &step, &def, &qctrl->flags); in cx2341x_ctrl_query_fill()
569 qctrl->step = step; in cx2341x_ctrl_query_fill()
576 return v4l2_ctrl_query_fill(qctrl, min, max, step, def); in cx2341x_ctrl_query_fill()
1514 u32 id, s32 min, s32 max, s32 step, s32 def) in cx2341x_ctrl_new_custom() argument
1519 cx2341x_ctrl_fill(id, &cfg.name, &cfg.type, &min, &max, &step, &def, &cfg.flags); in cx2341x_ctrl_new_custom()
1526 cfg.step = 0; in cx2341x_ctrl_new_custom()
[all …]

1234