/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 71 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/gpu/drm/i915/gt/ |
D | selftest_ring.c | 52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument 54 u32 prev = x, next = intel_ring_wrap(ring, x + step); in check_ring_step() 65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset() argument 69 err |= check_ring_step(ring, x, step); in check_ring_offset() 70 err |= check_ring_step(ring, intel_ring_wrap(ring, x + 1), step); in check_ring_offset() 71 err |= check_ring_step(ring, intel_ring_wrap(ring, x - 1), step); in check_ring_offset() 80 int step, err = 0; in igt_ring_direction() local 89 for (step = 1; step < half; step <<= 1) { in igt_ring_direction() 90 err |= check_ring_offset(ring, 0, step); in igt_ring_direction() 91 err |= check_ring_offset(ring, half, step); in igt_ring_direction()
|
D | selftest_slpc.c | 76 u32 step, min_freq, req_freq; in live_slpc_clamp_min() local 83 step = (slpc_max_freq - slpc_min_freq) / NUM_STEPS; in live_slpc_clamp_min() 86 min_freq += step) { in live_slpc_clamp_min() 208 u32 step; in live_slpc_clamp_max() local 214 step = (slpc_max_freq - slpc_min_freq) / NUM_STEPS; in live_slpc_clamp_max() 217 max_freq -= step) { in live_slpc_clamp_max()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_enc.c | 118 .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/staging/media/atomisp/include/media/ |
D | lm3554.h | 36 .step = (_step), \ 48 .step = 1, \ 96 #define LM3554_VALUE_TO_PERCENT(v, step) (((((unsigned long)(v)) * (step)) + 50) / 100) argument 97 #define LM3554_PERCENT_TO_VALUE(p, step) (((((unsigned long)(p)) * 100) + (step >> 1)) / (step)) argument
|
/drivers/gpu/drm/i915/ |
D | intel_step.c | 129 struct intel_step_info step = {}; in intel_step_init() local 183 step = revids[revid]; in intel_step_init() 201 step = revids[revid]; in intel_step_init() 204 step.gt_step = STEP_FUTURE; in intel_step_init() 205 step.display_step = STEP_FUTURE; in intel_step_init() 209 if (drm_WARN_ON(&i915->drm, step.gt_step == STEP_NONE)) in intel_step_init() 212 RUNTIME_INFO(i915)->step = step; in intel_step_init() 219 const char *intel_step_name(enum intel_step step) in intel_step_name() argument 221 switch (step) { in intel_step_name()
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_syncmap.c | 335 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/ |
D | da903x-regulator.c | 309 #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 …]
|
D | atc260x-regulator.c | 170 #define atc2603c_reg_desc_dcdc(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 179 .uV_step = step, \ 208 #define atc2603c_reg_desc_dcdc_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 217 .uV_step = step, \ 225 #define atc2603c_reg_desc_ldo(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 234 .uV_step = step, \ 244 #define atc2603c_reg_desc_ldo_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 253 .uV_step = step, \ 274 #define atc2603c_reg_desc_ldo_switch(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 283 .uV_step = step, \
|
D | pv88060-regulator.c | 145 #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, \
|
D | pfuze100-regulator.c | 234 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument 238 .n_voltages = ((max) - (min)) / (step) + 1, \ 244 .uV_step = (step), \ 272 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument 276 .n_voltages = ((max) - (min)) / (step) + 1, \ 282 .uV_step = (step), \ 309 #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \ argument 312 .n_voltages = ((max) - (min)) / (step) + 1, \ 318 .uV_step = (step), \ 351 #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step) { \ argument [all …]
|
D | bd71815-regulator.c | 427 #define BD71815_BUCK_REG(_name, _id, vsel, ereg, min, max, step, _dvs) \ argument 433 .n_voltages = ((max) - (min)) / (step) + 1, \ 439 .uV_step = (step), \ 449 #define BD71815_BUCK12_REG(_name, _id, vsel, ereg, min, max, step, \ argument 456 .n_voltages = ((max) - (min)) / (step) + 1, \ 462 .uV_step = (step), \ 495 #define BD71815_LDO_REG(_name, _id, vsel, ereg, emsk, min, max, step, \ argument 502 .n_voltages = ((max) - (min)) / (step) + 1, \ 508 .uV_step = (step), \
|
/drivers/staging/vc04_services/bcm2835-camera/ |
D | controls.c | 84 u64 step; /* step size of the control */ member 924 .step = 1, 935 .step = 1, 946 .step = 1, 957 .step = 1, 968 .step = 1, 979 .step = 1, 990 .step = 1, 1001 .step = 0, 1013 .step = 1, [all …]
|
/drivers/clk/sunxi-ng/ |
D | ccu_phase.c | 18 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/ |
D | dm-stats.c | 49 sector_t step; member 229 (unsigned long long)s->step, in dm_stats_cleanup() 258 sector_t step, unsigned stat_flags, in dm_stats_create() argument 278 if (end < start || !step) in dm_stats_create() 282 if (dm_sector_div64(n_entries, step)) in dm_stats_create() 312 s->step = step; in dm_stats_create() 493 (unsigned long long)s->step, in dm_stats_list() 637 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio() 645 if (fragment_len > s->step - offset) in __dm_stat_bio() 646 fragment_len = s->step - offset; in __dm_stat_bio() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-ctrls-core.c | 36 ev->u.ctrl.step = 1; in fill_event() 38 ev->u.ctrl.step = ctrl->step; in fill_event() 311 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \ 314 val += (s32)((ctrl)->step / 2); \ 318 offset = (ctrl)->step * (offset / (u32)(ctrl)->step); \ 729 if (ctrl->maximum >= 0 && val >= ctrl->maximum - (s64)(ctrl->step / 2)) in std_validate() 732 val += (s64)(ctrl->step / 2); in std_validate() 735 do_div(offset, ctrl->step); in std_validate() 736 ptr.p_s64[idx] = ctrl->minimum + offset * ctrl->step; in std_validate() 775 if ((len - (u32)ctrl->minimum) % (u32)ctrl->step) in std_validate() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 370 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/ |
D | clk-cpu.c | 17 struct clk *step; member 48 ret = clk_set_parent(cpu->mux, cpu->step); in clk_cpu_set_rate() 75 struct clk *step) in imx_clk_hw_cpu() argument 89 cpu->step = step; in imx_clk_hw_cpu()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-ctrls.c | 156 .step = 1, 167 .step = 1, 177 .step = 1, 188 .step = 1, 200 .step = 1, 212 .step = 1, 245 .step = 1, 256 .step = 0, 303 .step = 1, 606 .step = 1, [all …]
|
/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 519 .step = 1, 528 .step = 1, 545 .step = 1, 554 .step = 1, 563 .step = 1, 572 .step = 1, 582 .step = 1, 592 .step = 1, 602 .step = 1, 612 .step = 1, [all …]
|
/drivers/media/pci/mantis/ |
D | mantis_dma.c | 141 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/leds/flash/ |
D | leds-ktd2692.c | 30 #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/power/supply/ |
D | bd99954-charger.c | 773 .step = 32000, 783 .step = 64000, 788 .step = 0, 801 .step = 0, 806 .step = 16000, 811 .step = 0, 821 .step = 0, 826 .step = 64000, 831 .step = 0, 841 .step = 0, [all …]
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1094 u32 step; in hem_list_calc_ba_range() local 1111 step = 1; in hem_list_calc_ba_range() 1114 step = step * unit; in hem_list_calc_ba_range() 1116 return step; in hem_list_calc_ba_range() 1130 int step; in hns_roce_hem_list_calc_root_ba() local 1136 step = hem_list_calc_ba_range(r->hopnum, 1, unit); in hns_roce_hem_list_calc_root_ba() 1137 if (step > 0) in hns_roce_hem_list_calc_root_ba() 1138 total += (r->count + step - 1) / step; in hns_roce_hem_list_calc_root_ba() 1161 u32 step; in hem_list_alloc_mid_bt() local 1191 step = hem_list_calc_ba_range(hopnum, level, unit); in hem_list_alloc_mid_bt() [all …]
|
/drivers/clk/sunxi/ |
D | clk-mod0.c | 177 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()
|