Searched refs:vmode (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/fb/ |
H A D | vesa.c | 194 static int vesa_bios_get_mode(int mode, struct vesa_mode *vmode, int flags); 224 static int vesa_get_bpscanline(struct vesa_mode *vmode); 304 vesa_bios_get_mode(int mode, struct vesa_mode *vmode, int flags) in vesa_bios_get_mode() argument 310 buf = x86bios_alloc(&offs, sizeof(*vmode), flags); in vesa_bios_get_mode() 324 x86bios_free(buf, sizeof(*vmode)); in vesa_bios_get_mode() 328 bcopy(buf, vmode, sizeof(*vmode)); in vesa_bios_get_mode() 329 x86bios_free(buf, sizeof(*vmode)); in vesa_bios_get_mode() 712 vesa_get_bpscanline(struct vesa_mode *vmode) in vesa_get_bpscanline() argument 716 if ((vmode->v_modeattr & V_MODEGRAPHICS) != 0) { in vesa_get_bpscanline() 718 switch (vmode->v_bpp / vmode->v_planes) { in vesa_get_bpscanline() [all …]
|
/freebsd/sys/dev/syscons/ |
H A D | syscons.c | 452 int vmode; in sc_set_vesa_mode() local 454 vmode = 0; in sc_set_vesa_mode() 455 (void)resource_int_value("sc", unit, "vesa_mode", &vmode); in sc_set_vesa_mode() 456 if (vmode < M_VESA_BASE || vmode > M_VESA_MODE_MAX || in sc_set_vesa_mode() 457 vidd_get_info(sc->adp, vmode, &info) != 0 || in sc_set_vesa_mode() 459 vmode = 0; in sc_set_vesa_mode() 465 if (vmode == 0) { in sc_set_vesa_mode() 471 vmode = i; in sc_set_vesa_mode() 474 if (vmode == 0) in sc_set_vesa_mode() 476 vidd_get_info(sc->adp, vmode, &info); in sc_set_vesa_mode() [all …]
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vnops.c | 883 u_short vmode; /* upper side vnode's mode */ in unionfs_check_corrected_access() local 889 vmode = va->va_mode; in unionfs_check_corrected_access() 899 return ((vmode & mask) == mask ? 0 : EACCES); in unionfs_check_corrected_access() 910 return ((vmode & mask) == mask ? 0 : EACCES); in unionfs_check_corrected_access() 921 return ((vmode & mask) == mask ? 0 : EACCES); in unionfs_check_corrected_access()
|