Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/
Dof_display_timing.c179 disp->num_timings = of_get_child_count(timings_np); in of_get_display_timings()
180 if (disp->num_timings == 0) { in of_get_display_timings()
186 disp->timings = kcalloc(disp->num_timings, in of_get_display_timings()
194 disp->num_timings = 0; in of_get_display_timings()
215 np, disp->num_timings + 1); in of_get_display_timings()
221 disp->native_mode = disp->num_timings; in of_get_display_timings()
223 disp->timings[disp->num_timings] = dt; in of_get_display_timings()
224 disp->num_timings++; in of_get_display_timings()
234 np, disp->num_timings, in of_get_display_timings()
Ddisplay_timing.c17 for (i = 0; i < disp->num_timings; i++) in display_timings_release()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-seiko-43wvf1g.c26 unsigned int num_timings; member
66 for (i = 0; i < panel->desc->num_timings; i++) { in seiko_panel_get_fixed_modes()
82 if (panel->desc->num_timings == 1) in seiko_panel_get_fixed_modes()
207 unsigned int num_timings, in seiko_panel_get_timings() argument
213 if (p->desc->num_timings < num_timings) in seiko_panel_get_timings()
214 num_timings = p->desc->num_timings; in seiko_panel_get_timings()
217 for (i = 0; i < num_timings; i++) in seiko_panel_get_timings()
220 return p->desc->num_timings; in seiko_panel_get_timings()
300 .num_timings = 1,
Dpanel-simple.c61 unsigned int num_timings; member
130 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes()
146 if (panel->desc->num_timings == 1) in panel_simple_get_timings_modes()
209 if (num == 0 && panel->desc->num_timings) in panel_simple_get_non_edid_modes()
218 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes()
383 unsigned int num_timings, in panel_simple_get_timings() argument
389 if (p->desc->num_timings < num_timings) in panel_simple_get_timings()
390 num_timings = p->desc->num_timings; in panel_simple_get_timings()
393 for (i = 0; i < num_timings; i++) in panel_simple_get_timings()
396 return p->desc->num_timings; in panel_simple_get_timings()
[all …]
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra20-emc.c152 unsigned int num_timings; member
188 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing()
355 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
366 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
371 emc->num_timings, in tegra_emc_load_timings_from_dt()
374 emc->timings[emc->num_timings - 1].rate / 1000000); in tegra_emc_load_timings_from_dt()
454 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
456 for (i = 0; i < emc->num_timings; i++) { in emc_round_rate()
457 if (emc->timings[i].rate < rate && i != emc->num_timings - 1) in emc_round_rate()
512 for (i = 0; i < emc->num_timings; i++) in tegra_emc_validate_rate()
[all …]
Dtegra210-emc-table.c41 if (count != emc->num_timings) { in tegra210_emc_table_device_init()
43 count, emc->num_timings); in tegra210_emc_table_device_init()
50 emc->num_timings = count; in tegra210_emc_table_device_init()
Dtegra30-emc.c337 unsigned int num_timings; member
402 for (i = 0; i < emc->num_timings; i++) { in emc_find_timing()
467 for (i = 0; i < mc->num_timings; i++) { in emc_prepare_mc_clk_cfg()
920 if (emc->num_timings != mc->num_timings) { in emc_check_mc_timings()
922 emc->num_timings, mc->num_timings); in emc_check_mc_timings()
926 for (i = 0; i < mc->num_timings; i++) { in emc_check_mc_timings()
957 emc->num_timings = child_count; in emc_load_timings_from_dt()
968 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in emc_load_timings_from_dt()
977 emc->num_timings, in emc_load_timings_from_dt()
980 emc->timings[emc->num_timings - 1].rate / 1000000); in emc_load_timings_from_dt()
[all …]
Dtegra124-emc.c477 unsigned int num_timings; member
550 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing()
967 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
979 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
1039 for (i = 0; i < emc->num_timings; i++) in tegra_emc_validate_rate()
1053 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_debug_available_rates_show()
1142 for (i = 0; i < emc->num_timings; i++) { in emc_debugfs_init()
1150 if (!emc->num_timings) { in emc_debugfs_init()
1228 if (emc->num_timings == 0) { in tegra_emc_probe()
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()
1739 for (i = 0; i < emc->num_timings; i++) { in tegra210_emc_debugfs_init()
1747 if (!emc->num_timings) { in tegra210_emc_debugfs_init()
1805 unsigned int num_timings) in tegra210_emc_validate_timings() argument
1809 for (i = 0; i < num_timings; i++) { in tegra210_emc_validate_timings()
1899 emc->num_timings); in tegra210_emc_probe()
1906 emc->num_timings); in tegra210_emc_probe()
[all …]
Dmc.c283 for (i = 0; i < mc->num_timings; i++) { in tegra_mc_write_emem_configuration()
358 mc->num_timings = child_count; in load_timings()
381 mc->num_timings = 0; in tegra_mc_setup_timings()
396 if (mc->num_timings == 0) in tegra_mc_setup_timings()
Dtegra210-emc.h898 unsigned int num_timings; member
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-tegra124-emc.c80 int num_timings; member
121 for (k = 0; k < tegra->num_timings; k++) { in emc_determine_rate()
126 for (t = k; t < tegra->num_timings; t++) { in emc_determine_rate()
287 for (i = timing_index+1; i < tegra->num_timings; i++) { in get_backup_timing()
333 for (i = 0; i < tegra->num_timings; i++) { in emc_set_rate()
443 size = (tegra->num_timings + child_count) * sizeof(struct emc_timing); in load_timings_from_dt()
449 timings_ptr = tegra->timings + tegra->num_timings; in load_timings_from_dt()
450 tegra->num_timings += child_count; in load_timings_from_dt()
494 tegra->num_timings = 0; in tegra_clk_register_emc()
513 if (tegra->num_timings == 0) in tegra_clk_register_emc()
/kernel/linux/linux-5.10/include/video/
Ddisplay_timing.h86 unsigned int num_timings; member
97 if (disp->num_timings > index) in display_timings_get()
/kernel/linux/linux-5.10/include/drm/
Ddrm_panel.h126 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
/kernel/linux/linux-5.10/include/soc/tegra/
Dmc.h177 unsigned int num_timings; member
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c141 for (i = 0; i < timings->num_timings; i++) { in panel_connector_get_modes()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dpxafb.c2127 info->modes = devm_kcalloc(dev, timings->num_timings, in of_get_pxafb_display()
2132 info->num_modes = timings->num_timings; in of_get_pxafb_display()
2134 for (i = 0; i < timings->num_timings; i++) { in of_get_pxafb_display()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c5260 int num_timings; in add_displayid_detailed_1_modes() local
5267 num_timings = block->num_bytes / 20; in add_displayid_detailed_1_modes()
5268 for (i = 0; i < num_timings; i++) { in add_displayid_detailed_1_modes()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch15854 + desc->num_timings = 1;
15863 + if (desc->num_modes || desc->num_timings) {
46082 + const unsigned int num_timings;
46185 + unsigned int num_timings;
46191 + num_timings = inno->pdata->num_timings;
46196 + for (i = 0; i < num_timings; i++)
46200 + if (i == num_timings)
46610 + .num_timings = ARRAY_SIZE(inno_mipi_dphy_timing_table_max_1GHz),
46616 + .num_timings = ARRAY_SIZE(inno_mipi_dphy_timing_table_max_2_5GHz),