Home
last modified time | relevance | path

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

/drivers/video/fbdev/aty/
Dradeon_monitor.c176 if (!(tmp = BIOS_IN16(rinfo->fp_bios_start + 0x40))) { in radeon_get_panel_info_BIOS()
186 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()
191 rinfo->panel_info.pwr_delay = BIOS_IN16(tmp + 44); in radeon_get_panel_info_BIOS()
199 rinfo->panel_info.ref_divider = BIOS_IN16(tmp + 46); in radeon_get_panel_info_BIOS()
201 rinfo->panel_info.fbk_divider = BIOS_IN16(tmp + 49); 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()
216 if ((BIOS_IN16(tmp0) == rinfo->panel_info.xres) && in radeon_get_panel_info_BIOS()
217 (BIOS_IN16(tmp0+2) == rinfo->panel_info.yres)) { in radeon_get_panel_info_BIOS()
[all …]
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()
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()
Dradeonfb.h429 #define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \ macro