Lines Matching full:outputs
803 if (minfo->outputs[out].src == MATROXFB_SRC_CRTC1 && in matroxfb_set_par()
804 minfo->outputs[out].output->compute) { in matroxfb_set_par()
805 minfo->outputs[out].output->compute(minfo->outputs[out].data, &mt); in matroxfb_set_par()
823 if (minfo->outputs[out].src == MATROXFB_SRC_CRTC1 && in matroxfb_set_par()
824 minfo->outputs[out].output->program) { in matroxfb_set_par()
825 minfo->outputs[out].output->program(minfo->outputs[out].data); in matroxfb_set_par()
829 if (minfo->outputs[out].src == MATROXFB_SRC_CRTC1 && in matroxfb_set_par()
830 minfo->outputs[out].output->start) { in matroxfb_set_par()
831 minfo->outputs[out].output->start(minfo->outputs[out].data); in matroxfb_set_par()
920 oproc = minfo->outputs[mom.output].output; in matroxfb_ioctl()
930 val = oproc->verifymode(minfo->outputs[mom.output].data, mom.mode); in matroxfb_ioctl()
933 if (minfo->outputs[mom.output].mode != mom.mode) { in matroxfb_ioctl()
934 minfo->outputs[mom.output].mode = mom.mode; in matroxfb_ioctl()
941 switch (minfo->outputs[mom.output].src) { in matroxfb_ioctl()
970 oproc = minfo->outputs[mom.output].output; in matroxfb_ioctl()
974 mom.mode = minfo->outputs[mom.output].mode; in matroxfb_ioctl()
996 if (!minfo->outputs[i].output) in matroxfb_ioctl()
998 switch (minfo->outputs[i].src) { in matroxfb_ioctl()
1012 if (minfo->outputs[i].src == MATROXFB_SRC_CRTC2) { in matroxfb_ioctl()
1021 if (minfo->outputs[i].src != MATROXFB_SRC_CRTC1) { in matroxfb_ioctl()
1023 minfo->outputs[i].src = MATROXFB_SRC_CRTC1; in matroxfb_ioctl()
1025 } else if (minfo->outputs[i].src == MATROXFB_SRC_CRTC1) { in matroxfb_ioctl()
1027 minfo->outputs[i].src = MATROXFB_SRC_NONE; in matroxfb_ioctl()
1041 if (minfo->outputs[i].src == MATROXFB_SRC_CRTC1) { in matroxfb_ioctl()
1055 if (minfo->outputs[i].output) { in matroxfb_ioctl()
1056 switch (minfo->outputs[i].src) { in matroxfb_ioctl()
1080 if (minfo->outputs[i].output) { in matroxfb_ioctl()
1112 if (!minfo->outputs[1].output) { in matroxfb_ioctl()
1114 } else if (minfo->outputs[1].output->getqueryctrl) { in matroxfb_ioctl()
1115 err = minfo->outputs[1].output->getqueryctrl(minfo->outputs[1].data, &qctrl); in matroxfb_ioctl()
1134 if (!minfo->outputs[1].output) { in matroxfb_ioctl()
1136 } else if (minfo->outputs[1].output->getctrl) { in matroxfb_ioctl()
1137 err = minfo->outputs[1].output->getctrl(minfo->outputs[1].data, &ctrl); in matroxfb_ioctl()
1156 if (!minfo->outputs[1].output) { in matroxfb_ioctl()
1158 } else if (minfo->outputs[1].output->setctrl) { in matroxfb_ioctl()
1159 err = minfo->outputs[1].output->setctrl(minfo->outputs[1].data, &ctrl); in matroxfb_ioctl()
1277 static char outputs[8]; /* "matroxfb:outputs:xxx" */ variable
1607 minfo->outputs[0].default_src = MATROXFB_SRC_CRTC1; in setDefaultOutputs()
1609 minfo->outputs[1].default_src = MATROXFB_SRC_CRTC1; in setDefaultOutputs()
1610 minfo->outputs[2].default_src = MATROXFB_SRC_CRTC1; in setDefaultOutputs()
1612 minfo->outputs[2].default_src = MATROXFB_SRC_CRTC1; in setDefaultOutputs()
1614 ptr = outputs; in setDefaultOutputs()
1622 minfo->outputs[i].default_src = MATROXFB_SRC_NONE; in setDefaultOutputs()
1624 minfo->outputs[i].default_src = MATROXFB_SRC_CRTC1; in setDefaultOutputs()
1626 minfo->outputs[i].default_src = MATROXFB_SRC_CRTC2; in setDefaultOutputs()
1628 printk(KERN_ERR "matroxfb: Unknown outputs setting\n"); in setDefaultOutputs()
1633 outputs[0] = 0; in setDefaultOutputs()
1686 minfo->outputs[2].data = minfo; in initMatrox2()
1687 minfo->outputs[2].output = &panellink_output; in initMatrox2()
1688 minfo->outputs[2].src = minfo->outputs[2].default_src; in initMatrox2()
1689 minfo->outputs[2].mode = MATROXFB_OUTPUT_MODE_MONITOR; in initMatrox2()
2397 else if (!strncmp(this_opt, "outputs:", 8)) in matroxfb_setup()
2398 strscpy(outputs, this_opt + 8, sizeof(outputs)); in matroxfb_setup()
2574 module_param_string(outputs, outputs, sizeof(outputs), 0);
2575 MODULE_PARM_DESC(outputs, "Specifies which CRTC is mapped to which output (string of up to three le…