Searched refs:cmode (Results 1 - 25 of 66) sorted by relevance

123

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/video/
H A Dmacmodes.h53 extern int mac_vmode_to_var(int vmode, int cmode,
56 int *cmode);
H A Dcontrolfb.c60 int vmode, cmode; member in struct:fb_par_control
85 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres)
233 info->fix.visual = (p->par.cmode == CMODE_8) ?
236 info->fix.xpanstep = 32 >> p->par.cmode;
253 par->yoffset * par->pitch + (par->xoffset << par->cmode));
267 hstep = 0x1f >> par->cmode;
372 switch (p->par.cmode) {
413 int full, sense, vmode, cmode, vyres; local
424 cmode = nvram_read_byte(NV_CMODE);
425 if(cmode < CMODE_
500 int i, cmode; local
842 int cmode, piped_diff, hstep; local
[all...]
H A Dplatinumfb.c48 int vmode, cmode; member in struct:fb_info_platinum
139 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8))
146 info->fix.visual = (pinfo->cmode == CMODE_8) ?
148 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode)
209 switch (pinfo->cmode) {
273 int vmode, cmode; local
276 cmode = pinfo->cmode;
287 init->offset[cmode] + 4 - cmode
449 int vmode, cmode; local
[all...]
H A Dvalkyriefb.c80 int vmode, cmode; member in struct:fb_par_valkyrie
158 out_8(&valkyrie_regs->depth.r, par->cmode + 3);
171 return mac_vmode_to_var(par->vmode, par->cmode, var);
248 if (regno < 16 && par->cmode == CMODE_16)
440 * and picks the best vmode/cmode from it.
454 * messages when a vmode/cmode switch fails. (Most of the error messages are
467 int vmode, cmode; local
471 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) {
483 if (cmode != CMODE_8 && cmode !
[all...]
H A Dmacmodes.c189 * mac_vmode_to_var - converts vmode/cmode pair to var structure
191 * @cmode: MacOS color mode
194 * Converts a MacOS vmode/cmode pair to a frame buffer video
201 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) argument
215 switch (cmode) {
271 * mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair
274 * @cmode: MacOS color mode
277 * vmode/cmode pair.
284 int *cmode)
289 *cmode
283 mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/video/
H A Dmacmodes.h53 extern int mac_vmode_to_var(int vmode, int cmode,
56 int *cmode);
H A Dcontrolfb.c60 int vmode, cmode; member in struct:fb_par_control
85 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres)
233 info->fix.visual = (p->par.cmode == CMODE_8) ?
236 info->fix.xpanstep = 32 >> p->par.cmode;
253 par->yoffset * par->pitch + (par->xoffset << par->cmode));
267 hstep = 0x1f >> par->cmode;
372 switch (p->par.cmode) {
413 int full, sense, vmode, cmode, vyres; local
424 cmode = nvram_read_byte(NV_CMODE);
425 if(cmode < CMODE_
500 int i, cmode; local
842 int cmode, piped_diff, hstep; local
[all...]
H A Dplatinumfb.c48 int vmode, cmode; member in struct:fb_info_platinum
139 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8))
146 info->fix.visual = (pinfo->cmode == CMODE_8) ?
148 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode)
209 switch (pinfo->cmode) {
273 int vmode, cmode; local
276 cmode = pinfo->cmode;
287 init->offset[cmode] + 4 - cmode
449 int vmode, cmode; local
[all...]
H A Dvalkyriefb.c80 int vmode, cmode; member in struct:fb_par_valkyrie
158 out_8(&valkyrie_regs->depth.r, par->cmode + 3);
171 return mac_vmode_to_var(par->vmode, par->cmode, var);
248 if (regno < 16 && par->cmode == CMODE_16)
440 * and picks the best vmode/cmode from it.
454 * messages when a vmode/cmode switch fails. (Most of the error messages are
467 int vmode, cmode; local
471 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) {
483 if (cmode != CMODE_8 && cmode !
[all...]
H A Dmacmodes.c189 * mac_vmode_to_var - converts vmode/cmode pair to var structure
191 * @cmode: MacOS color mode
194 * Converts a MacOS vmode/cmode pair to a frame buffer video
201 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) argument
215 switch (cmode) {
271 * mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair
274 * @cmode: MacOS color mode
277 * vmode/cmode pair.
284 int *cmode)
289 *cmode
283 mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/m68k/mm/
H A Dkmap.c296 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
304 switch (cmode) {
306 cmode = _PAGE_CACHE040;
310 cmode = _PAGE_NOCACHE_S;
313 cmode = _PAGE_NOCACHE;
316 cmode = _PAGE_CACHE040W;
320 switch (cmode) {
324 cmode = _PAGE_NOCACHE030;
328 cmode = 0;
346 _CACHEMASK040) | cmode;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/m68k/mm/
H A Dkmap.c296 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
304 switch (cmode) {
306 cmode = _PAGE_CACHE040;
310 cmode = _PAGE_NOCACHE_S;
313 cmode = _PAGE_NOCACHE;
316 cmode = _PAGE_CACHE040W;
320 switch (cmode) {
324 cmode = _PAGE_NOCACHE030;
328 cmode = 0;
346 _CACHEMASK040) | cmode;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/shared/
H A Dfiles.c66 int f_write_excl(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
74 if (cmode == 0) cmode = 0666;
76 if (( f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
93 int f_write(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
101 if (cmode == 0) cmode = 0666;
102 if ((f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
122 int f_write_string(const char *path, const char *buffer, unsigned flags, unsigned cmode) argument
124 return f_write(path, buffer, strlen(buffer), flags, cmode);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/shared/
H A Dfiles.c66 int f_write_excl(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
74 if (cmode == 0) cmode = 0666;
76 if (( f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
93 int f_write(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
101 if (cmode == 0) cmode = 0666;
102 if ((f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
122 int f_write_string(const char *path, const char *buffer, unsigned flags, unsigned cmode) argument
124 return f_write(path, buffer, strlen(buffer), flags, cmode);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/shared/
H A Dfiles.c66 int f_write_excl(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
74 if (cmode == 0) cmode = 0666;
76 if (( f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
93 int f_write(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
101 if (cmode == 0) cmode = 0666;
102 if ((f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {
122 int f_write_string(const char *path, const char *buffer, unsigned flags, unsigned cmode) argument
124 return f_write(path, buffer, strlen(buffer), flags, cmode);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/m68knommu/mm/
H A Dkmap.c52 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/frv/mm/
H A Dkmap.c50 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/h8300/mm/
H A Dkmap.c57 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/frv/mm/
H A Dkmap.c50 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/h8300/mm/
H A Dkmap.c57 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/m68knommu/mm/
H A Dkmap.c52 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/
H A Dfaxcompr.c169 int cmode = get_vlc2(gb, ccitt_group3_2d_vlc.table, 9, 1); local
170 if(cmode == -1){
174 if(!cmode){//pass mode
184 }else if(cmode == 1){//horizontal mode
211 }else if(cmode == 9 || cmode == 10){
215 run = run_off - offs + (cmode - 5);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/
H A Dfaxcompr.c169 int cmode = get_vlc2(gb, ccitt_group3_2d_vlc.table, 9, 1); local
170 if(cmode == -1){
174 if(!cmode){//pass mode
184 }else if(cmode == 1){//horizontal mode
211 }else if(cmode == 9 || cmode == 10){
215 run = run_off - offs + (cmode - 5);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/
H A Dfaxcompr.c169 int cmode = get_vlc2(gb, ccitt_group3_2d_vlc.table, 9, 1); local
170 if(cmode == -1){
174 if(!cmode){//pass mode
184 }else if(cmode == 1){//horizontal mode
211 }else if(cmode == 9 || cmode == 10){
215 run = run_off - offs + (cmode - 5);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/httpd/
H A Daspbw.c87 int f_write(const char *path, const void *buffer, int len, unsigned flags, unsigned cmode) argument
95 if (cmode == 0) cmode = 0666;
96 if ((f = open(path, (flags & FW_APPEND) ? (O_WRONLY|O_CREAT|O_APPEND) : (O_WRONLY|O_CREAT|O_TRUNC), cmode)) >= 0) {

Completed in 294 milliseconds

123