/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_vga.c | 38 const bus_addr_t vgabase = 0x3c0; local in function:intel_vga_disable 43 error = bus_space_map(iot, vgabase, 0x10, 0, &ioh); 48 BUILD_BUG_ON(!(vgabase <= VGA_SR_INDEX)); 49 BUILD_BUG_ON(!(vgabase <= VGA_SR_DATA)); 50 bus_space_write_1(iot, ioh, VGA_SR_INDEX - vgabase, SR01); 51 sr1 = bus_space_read_1(iot, ioh, VGA_SR_DATA - vgabase); 52 bus_space_write_1(iot, ioh, VGA_SR_DATA - vgabase, 119 const bus_addr_t vgabase = 0x3c0; local in function:intel_vga_reset_io_mem 124 error = bus_space_map(iot, vgabase, 0x10, 0, &ioh); 129 BUILD_BUG_ON(!(vgabase <= VGA_MSR_READ)) [all...] |
intel_vga.c | 38 const bus_addr_t vgabase = 0x3c0; local in function:intel_vga_disable 43 error = bus_space_map(iot, vgabase, 0x10, 0, &ioh); 48 BUILD_BUG_ON(!(vgabase <= VGA_SR_INDEX)); 49 BUILD_BUG_ON(!(vgabase <= VGA_SR_DATA)); 50 bus_space_write_1(iot, ioh, VGA_SR_INDEX - vgabase, SR01); 51 sr1 = bus_space_read_1(iot, ioh, VGA_SR_DATA - vgabase); 52 bus_space_write_1(iot, ioh, VGA_SR_DATA - vgabase, 119 const bus_addr_t vgabase = 0x3c0; local in function:intel_vga_reset_io_mem 124 error = bus_space_map(iot, vgabase, 0x10, 0, &ioh); 129 BUILD_BUG_ON(!(vgabase <= VGA_MSR_READ)) [all...] |
/src/sys/arch/atari/dev/ |
grf.c | 273 u_int vgabase, linbase; local in function:grfmmap 278 vgabase = gi->gd_vgabase; 290 if (off >= vgabase && off < (vgabase + gi->gd_vgasize)) 291 return ((paddr_t)gi->gd_vgaaddr - vgabase + off) >> PGSHIFT;
|
grf.c | 273 u_int vgabase, linbase; local in function:grfmmap 278 vgabase = gi->gd_vgabase; 290 if (off >= vgabase && off < (vgabase + gi->gd_vgasize)) 291 return ((paddr_t)gi->gd_vgaaddr - vgabase + off) >> PGSHIFT;
|
/src/sys/arch/atari/vme/ |
et4000.c | 219 et4k_start(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved) 224 *vgabase = (bus_space_read_1(*iot, *ioh, GREG_MISC_OUTPUT_R) & 0x01) 228 bus_space_write_1(*iot, *ioh, *vgabase + 0x08, 0xa0); 230 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x36); 231 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, 0xf0); 233 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11); 234 *saved = bus_space_read_1(*iot, *ioh, *vgabase + 0x05); 235 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, *saved & 0x7f); 242 et4k_stop(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved) 245 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11) 258 int vgabase; local in function:et4k_detect [all...] |
et4000.c | 219 et4k_start(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved) 224 *vgabase = (bus_space_read_1(*iot, *ioh, GREG_MISC_OUTPUT_R) & 0x01) 228 bus_space_write_1(*iot, *ioh, *vgabase + 0x08, 0xa0); 230 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x36); 231 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, 0xf0); 233 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11); 234 *saved = bus_space_read_1(*iot, *ioh, *vgabase + 0x05); 235 bus_space_write_1(*iot, *ioh, *vgabase + 0x05, *saved & 0x7f); 242 et4k_stop(bus_space_tag_t *iot, bus_space_handle_t *ioh, int *vgabase, u_char *saved) 245 bus_space_write_1(*iot, *ioh, *vgabase + 0x04, 0x11) 258 int vgabase; local in function:et4k_detect [all...] |