Lines Matching refs:win_no

493 	int win_no = win->index;  in s3c_fb_set_par()  local
531 writel(0, regs + WINCON(win_no)); in s3c_fb_set_par()
539 buf = regs + win_no * 8; in s3c_fb_set_par()
551 writel(data, regs + sfb->variant.buf_size + (win_no * 4)); in s3c_fb_set_par()
557 writel(data, regs + VIDOSD_A(win_no, sfb->variant)); in s3c_fb_set_par()
566 writel(data, regs + VIDOSD_B(win_no, sfb->variant)); in s3c_fb_set_par()
580 data |= SHADOWCON_CHx_ENABLE(win_no); in s3c_fb_set_par()
646 if (win_no > 0) { in s3c_fb_set_par()
656 keycon += (win_no - 1) * 8; in s3c_fb_set_par()
662 writel(data, regs + sfb->variant.wincon + (win_no * 4)); in s3c_fb_set_par()
663 writel(0x0, regs + sfb->variant.winmap + (win_no * 4)); in s3c_fb_set_par()
1170 static int s3c_fb_probe_win(struct s3c_fb *sfb, unsigned int win_no, in s3c_fb_probe_win() argument
1181 dev_dbg(sfb->dev, "probing window %d, variant %p\n", win_no, variant); in s3c_fb_probe_win()
1192 windata = sfb->pdata->win[win_no]; in s3c_fb_probe_win()
1205 win->index = win_no; in s3c_fb_probe_win()
1275 dev_info(sfb->dev, "window %d: fb %s\n", win_no, fbinfo->fix.id); in s3c_fb_probe_win()
1532 int win_no; in s3c_fb_suspend() local
1536 for (win_no = S3C_FB_MAX_WIN - 1; win_no >= 0; win_no--) { in s3c_fb_suspend()
1537 win = sfb->windows[win_no]; in s3c_fb_suspend()
1560 int win_no; in s3c_fb_resume() local
1583 for (win_no = 0; win_no < sfb->variant.nr_windows; win_no++) in s3c_fb_resume()
1584 s3c_fb_clear_win(sfb, win_no); in s3c_fb_resume()
1586 for (win_no = 0; win_no < sfb->variant.nr_windows - 1; win_no++) { in s3c_fb_resume()
1588 win = sfb->windows[win_no]; in s3c_fb_resume()
1593 regs += (win_no * 8); in s3c_fb_resume()
1602 for (win_no = 0; win_no < S3C_FB_MAX_WIN; win_no++) { in s3c_fb_resume()
1603 win = sfb->windows[win_no]; in s3c_fb_resume()
1607 dev_dbg(dev, "resuming window %d\n", win_no); in s3c_fb_resume()