Lines Matching refs:mom
1215 struct matroxioc_output_mode mom; in matroxfb_ioctl() local
1219 if (copy_from_user(&mom, (struct matroxioc_output_mode*)arg, sizeof(mom))) in matroxfb_ioctl()
1221 if (mom.output >= MATROXFB_MAX_OUTPUTS) in matroxfb_ioctl()
1224 oproc = ACCESS_FBINFO(outputs[mom.output]).output; in matroxfb_ioctl()
1228 if (mom.mode == MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_ioctl()
1234 val = oproc->verifymode(ACCESS_FBINFO(outputs[mom.output]).data, mom.mode); in matroxfb_ioctl()
1237 if (ACCESS_FBINFO(outputs[mom.output]).mode != mom.mode) { in matroxfb_ioctl()
1238 ACCESS_FBINFO(outputs[mom.output]).mode = mom.mode; in matroxfb_ioctl()
1245 switch (ACCESS_FBINFO(outputs[mom.output]).src) { in matroxfb_ioctl()
1265 struct matroxioc_output_mode mom; in matroxfb_ioctl() local
1269 if (copy_from_user(&mom, (struct matroxioc_output_mode*)arg, sizeof(mom))) in matroxfb_ioctl()
1271 if (mom.output >= MATROXFB_MAX_OUTPUTS) in matroxfb_ioctl()
1274 oproc = ACCESS_FBINFO(outputs[mom.output]).output; in matroxfb_ioctl()
1278 mom.mode = ACCESS_FBINFO(outputs[mom.output]).mode; in matroxfb_ioctl()
1284 if (copy_to_user((struct matroxioc_output_mode*)arg, &mom, sizeof(mom))) in matroxfb_ioctl()