Lines Matching refs:mi
55 struct mode_info *mi; in mode_defined() local
59 mi = card->modes; in mode_defined()
60 for (i = 0; i < card->nmodes; i++, mi++) { in mode_defined()
61 if (mi->mode == mode) in mode_defined()
74 struct mode_info *mi; in raw_set_mode() local
82 mi = card->modes; in raw_set_mode()
83 for (i = 0; i < card->nmodes; i++, mi++) { in raw_set_mode()
84 int visible = mi->x || mi->y; in raw_set_mode()
87 mode == mi->mode || in raw_set_mode()
88 mode == (mi->y << 8)+mi->x) { in raw_set_mode()
89 *real_mode = mi->mode; in raw_set_mode()
90 return card->set_mode(mi); in raw_set_mode()