Home
last modified time | relevance | path

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

/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.h518 int num_steps);
524 unsigned int *num_steps,
/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()