Home
last modified time | relevance | path

Searched refs:num_modes (Results 1 – 25 of 93) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-simple.c59 unsigned int num_modes; member
162 for (i = 0; i < panel->desc->num_modes; i++) { in panel_simple_get_display_modes()
175 if (panel->desc->num_modes == 1) in panel_simple_get_display_modes()
218 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes()
467 if (WARN_ON(desc->num_modes)) { in panel_simple_parse_panel_timing_node()
678 .num_modes = 1,
704 .num_modes = 1,
728 .num_modes = 1,
777 .num_modes = 1,
825 .num_modes = 1,
[all …]
Dpanel-novatek-nt39016.c52 unsigned int num_modes; member
210 for (i = 0; i < panel_info->num_modes; i++) { in nt39016_get_modes()
219 if (panel_info->num_modes == 1) in nt39016_get_modes()
233 return panel_info->num_modes; in nt39016_get_modes()
342 .num_modes = ARRAY_SIZE(kd035g6_display_modes),
Dpanel-olimex-lcd-olinuxino.c56 u32 num_modes; member
147 for (i = 0; i < lcd->eeprom.num_modes; i++) { in lcd_olinuxino_get_modes()
263 if (lcd->eeprom.num_modes > 4) { in lcd_olinuxino_probe()
265 lcd->eeprom.num_modes = 4; in lcd_olinuxino_probe()
Dpanel-seiko-43wvf1g.c24 unsigned int num_modes; member
89 for (i = 0; i < panel->desc->num_modes; i++) { in seiko_panel_get_fixed_modes()
102 if (panel->desc->num_modes == 1) in seiko_panel_get_fixed_modes()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dmax1363.c140 u8 num_modes; member
306 for (i = 0; i < ci->num_modes; i++) in max1363_match_mode()
1061 .num_modes = ARRAY_SIZE(max1363_mode_list),
1071 .num_modes = ARRAY_SIZE(max1363_mode_list),
1081 .num_modes = ARRAY_SIZE(max1363_mode_list),
1091 .num_modes = ARRAY_SIZE(max1363_mode_list),
1101 .num_modes = ARRAY_SIZE(max1236_mode_list),
1111 .num_modes = ARRAY_SIZE(max1236_mode_list),
1121 .num_modes = ARRAY_SIZE(max1238_mode_list),
1131 .num_modes = ARRAY_SIZE(max1238_mode_list),
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dparallel-display.c52 int num_modes; in imx_pd_connector_get_modes() local
54 num_modes = drm_panel_get_modes(imxpd->panel, connector); in imx_pd_connector_get_modes()
55 if (num_modes > 0) in imx_pd_connector_get_modes()
56 return num_modes; in imx_pd_connector_get_modes()
60 num_modes = drm_add_edid_modes(connector, imxpd->edid); in imx_pd_connector_get_modes()
81 num_modes++; in imx_pd_connector_get_modes()
84 return num_modes; in imx_pd_connector_get_modes()
Dimx-ldb.c128 int num_modes; in imx_ldb_connector_get_modes() local
130 num_modes = drm_panel_get_modes(imx_ldb_ch->panel, connector); in imx_ldb_connector_get_modes()
131 if (num_modes > 0) in imx_ldb_connector_get_modes()
132 return num_modes; in imx_ldb_connector_get_modes()
140 num_modes = drm_add_edid_modes(connector, imx_ldb_ch->edid); in imx_ldb_connector_get_modes()
152 num_modes++; in imx_ldb_connector_get_modes()
155 return num_modes; in imx_ldb_connector_get_modes()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dlpd270.c307 .num_modes = 1,
329 .num_modes = 1,
351 .num_modes = 1,
373 .num_modes = 1,
395 .num_modes = 1,
417 .num_modes = 1,
Dpcm990-baseboard.c117 .num_modes = 1,
139 .num_modes = 1,
Deseries.c259 .num_modes = 1,
412 .num_modes = 1,
609 .num_modes = 1,
870 .num_modes = 2,
Dcolibri-pxa3xx.c94 .num_modes = 1,
/kernel/linux/linux-5.10/drivers/leds/
Dleds-ns2.c52 int num_modes; member
65 for (i = 0; i < led->num_modes; i++) { in ns2_led_get_mode()
81 for (i = 0; i < led->num_modes; i++) in ns2_led_set_mode()
85 if (i == led->num_modes) in ns2_led_set_mode()
218 led->num_modes = nmodes; in ns2_led_register()
Dleds-netxbig.c513 int num_modes; in netxbig_leds_get_of_pdata() local
547 num_modes = ret / 2; in netxbig_leds_get_of_pdata()
548 if (num_modes > NETXBIG_LED_MODE_NUM) { in netxbig_leds_get_of_pdata()
553 for (i = 0; i < num_modes; i++) { in netxbig_leds_get_of_pdata()
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpbe.c121 for (i = 0; i < cfg->outputs[curr_output].num_modes; i++) { in vpbe_get_mode_info()
152 for (i = 0; i < vpbe_dev->cfg->outputs[curr_output].num_modes; i++) { in vpbe_get_std_info()
172 for (i = 0; i < vpbe_dev->cfg->outputs[curr_output].num_modes; i++) { in vpbe_get_std_info_by_name()
310 for (i = 0; i < output->num_modes; i++) { in vpbe_s_dv_timings()
316 if (i >= output->num_modes) in vpbe_s_dv_timings()
385 for (i = 0; i < output->num_modes; i++) { in vpbe_enum_dv_timings()
393 if (i == output->num_modes) in vpbe_enum_dv_timings()
481 for (i = 0; i < cfg->outputs[out_index].num_modes; i++) { in vpbe_set_mode()
809 if (cfg->outputs->num_modes > 0) in vpbe_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_dp.c76 int num_modes = 0; in exynos_dp_get_modes() local
79 return num_modes; in exynos_dp_get_modes()
85 return num_modes; in exynos_dp_get_modes()
96 return num_modes + 1; in exynos_dp_get_modes()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dvo.c333 int num_modes; in intel_dvo_get_modes() local
341 num_modes = intel_ddc_get_modes(connector, in intel_dvo_get_modes()
343 if (num_modes) in intel_dvo_get_modes()
344 return num_modes; in intel_dvo_get_modes()
352 num_modes++; in intel_dvo_get_modes()
356 return num_modes; in intel_dvo_get_modes()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dnxp-ptn3460.c193 int num_modes; in ptn3460_connector_get_modes() local
197 num_modes = drm_add_edid_modes(connector, edid); in ptn3460_connector_get_modes()
200 return num_modes; in ptn3460_connector_get_modes()
Dmegachips-stdpxxxx-ge-b850v3-fw.c146 int num_modes; in ge_b850v3_lvds_get_modes() local
151 num_modes = drm_add_edid_modes(connector, edid); in ge_b850v3_lvds_get_modes()
154 return num_modes; in ge_b850v3_lvds_get_modes()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dvideo-mx3fb.h46 int num_modes; member
Dvideo-imxfb.h60 int num_modes; member
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/
Danalogix-anx6345.c457 int err, num_modes = 0; in anx6345_get_modes() local
486 num_modes += drm_add_edid_modes(connector, anx6345->edid); in anx6345_get_modes()
497 if (!num_modes && anx6345->panel) in anx6345_get_modes()
498 num_modes += drm_panel_get_modes(anx6345->panel, connector); in anx6345_get_modes()
500 return num_modes; in anx6345_get_modes()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dimxfb.c172 int num_modes; member
339 for (i = 0, m = &fbi->mode[0]; i < fbi->num_modes; i++, m++) { in imxfb_find_mode()
906 fbi->num_modes = pdata->num_modes; in imxfb_probe()
922 fbi->num_modes = 1; in imxfb_probe()
940 for (i = 0; i < fbi->num_modes; i++, m++) in imxfb_probe()
1010 for (i = 0; i < fbi->num_modes; i++) in imxfb_probe()
/kernel/linux/linux-5.10/include/video/
Dpxa168fb.h83 int num_modes; member
/kernel/linux/linux-5.10/drivers/staging/board/
Darmadillo800eva.c44 .num_modes = 1,
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_edid.c1902 int num_modes = 0; in drm_add_override_edid_modes() local
1907 num_modes = drm_add_edid_modes(connector, override); in drm_add_override_edid_modes()
1911 connector->base.id, connector->name, num_modes); in drm_add_override_edid_modes()
1914 return num_modes; in drm_add_override_edid_modes()
5262 int num_modes = 0; in add_displayid_detailed_1_modes() local
5276 num_modes++; in add_displayid_detailed_1_modes()
5278 return num_modes; in add_displayid_detailed_1_modes()
5287 int num_modes = 0; in add_displayid_detailed_modes() local
5300 num_modes += add_displayid_detailed_1_modes(connector, block); in add_displayid_detailed_modes()
5306 return num_modes; in add_displayid_detailed_modes()
[all …]

1234