Home
last modified time | relevance | path

Searched refs:num_timings (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-seiko-43wvf1g.c28 unsigned int num_timings; member
67 for (i = 0; i < panel->desc->num_timings; i++) { in seiko_panel_get_fixed_modes()
83 if (panel->desc->num_timings == 1) in seiko_panel_get_fixed_modes()
178 unsigned int num_timings, in seiko_panel_get_timings() argument
184 if (p->desc->num_timings < num_timings) in seiko_panel_get_timings()
185 num_timings = p->desc->num_timings; in seiko_panel_get_timings()
188 for (i = 0; i < num_timings; i++) in seiko_panel_get_timings()
191 return p->desc->num_timings; in seiko_panel_get_timings()
263 .num_timings = 1,
Dpanel-simple.c70 unsigned int num_timings; member
169 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes()
185 if (panel->desc->num_timings == 1) in panel_simple_get_timings_modes()
248 if (num == 0 && panel->desc->num_timings) in panel_simple_get_non_edid_modes()
257 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes()
400 unsigned int num_timings, in panel_simple_get_timings() argument
406 if (p->desc->num_timings < num_timings) in panel_simple_get_timings()
407 num_timings = p->desc->num_timings; in panel_simple_get_timings()
410 for (i = 0; i < num_timings; i++) in panel_simple_get_timings()
413 return p->desc->num_timings; in panel_simple_get_timings()
[all …]
Dpanel-edp.c187 unsigned int num_timings; member
260 for (i = 0; i < panel->desc->num_timings; i++) { in panel_edp_get_timings_modes()
276 if (panel->desc->num_timings == 1) in panel_edp_get_timings_modes()
357 if (num == 0 && panel->desc->num_timings) in panel_edp_get_non_edid_modes()
366 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_edp_get_non_edid_modes()
585 bool has_hard_coded_modes = p->desc->num_timings || p->desc->num_modes; in panel_edp_get_modes()
635 unsigned int num_timings, in panel_edp_get_timings() argument
641 if (p->desc->num_timings < num_timings) in panel_edp_get_timings()
642 num_timings = p->desc->num_timings; in panel_edp_get_timings()
645 for (i = 0; i < num_timings; i++) in panel_edp_get_timings()
[all …]
/linux-6.12.1/drivers/video/
Dof_display_timing.c180 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
181 if (disp->num_timings == 0) { in of_get_display_timings()
187 disp->timings = kcalloc(disp->num_timings, in of_get_display_timings()
195 disp->num_timings = 0; in of_get_display_timings()
216 np, disp->num_timings + 1); in of_get_display_timings()
222 disp->native_mode = disp->num_timings; in of_get_display_timings()
224 disp->timings[disp->num_timings] = dt; in of_get_display_timings()
225 disp->num_timings++; in of_get_display_timings()
235 np, disp->num_timings, in of_get_display_timings()
Ddisplay_timing.c17 for (i = 0; i < disp->num_timings; i++) in display_timings_release()
/linux-6.12.1/drivers/clk/tegra/
Dclk-tegra124-emc.c81 int num_timings; member
125 for (k = 0; k < tegra->num_timings; k++) { in emc_determine_rate()
130 for (t = k; t < tegra->num_timings; t++) { in emc_determine_rate()
296 for (i = timing_index+1; i < tegra->num_timings; i++) { in get_backup_timing()
342 for (i = 0; i < tegra->num_timings; i++) { in emc_set_rate()
452 size = (tegra->num_timings + child_count) * sizeof(struct emc_timing); in load_timings_from_dt()
458 timings_ptr = tegra->timings + tegra->num_timings; in load_timings_from_dt()
459 tegra->num_timings += child_count; in load_timings_from_dt()
504 tegra->num_timings = 0; in tegra124_clk_register_emc()
524 if (tegra->num_timings == 0) in tegra124_clk_register_emc()
/linux-6.12.1/drivers/memory/tegra/
Dtegra210-emc-table.c39 if (count != emc->num_timings) { in tegra210_emc_table_device_init()
41 count, emc->num_timings); in tegra210_emc_table_device_init()
48 emc->num_timings = count; in tegra210_emc_table_device_init()
Dtegra30-emc.c367 unsigned int num_timings; member
443 for (i = 0; i < emc->num_timings; i++) { in emc_find_timing()
508 for (i = 0; i < mc->num_timings; i++) { in emc_prepare_mc_clk_cfg()
961 if (emc->num_timings != mc->num_timings) { in emc_check_mc_timings()
963 emc->num_timings, mc->num_timings); in emc_check_mc_timings()
967 for (i = 0; i < mc->num_timings; i++) { in emc_check_mc_timings()
997 emc->num_timings = child_count; in emc_load_timings_from_dt()
1006 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in emc_load_timings_from_dt()
1015 emc->num_timings, in emc_load_timings_from_dt()
1018 emc->timings[emc->num_timings - 1].rate / 1000000); in emc_load_timings_from_dt()
[all …]
Dtegra20-emc.c207 unsigned int num_timings; member
262 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing()
438 emc->num_timings++; in tegra_emc_load_timings_from_dt()
441 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
446 emc->num_timings, in tegra_emc_load_timings_from_dt()
449 emc->timings[emc->num_timings - 1].rate / 1000000); in tegra_emc_load_timings_from_dt()
681 if (!emc->num_timings) in emc_round_rate()
684 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
686 for (i = 0; i < emc->num_timings; i++) { in emc_round_rate()
687 if (emc->timings[i].rate < rate && i != emc->num_timings - 1) in emc_round_rate()
[all …]
Dtegra210-emc-core.c860 for (i = 0; i < emc->num_timings; i++) in tegra210_emc_find_timing()
1541 for (i = 0; i < emc->num_timings; i++) { in tegra210_emc_set_rate()
1601 for (i = 0; i < emc->num_timings; i++) in tegra210_emc_validate_rate()
1615 for (i = 0; i < emc->num_timings; i++) { in tegra210_emc_debug_available_rates_show()
1726 for (i = 0; i < emc->num_timings; i++) { in tegra210_emc_debugfs_init()
1734 if (!emc->num_timings) { in tegra210_emc_debugfs_init()
1788 unsigned int num_timings) in tegra210_emc_validate_timings() argument
1792 for (i = 0; i < num_timings; i++) { in tegra210_emc_validate_timings()
1865 emc->num_timings); in tegra210_emc_probe()
1872 emc->num_timings); in tegra210_emc_probe()
[all …]
Dtegra124-emc.c496 unsigned int num_timings; member
580 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing()
1004 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
1014 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
1152 for (i = 0; i < emc->num_timings; i++) in tegra_emc_validate_rate()
1166 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_debug_available_rates_show()
1246 for (i = 0; i < emc->num_timings; i++) { in emc_debugfs_init()
1254 if (!emc->num_timings) { in emc_debugfs_init()
Dmc.c349 for (i = 0; i < mc->num_timings; i++) { in tegra_mc_write_emem_configuration()
462 mc->num_timings = child_count; in load_timings()
482 mc->num_timings = 0; in tegra_mc_setup_timings()
496 if (mc->num_timings == 0) in tegra_mc_setup_timings()
Dtegra210-emc.h898 unsigned int num_timings; member
/linux-6.12.1/include/video/
Ddisplay_timing.h86 unsigned int num_timings; member
97 if (disp->num_timings > index) in display_timings_get()
/linux-6.12.1/drivers/phy/rockchip/
Dphy-rockchip-inno-dsidphy.c201 const unsigned int num_timings; member
456 for (i = 0; i < inno->pdata->num_timings; i++) in inno_dsidphy_mipi_mode_enable()
460 if (i == inno->pdata->num_timings) in inno_dsidphy_mipi_mode_enable()
681 .num_timings = ARRAY_SIZE(inno_mipi_dphy_timing_table_max_1ghz),
687 .num_timings = ARRAY_SIZE(inno_mipi_dphy_timing_table_max_2_5ghz),
/linux-6.12.1/include/drm/
Ddrm_panel.h138 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
/linux-6.12.1/include/soc/tegra/
Dmc.h215 unsigned int num_timings; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_wrapper.c120 for (i = 0; i < (int) p->cur_display_config->num_timings; i++) { in optimize_configuration()
139 for (i = 0; i < (int) p->cur_display_config->num_timings; i++) { in optimize_configuration()
164 new_timing_index = p->new_display_config->num_timings++; in optimize_configuration()
Ddml2_translation_helper.c1160 for (i = 0; i < dml_dispcfg->num_timings; i++) { in apply_legacy_svp_drr_settings()
1304 disp_cfg_stream_location = dml_dispcfg->num_timings++; in map_dc_state_into_dml_display_cfg()
1394 dml_dispcfg->num_timings++; in map_dc_state_into_dml_display_cfg()
Ddisplay_mode_core_structs.h616 unsigned int num_timings; member
/linux-6.12.1/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c141 for (i = 0; i < timings->num_timings; i++) { in panel_connector_get_modes()
/linux-6.12.1/drivers/video/fbdev/
Dpxafb.c2123 info->modes = devm_kcalloc(dev, timings->num_timings, in of_get_pxafb_display()
2128 info->num_modes = timings->num_timings; in of_get_pxafb_display()
2130 for (i = 0; i < timings->num_timings; i++) { in of_get_pxafb_display()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_edid.c6808 int num_timings; in add_displayid_detailed_1_modes() local
6816 num_timings = block->num_bytes / 20; in add_displayid_detailed_1_modes()
6817 for (i = 0; i < num_timings; i++) { in add_displayid_detailed_1_modes()