/drivers/gpu/drm/panel/ |
D | panel-simple.c | 59 unsigned int num_modes; member 161 for (i = 0; i < panel->desc->num_modes; i++) { in panel_simple_get_display_modes() 173 if (panel->desc->num_modes == 1) in panel_simple_get_display_modes() 216 WARN_ON(panel->desc->num_timings && panel->desc->num_modes); in panel_simple_get_non_edid_modes() 378 if (WARN_ON(desc->num_modes)) { in panel_simple_parse_panel_timing_node() 531 .num_modes = 1, 556 .num_modes = 1, 606 .num_modes = 1, 652 .num_modes = 1, 675 .num_modes = 1, [all …]
|
D | panel-olimex-lcd-olinuxino.c | 57 u32 num_modes; member 154 for (i = 0; i < lcd->eeprom.num_modes; i++) { in lcd_olinuxino_get_modes() 271 if (lcd->eeprom.num_modes > 4) { in lcd_olinuxino_probe() 273 lcd->eeprom.num_modes = 4; in lcd_olinuxino_probe()
|
D | panel-seiko-43wvf1g.c | 25 unsigned int num_modes; member 92 for (i = 0; i < panel->desc->num_modes; i++) { in seiko_panel_get_fixed_modes() 104 if (panel->desc->num_modes == 1) in seiko_panel_get_fixed_modes()
|
/drivers/iio/adc/ |
D | max1363.c | 140 u8 num_modes; member 304 for (i = 0; i < ci->num_modes; i++) in max1363_match_mode() 1048 .num_modes = ARRAY_SIZE(max1363_mode_list), 1058 .num_modes = ARRAY_SIZE(max1363_mode_list), 1068 .num_modes = ARRAY_SIZE(max1363_mode_list), 1078 .num_modes = ARRAY_SIZE(max1363_mode_list), 1088 .num_modes = ARRAY_SIZE(max1236_mode_list), 1098 .num_modes = ARRAY_SIZE(max1236_mode_list), 1108 .num_modes = ARRAY_SIZE(max1238_mode_list), 1118 .num_modes = ARRAY_SIZE(max1238_mode_list), [all …]
|
/drivers/leds/ |
D | leds-ns2.c | 37 int num_modes; member 52 for (i = 0; i < led_dat->num_modes; i++) { in ns2_led_get_mode() 71 for (i = 0; i < led_dat->num_modes; i++) in ns2_led_set_mode() 215 led_dat->num_modes = template->num_modes; in create_ns2_led() 262 int i, num_modes; in ns2_leds_get_of_pdata() local 288 num_modes = ret / 3; in ns2_leds_get_of_pdata() 290 num_modes, in ns2_leds_get_of_pdata() 298 for (i = 0; i < num_modes; i++) { in ns2_leds_get_of_pdata() 310 led->num_modes = num_modes; in ns2_leds_get_of_pdata()
|
D | leds-netxbig.c | 484 int num_modes; in netxbig_leds_get_of_pdata() local 518 num_modes = ret / 2; in netxbig_leds_get_of_pdata() 519 if (num_modes > NETXBIG_LED_MODE_NUM) { in netxbig_leds_get_of_pdata() 524 for (i = 0; i < num_modes; i++) { in netxbig_leds_get_of_pdata()
|
/drivers/gpu/drm/imx/ |
D | parallel-display.c | 50 int num_modes; in imx_pd_connector_get_modes() local 52 num_modes = drm_panel_get_modes(imxpd->panel); in imx_pd_connector_get_modes() 53 if (num_modes > 0) in imx_pd_connector_get_modes() 54 return num_modes; in imx_pd_connector_get_modes() 58 num_modes = drm_add_edid_modes(connector, imxpd->edid); in imx_pd_connector_get_modes() 77 num_modes++; in imx_pd_connector_get_modes() 80 return num_modes; in imx_pd_connector_get_modes()
|
D | imx-ldb.c | 127 int num_modes; in imx_ldb_connector_get_modes() local 129 num_modes = drm_panel_get_modes(imx_ldb_ch->panel); in imx_ldb_connector_get_modes() 130 if (num_modes > 0) in imx_ldb_connector_get_modes() 131 return num_modes; in imx_ldb_connector_get_modes() 139 num_modes = drm_add_edid_modes(connector, imx_ldb_ch->edid); in imx_ldb_connector_get_modes() 151 num_modes++; in imx_ldb_connector_get_modes() 154 return num_modes; in imx_ldb_connector_get_modes()
|
/drivers/media/platform/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 | 74 int num_modes = 0; in exynos_dp_get_modes() local 77 return num_modes; in exynos_dp_get_modes() 83 return num_modes; in exynos_dp_get_modes() 94 return num_modes + 1; in exynos_dp_get_modes()
|
/drivers/gpu/drm/bridge/ |
D | megachips-stdpxxxx-ge-b850v3-fw.c | 136 int num_modes = 0; in ge_b850v3_lvds_get_modes() local 146 num_modes = drm_add_edid_modes(connector, in ge_b850v3_lvds_get_modes() 150 return num_modes; in ge_b850v3_lvds_get_modes()
|
D | nxp-ptn3460.c | 190 int ret, num_modes = 0; in ptn3460_get_modes() local 217 num_modes = drm_add_edid_modes(connector, ptn_bridge->edid); in ptn3460_get_modes() 223 return num_modes; in ptn3460_get_modes()
|
D | analogix-anx78xx.c | 942 int err, num_modes = 0; in anx78xx_get_modes() local 971 num_modes = drm_add_edid_modes(connector, anx78xx->edid); in anx78xx_get_modes() 976 return num_modes; in anx78xx_get_modes()
|
/drivers/video/fbdev/ |
D | imxfb.c | 172 int num_modes; member 338 for (i = 0, m = &fbi->mode[0]; i < fbi->num_modes; i++, m++) { in imxfb_find_mode() 891 fbi->num_modes = pdata->num_modes; in imxfb_probe() 907 fbi->num_modes = 1; in imxfb_probe() 925 for (i = 0; i < fbi->num_modes; i++, m++) in imxfb_probe() 995 for (i = 0; i < fbi->num_modes; i++) in imxfb_probe()
|
D | mx3fb.c | 1434 int ret, num_modes; in init_fb_chan() local 1460 if (mx3fb_pdata->mode && mx3fb_pdata->num_modes) { in init_fb_chan() 1462 num_modes = mx3fb_pdata->num_modes; in init_fb_chan() 1465 num_modes = ARRAY_SIZE(mx3fb_modedb); in init_fb_chan() 1469 num_modes, NULL, default_bpp)) { in init_fb_chan() 1474 fb_videomode_to_modelist(mode, num_modes, &fbi->modelist); in init_fb_chan()
|
D | sh_mobile_lcdcfb.c | 1838 for (i = 0; i < ch->cfg->num_modes; ++i) { in sh_mobile_lcdc_check_var() 1858 if (ch->cfg->num_modes != 0) { in sh_mobile_lcdc_check_var() 2040 unsigned int num_modes) in sh_mobile_lcdc_channel_fb_init() argument 2063 fb_videomode_to_modelist(modes, num_modes, &info->modelist); in sh_mobile_lcdc_channel_fb_init() 2415 unsigned int num_modes; in sh_mobile_lcdc_channel_init() local 2432 for (i = 0, mode = cfg->lcd_modes; i < cfg->num_modes; i++, mode++) { in sh_mobile_lcdc_channel_init() 2457 num_modes = 1; in sh_mobile_lcdc_channel_init() 2460 num_modes = cfg->num_modes; in sh_mobile_lcdc_channel_init() 2505 return sh_mobile_lcdc_channel_fb_init(ch, mode, num_modes); in sh_mobile_lcdc_channel_init()
|
D | tmiofb.c | 556 for (i = 0; i < data->num_modes; i++) { in tmiofb_find_mode() 752 data->modes, data->num_modes, in tmiofb_probe() 769 fb_videomode_to_modelist(data->modes, data->num_modes, in tmiofb_probe()
|
D | pxafb.c | 376 for (i = 0; i < mach->num_modes; i++) { in pxafb_getmode() 1782 for (i = 0, m = &inf->modes[0]; i < inf->num_modes; i++, m++) in pxafb_decode_mach_info() 2132 info->num_modes = timings->num_timings; in of_get_pxafb_display() 2202 for (i = 0; i < info->num_modes; i++) in of_get_pxafb_mode_info() 2254 devm_kmalloc_array(&dev->dev, pdata->num_modes, in pxafb_probe() 2258 for (i = 0; i < inf->num_modes; i++) in pxafb_probe()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 1616 int num_modes = 0; in drm_add_override_edid_modes() local 1621 num_modes = drm_add_edid_modes(connector, override); in drm_add_override_edid_modes() 1625 connector->base.id, connector->name, num_modes); in drm_add_override_edid_modes() 1628 return num_modes; in drm_add_override_edid_modes() 5071 int num_modes = 0; in add_displayid_detailed_1_modes() local 5085 num_modes++; in add_displayid_detailed_1_modes() 5087 return num_modes; in add_displayid_detailed_1_modes() 5098 int num_modes = 0; in add_displayid_detailed_modes() local 5112 num_modes += add_displayid_detailed_1_modes(connector, block); in add_displayid_detailed_modes() 5116 return num_modes; in add_displayid_detailed_modes() [all …]
|
D | drm_connector.c | 1381 unsigned int num_modes, in drm_mode_create_tv_properties() argument 1420 "mode", num_modes); in drm_mode_create_tv_properties() 1424 for (i = 0; i < num_modes; i++) in drm_mode_create_tv_properties()
|
/drivers/staging/board/ |
D | armadillo800eva.c | 44 .num_modes = 1,
|
/drivers/gpu/drm/vboxvideo/ |
D | vbox_mode.c | 735 unsigned int num_modes = 0; in vbox_get_modes() local 746 num_modes = drm_add_modes_noedid(connector, 2560, 1600); in vbox_get_modes() 756 ++num_modes; in vbox_get_modes() 776 return num_modes; in vbox_get_modes()
|
/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 1110 int ret, num_modes = 0; in analogix_dp_get_modes() local 1113 num_modes += drm_panel_get_modes(dp->plat_data->panel); in analogix_dp_get_modes() 1127 num_modes += drm_add_edid_modes(&dp->connector, edid); in analogix_dp_get_modes() 1137 num_modes += dp->plat_data->get_modes(dp->plat_data, connector); in analogix_dp_get_modes() 1139 return num_modes; in analogix_dp_get_modes()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.h | 257 int num_modes; member
|
/drivers/video/fbdev/core/ |
D | fbmon.c | 720 int num_modes, hz, hscan, pixclock; in fb_get_monitor_limits() local 723 modes = fb_create_modedb(edid, &num_modes, specs); in fb_get_monitor_limits() 730 for (i = 0; i < num_modes; i++) { in fb_get_monitor_limits()
|