Lines Matching refs:outputs

159     output_t	    **outputs;
188 static output_t *outputs = NULL;
189 static output_t **outputs_tail = &outputs;
343 for (output = outputs; output; output = output->next)
502 if (crtc->outputs)
503 crtc->outputs = realloc (crtc->outputs, (crtc->noutput + 1) * sizeof (output_t *));
506 crtc->outputs = calloc (1, sizeof (output_t *));
512 if (!crtc->outputs) fatal ("out of memory");
513 crtc->outputs[crtc->noutput++] = output;
535 for (output = outputs; output; output = output->next)
537 if ((output->crtc_info) && (output->crtc_info->outputs)) {
538 free (output->crtc_info->outputs);
570 crtc_info->outputs, crtc_info->noutput);
588 rr_outputs[o] = crtc->outputs[o]->output.xid;
596 fprintf (stderr, " \"%s\"", crtc->outputs[o]->output.string);
790 XRROutputInfo *output_info = XRRGetOutputInfo (dpy, res, res->outputs[o]);
794 if (!output_info) fatal ("could not get output 0x%x information", res->outputs[o]);
795 set_name_xid (&output_name, res->outputs[o]);
805 set_output_info (output, res->outputs[o], output_info);
846 if (crtc->outputs[i]->mode_info) {
952 * Now normalize positions so the upper left corner of all outputs is at 0,0
967 /* move all outputs */
1018 disable_outputs (output_t *outputs)
1020 while (outputs)
1022 outputs->crtc_info = NULL;
1023 outputs = outputs->next;
1031 pick_crtcs_score (output_t *outputs)
1040 if (!outputs)
1043 output = outputs;
1044 outputs = outputs->next;
1049 best_score = pick_crtcs_score (outputs);
1065 /* reset crtc allocation for following outputs */
1066 disable_outputs (outputs);
1076 score = my_score + pick_crtcs_score (outputs);
1086 * Reset other outputs based on this one using the best crtc
1088 (void) pick_crtcs_score (outputs);
1094 * Pick crtcs for any changing outputs that don't have one
1103 * First try to match up newly enabled outputs with spare crtcs
1114 output != find_output_by_xid (output->crtc_info->crtc_info->outputs[0])))
1138 for (output = outputs; output; output = output->next)
1140 pick_crtcs_score (outputs);
1141 for (output = outputs; output; output = output->next)
1169 if (new_res->outputs[i] != res->outputs[i]) {
1410 for (output = outputs; output; output = output->next) {
1462 fprintf(stderr, "Total connected outputs = %d :\n", ncon);
1473 fprintf(stderr, "Total disconnected outputs = %d :\n", dis_ncon);
2001 output = outputs;
2005 if (output->crtc_info && output->crtc_info->outputs) {
2006 free(output->crtc_info->outputs);
2007 output->crtc_info->outputs = NULL;
2013 outputs = NULL;
2014 outputs_tail = &outputs;