Home
last modified time | relevance | path

Searched refs:num_steps (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c581 unsigned int *num_steps, in hwss_build_fast_sequence() argument
593 *num_steps = 0; // Initialize to 0 in hwss_build_fast_sequence()
599 block_sequence[*num_steps].params.wait_for_dcc_meta_propagation_params.dc = dc; in hwss_build_fast_sequence()
600 …block_sequence[*num_steps].params.wait_for_dcc_meta_propagation_params.top_pipe_to_program = pipe_… in hwss_build_fast_sequence()
601 block_sequence[*num_steps].func = HUBP_WAIT_FOR_DCC_META_PROP; in hwss_build_fast_sequence()
602 (*num_steps)++; in hwss_build_fast_sequence()
605 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.dc = dc; in hwss_build_fast_sequence()
606 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.lock = true; in hwss_build_fast_sequence()
607 block_sequence[*num_steps].params.subvp_pipe_control_lock_fast_params.subvp_immediate_flip = in hwss_build_fast_sequence()
609 block_sequence[*num_steps].func = DMUB_SUBVP_PIPE_CONTROL_LOCK_FAST; in hwss_build_fast_sequence()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
H A Ddcn401_clk_mgr.c818 static void dcn401_execute_block_sequence(struct clk_mgr *clk_mgr_base, unsigned int num_steps) in dcn401_execute_block_sequence() argument
827 for (i = 0; i < num_steps; i++) { in dcn401_execute_block_sequence()
958 unsigned int num_steps = 0; in dcn401_build_update_bandwidth_clocks_sequence() local
971 block_sequence[num_steps].params.update_num_displays_params.num_displays = display_count; in dcn401_build_update_bandwidth_clocks_sequence()
972 block_sequence[num_steps].func = CLK_MGR401_UPDATE_NUM_DISPLAYS; in dcn401_build_update_bandwidth_clocks_sequence()
973 num_steps++; in dcn401_build_update_bandwidth_clocks_sequence()
989 block_sequence[num_steps].params.update_pstate_support_params.support = true; in dcn401_build_update_bandwidth_clocks_sequence()
990 block_sequence[num_steps].func = CLK_MGR401_UPDATE_FCLK_PSTATE_SUPPORT; in dcn401_build_update_bandwidth_clocks_sequence()
991 num_steps++; in dcn401_build_update_bandwidth_clocks_sequence()
1011 block_sequence[num_steps].params.update_hardmin_params.ppclk = PPCLK_DCFCLK; in dcn401_build_update_bandwidth_clocks_sequence()
[all …]
/linux/drivers/leds/rgb/
H A Dleds-ktd202x.c273 int ret, num_steps, on; in ktd202x_blink_set() local
299 num_steps = (*delay_on + *delay_off - KTD202X_FLASH_PERIOD_MIN_MS) / in ktd202x_blink_set()
301 num_steps = clamp(num_steps, 0, KTD202X_FLASH_PERIOD_MAX_STEPS); in ktd202x_blink_set()
307 delay_total_ms = num_steps * KTD202X_FLASH_PERIOD_STEP_MS + KTD202X_FLASH_PERIOD_MIN_MS; in ktd202x_blink_set()
312 ret = regmap_write(led->chip->regmap, KTD202X_REG_FLASH_PERIOD, num_steps); in ktd202x_blink_set()
/linux/drivers/video/backlight/
H A Dpwm_bl.c223 unsigned int num_steps = 0; in pwm_backlight_parse_dt() local
279 &num_steps); in pwm_backlight_parse_dt()
286 if (num_steps) { in pwm_backlight_parse_dt()
303 num_levels = (num_input_levels - 1) * num_steps + 1; in pwm_backlight_parse_dt()
319 dx = num_steps; in pwm_backlight_parse_dt()
/linux/drivers/gpu/drm/amd/display/dc/hwss/
H A Dhw_sequencer.h514 int num_steps);
520 unsigned int *num_steps,
/linux/sound/pci/hda/
H A Dpatch_via.c698 int offset, int num_steps, int step_size) in override_mic_boost() argument
704 (num_steps << AC_AMPCAP_NUM_STEPS_SHIFT) | in override_mic_boost()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c3125 int start_step, end_step, num_steps, ret; in nand_read_subpage() local
3137 num_steps = end_step - start_step + 1; in nand_read_subpage()
3141 datafrag_len = num_steps * chip->ecc.size; in nand_read_subpage()
3142 eccfrag_len = num_steps * chip->ecc.bytes; in nand_read_subpage()
3181 if ((oobregion.offset + (num_steps * chip->ecc.bytes)) & in nand_read_subpage()