Searched defs:modes (Results 1 - 25 of 27) sorted by relevance

12

/drivers/video/via/
H A Dviamode.c354 const struct fb_videomode *modes, int n,
361 if (modes[i].xres != hres || modes[i].yres != vres)
364 if (!best || abs(modes[i].refresh - refresh) <
366 best = &modes[i];
353 get_best_mode( const struct fb_videomode *modes, int n, int hres, int vres, int refresh) argument
/drivers/net/
H A Dmdio.c252 /* All the other defined modes are flavours of optical */
278 u32 modes = 0; local
289 modes = ecmd->advertising & ecmd->lp_advertising;
291 if ((modes & ~ADVERTISED_Autoneg) == 0)
292 modes = ecmd->advertising;
294 if (modes & (ADVERTISED_10000baseT_Full |
299 } else if (modes & (ADVERTISED_1000baseT_Full |
303 ecmd->duplex = !(modes & ADVERTISED_1000baseT_Half);
304 } else if (modes & (ADVERTISED_100baseT_Full |
307 ecmd->duplex = !!(modes
[all...]
/drivers/md/
H A Dfaulty.c23 * Possible failure modes are:
31 * Different modes can be active at a time, but only
89 int modes[MaxFault]; member in struct:faulty_conf
117 switch (conf->modes[i] * 2 + dir) {
122 conf->modes[i] = NoPersist;
140 case NoPersist: conf->modes[i] = mode; return;
142 if (conf->modes[i] == ReadPersistent ||
143 conf->modes[i] == ReadFixable)
144 conf->modes[i] = AllPersist;
146 conf->modes[
[all...]
/drivers/media/video/
H A Dsaa7110.c136 static const unsigned char modes[9][8] = { local
166 const unsigned char *ptr = modes[chan];
/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_gram.y363 | modes
423 modes: label
426 cur_symbol->info.rinfo->modes = $2;
445 stop("Valid register modes range between 0 and 4.",
463 stop("Valid register modes range between 0 and 4.",
876 | modes
878 | modes scb_or_sram_reg_list
1494 * Default to allowing access in all register modes
1499 symbol->info.rinfo->modes =
1500 scb_or_sram_symbol->info.rinfo->modes;
[all...]
H A Daicasm_symbol.h82 uint8_t modes; member in struct:reg_info
/drivers/video/
H A Dbfin_adv7393fb.h282 struct adv7393fb_modes *modes; member in struct:adv7393fb_device
H A Dfbmon.c702 /* estimate monitor limits based on modes supported */
704 struct fb_videomode *modes, *mode; local
708 modes = fb_create_modedb(edid, &num_modes);
709 if (!modes) {
716 mode = &modes[i];
717 pixclock = PICOS2KHZ(modes[i].pixclock) * 1000;
752 fb_destroy_modedb(modes);
986 * fb_edid_add_monspecs() - add monitor video modes from E-EDID data
1276 * VESA modes as well. The GTF may also not work for some displays,
/drivers/char/
H A Dppdev.c39 * GETMODES gets hardware supported modes (unsigned int)
453 unsigned int modes; local
459 modes = port->modes;
461 if (copy_to_user (argp, &modes, sizeof (modes))) {
/drivers/gpu/drm/mga/
H A Dmga_dma.c767 static const int modes[] = { 0, 1, 2, 2, 4, 4, 4, 4 }; local
785 bootstrap->agp_mode = modes[bootstrap->agp_mode & 0x07];
/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c617 int modes = 0; local
634 modes++;
640 return modes;
728 * find any modes through DDC previously add the native mode to
729 * the list of modes.
H A Dnv17_tv.c235 } modes[] = { local
248 for (i = 0; i < ARRAY_SIZE(modes); i++) {
249 if (modes[i].hdisplay > output_mode->hdisplay ||
250 modes[i].vdisplay > output_mode->vdisplay)
253 if (modes[i].hdisplay == output_mode->hdisplay &&
254 modes[i].vdisplay == output_mode->vdisplay) {
259 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay,
260 modes[i].vdisplay, 60, false,
265 /* CVT modes are sometimes unsuitable... */
518 * modes,
[all...]
/drivers/scsi/
H A Dimm.c1149 int modes, ppb; local
1192 modes = dev->dev->port->modes;
1199 if (modes & PARPORT_MODE_TRISTATE)
H A Dppa.c1012 int modes, ppb, ppb_hi; local
1050 modes = dev->dev->port->modes;
1057 if (modes & PARPORT_MODE_TRISTATE)
1060 if (modes & PARPORT_MODE_ECP) {
1064 if ((modes & PARPORT_MODE_EPP) && (modes & PARPORT_MODE_ECP))
H A Dst.h72 /* Number of modes can be changed by changing ST_NBR_MODE_BITS. The maximum
73 number of modes is 16 (ST_NBR_MODE_BITS 4) */
130 struct st_modedef modes[ST_NBR_MODES]; member in struct:scsi_tape
/drivers/gpio/
H A Dgpio-nomadik.c890 const char *modes[] = { local
913 (mode < 0) ? "unknown" : modes[mode],
/drivers/gpu/drm/
H A Ddrm_fb_helper.c943 list_for_each_entry(mode, &fb_connector->connector->modes, head) {
970 /* attempt to find a matching mode in the list of modes
976 list_for_each_entry(mode, &fb_helper_conn->connector->modes, head) {
997 list_add(&mode->head, &fb_helper_conn->connector->modes);
1038 struct drm_display_mode **modes,
1066 modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height);
1067 if (!modes[i]) {
1074 if (!drm_mode_equal(modes[j], modes[i]))
1094 list_for_each_entry(mode, &fb_helper_conn->connector->modes, hea
1037 drm_target_cloned(struct drm_fb_helper *fb_helper, struct drm_display_mode **modes, bool *enabled, int width, int height) argument
1110 drm_target_preferred(struct drm_fb_helper *fb_helper, struct drm_display_mode **modes, bool *enabled, int width, int height) argument
1144 drm_pick_crtcs(struct drm_fb_helper *fb_helper, struct drm_fb_helper_crtc **best_crtcs, struct drm_display_mode **modes, int n, int width, int height) argument
1232 struct drm_display_mode **modes; local
[all...]
H A Ddrm_crtc.c215 * for tracking modes, CRTCs and connectors.
491 INIT_LIST_HEAD(&connector->modes);
529 list_for_each_entry_safe(mode, t, &connector->modes, head)
760 * @num_modes: number of different TV formats (modes) supported
761 * @modes: array of pointers to strings containing name of each format
769 char *modes[])
795 * Other, TV specific properties: margins & TV modes.
814 i, modes[i]);
1443 /* delayed so we get modes regardless of pre-fill_modes state */
1444 list_for_each_entry(mode, &connector->modes, hea
768 drm_mode_create_tv_properties(struct drm_device *dev, int num_modes, char *modes[]) argument
[all...]
H A Ddrm_edid.c75 int modes; member in struct:detailed_mode_closure
444 * edid_fixup_preferred - set preferred modes based on quirk list
449 * on existing modes and setting it anew for the right mode ala @quirks.
770 * EDID is delightfully ambiguous about how interlaced modes are to be
837 /* ignore tiny modes */
998 * XXX If drm_dmt_modes ever regrows the CVT-R modes (and it will) this will
1005 int i, modes = 0; local
1014 modes++;
1019 return modes;
1030 closure->modes
1052 int i, j, m, modes = 0; local
1102 int i, modes = 0; local
1160 int i, modes = 0; local
1189 int i, j, modes = 0; local
1347 int modes = 0; local
1370 int modes = 0; local
[all...]
/drivers/net/wireless/ath/carl9170/
H A Dphy.c1302 } *modes; local
1345 modes = mode_list_2ghz;
1348 modes = mode_list_5ghz;
1353 u8 c = ctl_grp | modes[i].ctl_mode;
1364 if (modes[i].ctl_mode == CTL_11G) {
1371 if (modes[i].ctl_mode == CTL_2GHT40 ||
1372 modes[i].ctl_mode == CTL_5GHT40) {
1379 modes[i].max_power =
1398 modes[i].max_power = AR5416_MAX_RATE_POWER;
1400 if (modes[
[all...]
/drivers/net/wireless/p54/
H A Dp54.h51 __le16 modes; member in struct:bootrec_desc
/drivers/staging/iio/
H A Diio.h215 /* Device operating modes */
312 * @modes: [DRIVER] operating modes supported by device
324 * @trig: [INTERN] current device trigger (buffer modes)
344 int modes; member in struct:iio_dev
/drivers/net/wireless/ath/ath9k/
H A Dhw.c2030 static const char *modes[] = { local
2041 modes[ah->power_mode], modes[mode]);
/drivers/video/riva/
H A Dfbdev.c29 * doublescan modes are broken
885 } modes[] = { local
900 for (i = 0; modes[i].xres != -1; i++) {
901 if (modes[i].xres * nom / den * modes[i].yres <
905 if (modes[i].xres == -1) {
911 var->xres_virtual = modes[i].xres;
912 var->yres_virtual = modes[i].yres;
2233 MODULE_PARM_DESC(strictmode, "Only use video modes from EDID");
/drivers/parport/
H A Dparport_pc.c75 /* ECR modes */
1237 static const char *const modes[] = { local
1280 : modes[cr4 & 0x03],
1321 static const char *const modes[] = { local
1369 modes[crf0 & 0x07]);
1844 pb->modes |= PARPORT_MODE_TRISTATE;
2014 * This bit is always high in non EPP modes.
2033 pb->modes |= PARPORT_MODE_EPP;
2074 /* Don't bother probing for modes we know we won't use. */
2155 if (pb->modes
[all...]

Completed in 508 milliseconds

12