/drivers/gpu/drm/panel/ |
D | panel-simple.c | 58 unsigned int num_modes; member 204 for (i = 0; i < panel->desc->num_modes; i++) { in panel_simple_get_display_modes() 217 if (panel->desc->num_modes == 1) in panel_simple_get_display_modes() 260 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes() 519 if (WARN_ON(desc->num_modes)) { in panel_simple_parse_panel_timing_node() 733 .num_modes = 1, 759 .num_modes = 1, 783 .num_modes = 1, 862 .num_modes = 1, 888 .num_modes = 1, [all …]
|
D | panel-edp.c | 161 unsigned int num_modes; member 282 for (i = 0; i < panel->desc->num_modes; i++) { in panel_edp_get_display_modes() 295 if (panel->desc->num_modes == 1) in panel_edp_get_display_modes() 356 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_edp_get_non_edid_modes() 624 if (p->desc->num_timings || p->desc->num_modes) in panel_edp_get_modes() 706 if (WARN_ON(desc->num_modes)) { in panel_edp_parse_panel_timing_node() 1003 .num_modes = 1, 1031 .num_modes = 1, 1056 .num_modes = 1, 1083 .num_modes = 1, [all …]
|
D | panel-innolux-ej030na.c | 24 unsigned int num_modes; member 160 for (i = 0; i < panel_info->num_modes; i++) { in ej030na_get_modes() 169 if (panel_info->num_modes == 1) in ej030na_get_modes() 183 return panel_info->num_modes; in ej030na_get_modes() 283 .num_modes = ARRAY_SIZE(ej030na_modes),
|
D | panel-newvision-nv3052c.c | 24 unsigned int num_modes; member 341 for (i = 0; i < panel_info->num_modes; i++) { in nv3052c_get_modes() 350 if (panel_info->num_modes == 1) in nv3052c_get_modes() 364 return panel_info->num_modes; in nv3052c_get_modes() 457 .num_modes = ARRAY_SIZE(ltk035c5444t_modes),
|
D | panel-novatek-nt39016.c | 52 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() 334 .num_modes = ARRAY_SIZE(kd035g6_display_modes),
|
D | panel-abt-y030xx067a.c | 115 unsigned int num_modes; member 234 for (i = 0; i < panel_info->num_modes; i++) { in y030xx067a_get_modes() 243 if (panel_info->num_modes == 1) in y030xx067a_get_modes() 257 return panel_info->num_modes; in y030xx067a_get_modes() 358 .num_modes = ARRAY_SIZE(y030xx067a_modes),
|
D | panel-olimex-lcd-olinuxino.c | 56 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()
|
D | panel-novatek-nt35950.c | 84 u8 num_modes; member 282 for (i = 0; i < nt->desc->num_modes; i++) { in nt35950_get_current_mode() 508 for (i = 0; i < nt->desc->num_modes; i++) { in nt35950_get_modes() 519 if (nt->desc->num_modes == 1) in nt35950_get_modes() 530 return nt->desc->num_modes; in nt35950_get_modes() 685 .num_modes = ARRAY_SIZE(sharp_ls055d1sx04_modes),
|
D | panel-seiko-43wvf1g.c | 25 unsigned int num_modes; member 90 for (i = 0; i < panel->desc->num_modes; i++) { in seiko_panel_get_fixed_modes() 103 if (panel->desc->num_modes == 1) in seiko_panel_get_fixed_modes()
|
D | panel-orisetech-otm8009a.c | 358 unsigned int num_modes = ARRAY_SIZE(modes); in otm8009a_get_modes() local 361 for (i = 0; i < num_modes; i++) { in otm8009a_get_modes() 384 return num_modes; in otm8009a_get_modes()
|
/drivers/iio/adc/ |
D | max1363.c | 139 u8 num_modes; member 305 for (i = 0; i < ci->num_modes; i++) in max1363_match_mode() 1060 .num_modes = ARRAY_SIZE(max1363_mode_list), 1070 .num_modes = ARRAY_SIZE(max1363_mode_list), 1080 .num_modes = ARRAY_SIZE(max1363_mode_list), 1090 .num_modes = ARRAY_SIZE(max1363_mode_list), 1100 .num_modes = ARRAY_SIZE(max1236_mode_list), 1110 .num_modes = ARRAY_SIZE(max1236_mode_list), 1120 .num_modes = ARRAY_SIZE(max1238_mode_list), 1130 .num_modes = ARRAY_SIZE(max1238_mode_list), [all …]
|
/drivers/gpu/drm/imx/ |
D | parallel-display.c | 59 int num_modes; in imx_pd_connector_get_modes() local 61 num_modes = drm_panel_get_modes(imxpd->panel, connector); in imx_pd_connector_get_modes() 62 if (num_modes > 0) in imx_pd_connector_get_modes() 63 return num_modes; in imx_pd_connector_get_modes() 67 num_modes = drm_add_edid_modes(connector, imxpd->edid); in imx_pd_connector_get_modes() 88 num_modes++; in imx_pd_connector_get_modes() 91 return num_modes; in imx_pd_connector_get_modes()
|
D | imx-ldb.c | 137 int num_modes; in imx_ldb_connector_get_modes() local 139 num_modes = drm_panel_get_modes(imx_ldb_ch->panel, connector); in imx_ldb_connector_get_modes() 140 if (num_modes > 0) in imx_ldb_connector_get_modes() 141 return num_modes; in imx_ldb_connector_get_modes() 149 num_modes = drm_add_edid_modes(connector, imx_ldb_ch->edid); in imx_ldb_connector_get_modes() 160 num_modes++; in imx_ldb_connector_get_modes() 163 return num_modes; in imx_ldb_connector_get_modes()
|
/drivers/gpu/drm/gud/ |
D | gud_connector.c | 223 unsigned int i, num_modes = 0; in gud_connector_get_modes() local 263 num_modes = ret / sizeof(*reqmodes); in gud_connector_get_modes() 265 for (i = 0; i < num_modes; i++) { in gud_connector_get_modes() 270 num_modes = i; in gud_connector_get_modes() 278 if (!num_modes) in gud_connector_get_modes() 279 num_modes = drm_add_edid_modes(connector, edid); in gud_connector_get_modes() 285 return num_modes; in gud_connector_get_modes() 382 unsigned int i, num_modes; in gud_connector_add_tv_mode() local 399 num_modes = ret / GUD_CONNECTOR_TV_MODE_NAME_LEN; in gud_connector_add_tv_mode() 400 for (i = 0; i < num_modes; i++) in gud_connector_add_tv_mode() [all …]
|
/drivers/leds/ |
D | leds-ns2.c | 52 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()
|
D | leds-netxbig.c | 513 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()
|
/drivers/media/platform/ti/davinci/ |
D | vpbe.c | 121 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()
|
/drivers/gpu/drm/exynos/ |
D | exynos_dp.c | 77 int num_modes = 0; in exynos_dp_get_modes() local 80 return num_modes; in exynos_dp_get_modes() 86 return num_modes; in exynos_dp_get_modes() 97 return num_modes + 1; in exynos_dp_get_modes()
|
/drivers/gpu/drm/bridge/ |
D | nxp-ptn3460.c | 193 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()
|
D | megachips-stdpxxxx-ge-b850v3-fw.c | 146 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()
|
/drivers/gpu/drm/bridge/analogix/ |
D | analogix-anx6345.c | 457 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()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dvo.c | 342 int num_modes; in intel_dvo_get_modes() local 350 num_modes = intel_ddc_get_modes(connector, in intel_dvo_get_modes() 352 if (num_modes) in intel_dvo_get_modes() 353 return num_modes; in intel_dvo_get_modes()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 2244 int num_modes = 0; in drm_add_override_edid_modes() local 2249 num_modes = drm_add_edid_modes(connector, override); in drm_add_override_edid_modes() 2253 connector->base.id, connector->name, num_modes); in drm_add_override_edid_modes() 2256 return num_modes; in drm_add_override_edid_modes() 6324 int num_modes = 0; in add_displayid_detailed_1_modes() local 6339 num_modes++; in add_displayid_detailed_1_modes() 6341 return num_modes; in add_displayid_detailed_1_modes() 6349 int num_modes = 0; in add_displayid_detailed_modes() local 6355 num_modes += add_displayid_detailed_1_modes(connector, block); in add_displayid_detailed_modes() 6359 return num_modes; in add_displayid_detailed_modes() [all …]
|
/drivers/staging/board/ |
D | armadillo800eva.c | 44 .num_modes = 1,
|
/drivers/video/fbdev/ |
D | imxfb.c | 191 int num_modes; member 358 for (i = 0, m = &fbi->mode[0]; i < fbi->num_modes; i++, m++) { in imxfb_find_mode() 940 fbi->num_modes = 1; in imxfb_probe() 959 for (i = 0; i < fbi->num_modes; i++, m++) in imxfb_probe() 1014 for (i = 0; i < fbi->num_modes; i++) in imxfb_probe()
|