Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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.c69 unsigned int num_timings; member
213 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes()
229 if (panel->desc->num_timings == 1) in panel_simple_get_timings_modes()
292 if (num == 0 && panel->desc->num_timings) in panel_simple_get_non_edid_modes()
301 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes()
543 unsigned int num_timings, in panel_simple_get_timings() argument
549 if (p->desc->num_timings < num_timings) in panel_simple_get_timings()
550 num_timings = p->desc->num_timings; in panel_simple_get_timings()
553 for (i = 0; i < num_timings; i++) in panel_simple_get_timings()
556 return p->desc->num_timings; in panel_simple_get_timings()
[all …]
/Linux-v5.15/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()
295 for (i = timing_index+1; i < tegra->num_timings; i++) { in get_backup_timing()
341 for (i = 0; i < tegra->num_timings; i++) { in emc_set_rate()
451 size = (tegra->num_timings + child_count) * sizeof(struct emc_timing); in load_timings_from_dt()
457 timings_ptr = tegra->timings + tegra->num_timings; in load_timings_from_dt()
458 tegra->num_timings += child_count; in load_timings_from_dt()
502 tegra->num_timings = 0; in tegra124_clk_register_emc()
521 if (tegra->num_timings == 0) in tegra124_clk_register_emc()
/Linux-v5.15/drivers/memory/tegra/
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()
Dtegra20-emc.c186 unsigned int num_timings; member
233 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing()
400 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
411 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
416 emc->num_timings, in tegra_emc_load_timings_from_dt()
419 emc->timings[emc->num_timings - 1].rate / 1000000); in tegra_emc_load_timings_from_dt()
513 if (!emc->num_timings) in emc_round_rate()
516 min_rate = min(min_rate, emc->timings[emc->num_timings - 1].rate); in emc_round_rate()
518 for (i = 0; i < emc->num_timings; i++) { in emc_round_rate()
519 if (emc->timings[i].rate < rate && i != emc->num_timings - 1) in emc_round_rate()
[all …]
Dtegra30-emc.c354 unsigned int num_timings; member
428 for (i = 0; i < emc->num_timings; i++) { in emc_find_timing()
493 for (i = 0; i < mc->num_timings; i++) { in emc_prepare_mc_clk_cfg()
946 if (emc->num_timings != mc->num_timings) { in emc_check_mc_timings()
948 emc->num_timings, mc->num_timings); in emc_check_mc_timings()
952 for (i = 0; i < mc->num_timings; i++) { in emc_check_mc_timings()
983 emc->num_timings = child_count; in emc_load_timings_from_dt()
994 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in emc_load_timings_from_dt()
1003 emc->num_timings, in emc_load_timings_from_dt()
1006 emc->timings[emc->num_timings - 1].rate / 1000000); in emc_load_timings_from_dt()
[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()
1739 for (i = 0; i < emc->num_timings; i++) { in tegra210_emc_debugfs_init()
1747 if (!emc->num_timings) { in tegra210_emc_debugfs_init()
1801 unsigned int num_timings) in tegra210_emc_validate_timings() argument
1805 for (i = 0; i < num_timings; i++) { in tegra210_emc_validate_timings()
1878 emc->num_timings); in tegra210_emc_probe()
1885 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()
1005 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
1017 sort(emc->timings, emc->num_timings, sizeof(*timing), cmp_timings, in tegra_emc_load_timings_from_dt()
1155 for (i = 0; i < emc->num_timings; i++) in tegra_emc_validate_rate()
1169 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_debug_available_rates_show()
1249 for (i = 0; i < emc->num_timings; i++) { in emc_debugfs_init()
1257 if (!emc->num_timings) { in emc_debugfs_init()
Dmc.c322 for (i = 0; i < mc->num_timings; i++) { in tegra_mc_write_emem_configuration()
436 mc->num_timings = child_count; in load_timings()
459 mc->num_timings = 0; in tegra_mc_setup_timings()
474 if (mc->num_timings == 0) in tegra_mc_setup_timings()
Dtegra210-emc.h898 unsigned int num_timings; member
/Linux-v5.15/include/video/
Ddisplay_timing.h86 unsigned int num_timings; member
97 if (disp->num_timings > index) in display_timings_get()
/Linux-v5.15/include/drm/
Ddrm_panel.h126 int (*get_timings)(struct drm_panel *panel, unsigned int num_timings,
/Linux-v5.15/include/soc/tegra/
Dmc.h222 unsigned int num_timings; member
/Linux-v5.15/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c141 for (i = 0; i < timings->num_timings; i++) { in panel_connector_get_modes()
/Linux-v5.15/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()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_edid.c5314 int num_timings; in add_displayid_detailed_1_modes() local
5321 num_timings = block->num_bytes / 20; in add_displayid_detailed_1_modes()
5322 for (i = 0; i < num_timings; i++) { in add_displayid_detailed_1_modes()