Searched refs:win_no (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/video/fbdev/ |
D | s3c-fb.c | 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() [all …]
|
/linux-6.12.1/drivers/pci/endpoint/functions/ |
D | pci-epf-vntb.c | 842 int win_no; \ 844 if (sscanf(#_name, "mw%d", &win_no) != 1) \ 847 if (win_no <= 0 || win_no > ntb->num_mws) { \ 852 return sprintf(page, "%lld\n", ntb->mws_size[win_no - 1]); \ 862 int win_no; \ 870 if (sscanf(#_name, "mw%d", &win_no) != 1) \ 873 if (win_no <= 0 || win_no > ntb->num_mws) { \ 878 ntb->mws_size[win_no - 1] = val; \
|
D | pci-epf-ntb.c | 1965 int win_no; \ 1967 sscanf(#_name, "mw%d", &win_no); \ 1969 return sysfs_emit(page, "%lld\n", ntb->mws_size[win_no - 1]); \ 1979 int win_no; \ 1985 if (sscanf(#_name, "mw%d", &win_no) != 1) \ 1988 if (ntb->num_mws < win_no) { \ 1993 ntb->mws_size[win_no - 1] = val; \
|