/drivers/gpu/drm/i915/ |
D | intel_step.c | 145 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local 147 if (step >= STEP_FUTURE) { in gmd_to_intel_step() 152 return step; in gmd_to_intel_step() 162 struct intel_step_info step = {}; in intel_step_init() local 165 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init() 167 step.media_step = gmd_to_intel_step(i915, in intel_step_init() 169 step.display_step = STEP_A0 + DISPLAY_RUNTIME_INFO(i915)->ip.step; in intel_step_init() 170 if (step.display_step >= STEP_FUTURE) { in intel_step_init() 172 step.display_step = STEP_FUTURE; in intel_step_init() 175 RUNTIME_INFO(i915)->step = step; in intel_step_init() [all …]
|
D | intel_device_info.c | 112 drm_printf(p, "graphics stepping: %s\n", intel_step_name(runtime->step.graphics_step)); in intel_device_info_print() 113 drm_printf(p, "media stepping: %s\n", intel_step_name(runtime->step.media_step)); in intel_device_info_print() 114 drm_printf(p, "display stepping: %s\n", intel_step_name(runtime->step.display_step)); in intel_device_info_print() 115 drm_printf(p, "base die stepping: %s\n", intel_step_name(runtime->step.basedie_step)); in intel_device_info_print() 308 ip->step = REG_FIELD_GET(GMD_ID_STEP, val); in ip_ver_read() 427 u16 ver, rel, step; in intel_device_info_driver_create() local 438 &ver, &rel, &step); in intel_device_info_driver_create() 446 DISPLAY_RUNTIME_INFO(i915)->ip.step = step; in intel_device_info_driver_create()
|
/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb_accel.c | 69 static void mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit1() argument 95 (GDC_CMD_BITMAP << 16) | (2 + (step * height)); in mb86290fb_imageblit1() 100 memcpy(&cmd[9 + i * step], line, step << 2); in mb86290fb_imageblit1() 104 for (k = 0; k < step; k++) in mb86290fb_imageblit1() 105 cmd[9 + i * step + k] = in mb86290fb_imageblit1() 106 cpu_to_be32(cmd[9 + i * step + k]); in mb86290fb_imageblit1() 118 static void mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, in mb86290fb_imageblit8() argument 128 (GDC_CMD_BLT_DRAW << 16) | (2 + (height * step)); in mb86290fb_imageblit8() 138 for (j = 0; j < step; j++) { in mb86290fb_imageblit8() 139 cmd[3 + i * step + j] = in mb86290fb_imageblit8() [all …]
|
/drivers/mtd/nand/ |
D | ecc-mxic.c | 484 int step; in mxic_ecc_extract_status_bytes() local 487 for (step = 0; step < ctx->steps; step++) { in mxic_ecc_extract_status_bytes() 489 ((STAT_BYTES + ctx->oob_step_sz) * step); in mxic_ecc_extract_status_bytes() 491 ctx->status[step] = buf[next_stat_pos]; in mxic_ecc_extract_status_bytes() 498 int step; in mxic_ecc_reconstruct_oobbuf() local 501 for (step = 0; step < ctx->steps; step++) in mxic_ecc_reconstruct_oobbuf() 502 memcpy(dst + (step * ctx->oob_step_sz), in mxic_ecc_reconstruct_oobbuf() 503 src + (step * (ctx->oob_step_sz + STAT_BYTES)), in mxic_ecc_reconstruct_oobbuf() 510 int step; in mxic_ecc_add_room_in_oobbuf() local 513 for (step = 0; step < ctx->steps; step++) in mxic_ecc_add_room_in_oobbuf() [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()
|
/drivers/media/platform/samsung/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/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 | 171 #define atc2603c_reg_desc_dcdc(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 180 .uV_step = step, \ 209 #define atc2603c_reg_desc_dcdc_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 218 .uV_step = step, \ 226 #define atc2603c_reg_desc_ldo(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 235 .uV_step = step, \ 245 #define atc2603c_reg_desc_ldo_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 254 .uV_step = step, \ 275 #define atc2603c_reg_desc_ldo_switch(num, min, step, n_volt, vsel_h, vsel_l) { \ argument 284 .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 | mt6358-regulator.c | 39 #define MT6358_BUCK(match, vreg, min, max, step, \ argument 50 .n_voltages = ((max) - (min)) / (step) + 1, \ 52 .uV_step = (step), \ 91 #define MT6358_LDO1(match, vreg, min, max, step, \ argument 102 .n_voltages = ((max) - (min)) / (step) + 1, \ 104 .uV_step = (step), \ 135 #define MT6366_BUCK(match, vreg, min, max, step, \ argument 146 .n_voltages = ((max) - (min)) / (step) + 1, \ 148 .uV_step = (step), \ 187 #define MT6366_LDO1(match, vreg, min, max, step, \ argument [all …]
|
/drivers/staging/vc04_services/bcm2835-camera/ |
D | controls.c | 77 u64 step; /* step size of the control */ member 918 .step = 1, 929 .step = 1, 940 .step = 1, 951 .step = 1, 962 .step = 1, 973 .step = 1, 984 .step = 1, 995 .step = 0, 1007 .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 int 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() 498 (unsigned long long)s->step, in dm_stats_list() 645 offset = dm_sector_div64(rel_sector, s->step); in __dm_stat_bio() 653 if (fragment_len > s->step - offset) in __dm_stat_bio() 654 fragment_len = s->step - offset; in __dm_stat_bio() [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/media/test-drivers/vivid/ |
D | vivid-ctrls.c | 161 .step = 1, 172 .step = 1, 182 .step = 1, 193 .step = 1, 206 .step = 1, 218 .step = 1, 230 .step = 1, 242 .step = 1, 254 .step = 1, 266 .step = 1, [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/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/cpufreq/ |
D | cppc_cpufreq.c | 504 static inline unsigned long compute_cost(int cpu, int step) in compute_cost() argument 507 step * CPPC_EM_COST_STEP; in compute_cost() 514 unsigned int min_step, max_step, step, step_check; in cppc_get_cpu_power() local 534 step = perf_prev / perf_step; in cppc_get_cpu_power() 536 if (step > max_step) in cppc_get_cpu_power() 540 step = max_step; in cppc_get_cpu_power() 542 } else if (step < min_step) { in cppc_get_cpu_power() 543 step = min_step; in cppc_get_cpu_power() 546 step++; in cppc_get_cpu_power() 547 if (step == max_step) in cppc_get_cpu_power() [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() 387 val >= (ctrl)->maximum - (s32)((ctrl)->step / 2)) \ 390 val += (s32)((ctrl)->step / 2); \ 394 offset = (ctrl)->step * (offset / (u32)(ctrl)->step); \ 1195 if (ctrl->maximum >= 0 && val >= ctrl->maximum - (s64)(ctrl->step / 2)) in std_validate_elem() 1198 val += (s64)(ctrl->step / 2); in std_validate_elem() 1201 do_div(offset, ctrl->step); in std_validate_elem() 1202 ptr.p_s64[idx] = ctrl->minimum + offset * ctrl->step; in std_validate_elem() 1241 if ((len - (u32)ctrl->minimum) % (u32)ctrl->step) in std_validate_elem() [all …]
|
/drivers/staging/media/atomisp/pci/ |
D | atomisp_ioctl.c | 55 .step = 1, 64 .step = 1, 73 .step = 1, 82 .step = 1, 91 .step = 1, 100 .step = 1, 109 .step = 1, 118 .step = 1, 127 .step = 1, 136 .step = 1, [all …]
|
/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/infiniband/hw/hns/ |
D | hns_roce_hem.c | 1103 u32 step; in hem_list_calc_ba_range() local 1120 step = 1; in hem_list_calc_ba_range() 1123 step = step * unit; in hem_list_calc_ba_range() 1125 return step; in hem_list_calc_ba_range() 1139 int step; in hns_roce_hem_list_calc_root_ba() local 1145 step = hem_list_calc_ba_range(r->hopnum, 1, unit); in hns_roce_hem_list_calc_root_ba() 1146 if (step > 0) in hns_roce_hem_list_calc_root_ba() 1147 total += (r->count + step - 1) / step; in hns_roce_hem_list_calc_root_ba() 1170 u32 step; in hem_list_alloc_mid_bt() local 1200 step = hem_list_calc_ba_range(hopnum, level, unit); in hem_list_alloc_mid_bt() [all …]
|