Home
last modified time | relevance | path

Searched refs:BIOS_IN16 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/video/fbdev/aty/
H A Dradeon_monitor.c186 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); in radeon_get_panel_info_BIOS()
187 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS()
212 tmp0 = BIOS_IN16(tmp+64+i*2); in radeon_get_panel_info_BIOS()
215 pr_debug(" %d x %d\n", BIOS_IN16(tmp0), BIOS_IN16(tmp0+2)); in radeon_get_panel_info_BIOS()
218 rinfo->panel_info.hblank = (BIOS_IN16(tmp0+17) - BIOS_IN16(tmp0+19)) * 8; in radeon_get_panel_info_BIOS()
220 BIOS_IN16(tmp0+19) -1) * 8) & 0x7fff; in radeon_get_panel_info_BIOS()
222 rinfo->panel_info.vblank = BIOS_IN16(tmp0+24) - BIOS_IN16(tmp0+26); in radeon_get_panel_info_BIOS()
223 rinfo->panel_info.vOver_plus = (BIOS_IN16(tmp0+28) & 0x7ff) - BIOS_IN16(tmp0+26); in radeon_get_panel_info_BIOS()
225 rinfo->panel_info.clock = BIOS_IN16(tmp0+9); in radeon_get_panel_info_BIOS()
284 tmp = BIOS_IN16(offset); in radeon_parse_connector_info()
[all …]
H A Daty128fb.c497 #define BIOS_IN16(v) (readb(bios + (v)) | \ macro
832 if (BIOS_IN16(0) != 0xaa55) { in aty128_map_ROM()
834 " be 0xaa55\n", BIOS_IN16(0)); in aty128_map_ROM()
839 dptr = BIOS_IN16(0x18); in aty128_map_ROM()
901 bios_hdr = BIOS_IN16(0x48); in aty128_get_pllinfo()
902 bios_pll = BIOS_IN16(bios_hdr + 0x30); in aty128_get_pllinfo()
906 par->constants.xclk = BIOS_IN16(bios_pll + 0x08); in aty128_get_pllinfo()
907 par->constants.ref_divider = BIOS_IN16(bios_pll + 0x10); in aty128_get_pllinfo()
908 par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); in aty128_get_pllinfo()
H A Dradeon_base.c445 if (BIOS_IN16(0) != 0xaa55) { in radeon_map_ROM()
448 pci_name(rinfo->pdev), BIOS_IN16(0)); in radeon_map_ROM()
452 dptr = BIOS_IN16(0x18); in radeon_map_ROM()
500 rinfo->fp_bios_start = BIOS_IN16(0x48); in radeon_map_ROM()
534 rinfo->fp_bios_start = BIOS_IN16(0x48); in radeon_find_mem_vbios()
786 u16 pll_info_block = BIOS_IN16(rinfo->fp_bios_start + 0x30); in radeon_get_pllinfo()
788 rinfo->pll.sclk = BIOS_IN16(pll_info_block + 0x08); in radeon_get_pllinfo()
789 rinfo->pll.mclk = BIOS_IN16(pll_info_block + 0x0a); in radeon_get_pllinfo()
790 rinfo->pll.ref_clk = BIOS_IN16(pll_info_block + 0x0e); in radeon_get_pllinfo()
791 rinfo->pll.ref_div = BIOS_IN16(pll_info_block + 0x10); in radeon_get_pllinfo()
H A Dradeonfb.h429 #define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \ macro