Lines Matching defs:head
104 enum sm501_controller head;
399 * check the parameters for the CRT head, and either bring them
411 * check the parameters for the CRT head, and either bring them
442 switch (par->head) {
531 if (par->head == HEAD_CRT)
541 smc501_writel(reg, fbi->regs + (par->head == HEAD_CRT ?
662 /* the head is displaying panel data... */
920 if (par->head == HEAD_CRT)
1048 if (par->head == HEAD_CRT)
1182 enum sm501_controller head;
1189 head = HEAD_CRT;
1191 head = HEAD_PANEL;
1195 dev_info(dev, "setting crt source to head %d\n", head);
1199 if (head == HEAD_CRT) {
1674 static int sm501fb_init_fb(struct fb_info *fb, enum sm501_controller head,
1684 switch (head) {
1716 if (head == HEAD_CRT && info->pdata->fb_route == SM501_FB_CRT_PANEL) {
1725 (head == HEAD_CRT) ? &sm501fb_ops_crt : &sm501fb_ops_pnl,
1860 enum sm501_controller head)
1862 unsigned char *name = (head == HEAD_CRT) ? "crt" : "panel";
1867 pd = (head == HEAD_CRT) ? info->pdata->fb_crt : info->pdata->fb_pnl;
1881 par->head = head;
1884 info->fb[head] = fbi;
1892 enum sm501_controller head)
1894 struct fb_info *fbi = info->fb[head];
1903 enum sm501_controller head, const char *drvname)
1905 struct fb_info *fbi = info->fb[head];
1911 mutex_init(&info->fb[head]->mm_lock);
1913 ret = sm501fb_init_fb(info->fb[head], head, drvname);
1919 ret = register_framebuffer(info->fb[head]);
1922 sm501_free_init_fb(info, head);
2072 enum sm501_controller head)
2074 struct fb_info *fbi = info->fb[head];
2123 enum sm501_controller head)
2125 struct fb_info *fbi = info->fb[head];