Home
last modified time | relevance | path

Searched refs:win_no (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Ds3c-fb.c493 int win_no = win->index; in s3c_fb_set_par() local
539 buf = regs + win_no * 8; in s3c_fb_set_par()
646 if (win_no > 0) { in s3c_fb_set_par()
1205 win->index = win_no; 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()
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()
1586 for (win_no = 0; win_no < sfb->variant.nr_windows - 1; win_no++) { in s3c_fb_resume()
1593 regs += (win_no * 8); in s3c_fb_resume()
[all …]
/openbmc/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c853 int win_no; \
855 if (sscanf(#_name, "mw%d", &win_no) != 1) \
858 if (win_no <= 0 || win_no > ntb->num_mws) { \
863 return sprintf(page, "%lld\n", ntb->mws_size[win_no - 1]); \
873 int win_no; \
881 if (sscanf(#_name, "mw%d", &win_no) != 1) \
884 if (win_no <= 0 || win_no > ntb->num_mws) { \
889 ntb->mws_size[win_no - 1] = val; \
H A Dpci-epf-ntb.c1965 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; \