Home
last modified time | relevance | path

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

12345678910

/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c71 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument
97 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1()
102 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1()
106 for (k = 0; k < step; k++) in mb86290fb_imageblit1()
107 cmd[9 + i * step + k] = in mb86290fb_imageblit1()
108 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1()
120 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument
130 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8()
140 for (j = 0; j < step; j++) { in mb86290fb_imageblit8()
141 cmd[3 + i * step + j] = in mb86290fb_imageblit8()
[all …]
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c118 .step = 1,
134 .step = 1,
142 .step = 1,
150 .step = 1,
159 .step = 1,
168 .step = 1,
176 .step = 1,
184 .step = 1,
193 .step = 1,
210 .step = 0,
[all …]
/drivers/gpu/drm/i915/selftests/
Di915_syncmap.c335 unsigned int step, order, idx; in igt_syncmap_join_below() local
344 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below()
346 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below()
354 context, order, step, sync->height, sync->prefix); in igt_syncmap_join_below()
361 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below()
363 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below()
367 context, order, step); in igt_syncmap_join_below()
375 context + idx, order, step); in igt_syncmap_join_below()
384 for (step = 0; step < KSYNCMAP; step++) { in igt_syncmap_join_below()
385 u64 context = step * BIT_ULL(order); in igt_syncmap_join_below()
[all …]
/drivers/regulator/
Dda903x.c309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
316 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
319 .uV_step = (step) * 1000, \
329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
336 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
339 .uV_step = (step) * 1000, \
351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
352 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
355 DA903x_LDO(DA9030, _id, min, max, step, vreg, shift, nbits, ereg, ebit)
[all …]
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), \
322 #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step) { \ argument
[all …]
Dpv88060-regulator.c145 #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
156 .uV_step = step,\
157 .n_voltages = ((max) - (min))/(step) + 1,\
170 #define PV88060_LDO(chip, regl_name, min, step, max) \ argument
181 .uV_step = step, \
182 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \
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 …]
Ds2mps11.c357 #define regulator_desc_s2mps11_ldo(num, step) { \ argument
365 .uV_step = step, \
407 #define regulator_desc_s2mps11_buck67810(num, min, step, min_sel, voltages) { \ argument
414 .uV_step = step, \
497 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ argument
504 .uV_step = step, \
513 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ argument
520 .uV_step = step, \
530 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ argument
537 .uV_step = step, \
[all …]
Dpv88090-regulator.c161 #define PV88090_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
172 .uV_step = step, \
173 .n_voltages = ((max) - (min))/(step) + 1, \
187 #define PV88090_LDO(chip, regl_name, min, step, max) \ argument
198 .uV_step = step, \
199 .n_voltages = ((max) - (min))/(step) + 1, \
Dda9052-regulator.c285 #define DA9052_LDO(_id, _name, step, min, max, sbits, ebits, abits) \ argument
294 .n_voltages = (max - min) / step + 1, \
303 .step_uV = (step) * 1000,\
307 #define DA9052_DCDC(_id, _name, step, min, max, sbits, ebits, abits) \ argument
316 .n_voltages = (max - min) / step + 1, \
325 .step_uV = (step) * 1000,\
/drivers/clk/sunxi-ng/
Dccu_phase.c18 u16 step, parent_div; in ccu_phase_get_phase() local
52 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_get_phase()
53 return delay * step; in ccu_phase_get_phase()
86 u16 step, parent_div; in ccu_phase_set_phase() local
104 step = DIV_ROUND_CLOSEST(360, parent_div); in ccu_phase_set_phase()
105 delay = DIV_ROUND_CLOSEST(degrees, step); in ccu_phase_set_phase()
/drivers/md/
Ddm-stats.c49 sector_t step; member
223 (unsigned long long)s->step, in dm_stats_cleanup()
235 sector_t step, unsigned stat_flags, in dm_stats_create() argument
255 if (end < start || !step) in dm_stats_create()
259 if (dm_sector_div64(n_entries, step)) in dm_stats_create()
289 s->step = step; in dm_stats_create()
461 (unsigned long long)s->step, in dm_stats_list()
604 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio()
612 if (fragment_len > s->step - offset) in __dm_stat_bio()
613 fragment_len = s->step - offset; in __dm_stat_bio()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c370 u_int32_t step = minfo->fbcon.var.xres_virtual >> 1; in matroxfb_cfb4_clear() local
373 unsigned int uaddr = sy * step + sx - 1; in matroxfb_cfb4_clear()
378 uaddr += step; in matroxfb_cfb4_clear()
382 unsigned int uaddr = sy * step + sx + width; in matroxfb_cfb4_clear()
387 uaddr += step; in matroxfb_cfb4_clear()
409 u_int32_t step; in matroxfb_1bpp_imageblit() local
421 step = (width + 7) >> 3; in matroxfb_1bpp_imageblit()
422 charcell = height * step; in matroxfb_1bpp_imageblit()
425 if (width == step << 3) { in matroxfb_1bpp_imageblit()
457 if ((step & 3) == 0) { in matroxfb_1bpp_imageblit()
[all …]
/drivers/clk/imx/
Dclk-cpu.c16 struct clk *step; member
47 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate()
74 struct clk *step) in imx_clk_hw_cpu() argument
88 cpu->step = step; in imx_clk_hw_cpu()
/drivers/media/platform/xilinx/
Dxilinx-tpg.c516 .step = 1,
525 .step = 1,
542 .step = 1,
551 .step = 1,
560 .step = 1,
569 .step = 1,
579 .step = 1,
589 .step = 1,
599 .step = 1,
609 .step = 1,
[all …]
/drivers/media/platform/vivid/
Dvivid-ctrls.c139 .step = 1,
150 .step = 1,
160 .step = 1,
171 .step = 1,
183 .step = 1,
195 .step = 1,
228 .step = 1,
239 .step = 0,
566 .step = 1,
575 .step = 1,
[all …]
/drivers/media/pci/mantis/
Dmantis_dma.c141 u32 line, step; in mantis_risc_program() local
151 for (step = 0; step < MANTIS_DMA_TR_UNITS; step++) { in mantis_risc_program()
152 dprintk(MANTIS_DEBUG, 1, "RISC PROG line=[%d], step=[%d]", line, step); in mantis_risc_program()
153 if (step == 0) { in mantis_risc_program()
/drivers/power/supply/
Dbd70528-charger.c340 int step; member
348 .step = 1,
354 .step = 5,
360 .step = 20,
366 .step = 50,
380 .step = 10,
386 .step = 25,
409 *val = r[i].min + (sel - r[i].low_sel) * r[i].step; in find_value_for_selector_low()
433 if (r[i].min + r[i].step * r[i].vals >= val) { in find_selector_for_value_low()
436 r[i].step; in find_selector_for_value_low()
/drivers/media/v4l2-core/
Dv4l2-ctrls.c1122 s64 *min, s64 *max, u64 *step, s64 *def, u32 *flags) in v4l2_ctrl_fill() argument
1182 *max = *step = 1; in v4l2_ctrl_fill()
1203 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1300 *min = *max = *step = *def = 0; in v4l2_ctrl_fill()
1304 *step = 1; in v4l2_ctrl_fill()
1329 *step = 1; in v4l2_ctrl_fill()
1336 *step = 1; in v4l2_ctrl_fill()
1479 ev->u.ctrl.step = 1; in fill_event()
1481 ev->u.ctrl.step = ctrl->step; in fill_event()
1649 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \
[all …]
/drivers/leds/
Dleds-ktd2692.c30 #define GET_TIMEOUT_OFFSET(timeout, step) ((timeout) / (step)) argument
189 flash_tm_reg = GET_TIMEOUT_OFFSET(timeout->val, timeout->step); in ktd2692_led_flash_strobe_set()
218 u32 offset, step; in ktd2692_init_movie_current_max() local
222 step = KTD2692_MM_TO_FL_RATIO(cfg->flash_max_microamp) in ktd2692_init_movie_current_max()
226 movie_current_microamp = step * offset; in ktd2692_init_movie_current_max()
242 setting->step = cfg->flash_max_timeout in ktd2692_init_flash_timeout()
/drivers/clk/sunxi/
Dclk-mod0.c177 u16 step, mmc_div; in mmc_get_phase() local
210 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_get_phase()
211 return delay * step; in mmc_get_phase()
244 u16 step, mmc_div; in mmc_set_phase() local
262 step = DIV_ROUND_CLOSEST(360, mmc_div); in mmc_set_phase()
263 delay = DIV_ROUND_CLOSEST(degrees, step); in mmc_set_phase()
/drivers/infiniband/hw/hns/
Dhns_roce_hem.c1235 u32 step; in hem_list_calc_ba_range() local
1252 step = 1; in hem_list_calc_ba_range()
1255 step = step * unit; in hem_list_calc_ba_range()
1257 return step; in hem_list_calc_ba_range()
1271 int step; in hns_roce_hem_list_calc_root_ba() local
1277 step = hem_list_calc_ba_range(r->hopnum, 1, unit); in hns_roce_hem_list_calc_root_ba()
1278 if (step > 0) in hns_roce_hem_list_calc_root_ba()
1279 total += (r->count + step - 1) / step; in hns_roce_hem_list_calc_root_ba()
1302 u32 step; in hem_list_alloc_mid_bt() local
1332 step = hem_list_calc_ba_range(hopnum, level, unit); in hem_list_alloc_mid_bt()
[all …]
/drivers/staging/media/imx/
Dimx-media-fim.c302 .step = 1,
312 .step = 1,
322 .step = 1,
332 .step = 1,
342 .step = 1,
355 .step = 1,
365 .step = 1,
/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h13 short step; /* step in bytes for indexed items */ member
29 BUG_ON(index && !item->step); in __mlxsw_item_offset()
31 item->step % typesize != 0 || in __mlxsw_item_offset()
34 item->name, item->offset, item->step, in __mlxsw_item_offset()
39 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset()
286 .step = _step, \
327 .step = _step, \
368 .step = _step, \
409 .step = _step, \
458 .step = _step, \
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dvolt.c93 info->step = nvbios_rd16(bios, volt + 0x08); in nvbios_volt_parse()
97 info->base + info->step * info->vidmask); in nvbios_volt_parse()
100 info->max = max(info->base, info->base + info->step * info->vidmask); in nvbios_volt_parse()
115 info->step = nvbios_rd16(bios, volt + 0x16); in nvbios_volt_parse()

12345678910