Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/video/aty/
Dradeon_monitor.c175 if (!(tmp = BIOS_IN16(rinfo->fp_bios_start + 0x40))) { in radeon_get_panel_info_BIOS()
185 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); in radeon_get_panel_info_BIOS()
186 rinfo->panel_info.yres = BIOS_IN16(tmp + 27); in radeon_get_panel_info_BIOS()
190 rinfo->panel_info.pwr_delay = BIOS_IN16(tmp + 44); in radeon_get_panel_info_BIOS()
198 rinfo->panel_info.ref_divider = BIOS_IN16(tmp + 46); in radeon_get_panel_info_BIOS()
200 rinfo->panel_info.fbk_divider = BIOS_IN16(tmp + 49); in radeon_get_panel_info_BIOS()
211 tmp0 = BIOS_IN16(tmp+64+i*2); in radeon_get_panel_info_BIOS()
214 pr_debug(" %d x %d\n", BIOS_IN16(tmp0), BIOS_IN16(tmp0+2)); in radeon_get_panel_info_BIOS()
215 if ((BIOS_IN16(tmp0) == rinfo->panel_info.xres) && in radeon_get_panel_info_BIOS()
216 (BIOS_IN16(tmp0+2) == rinfo->panel_info.yres)) { in radeon_get_panel_info_BIOS()
[all …]
Daty128fb.c469 #define BIOS_IN16(v) (readb(bios + (v)) | \ macro
805 if (BIOS_IN16(0) != 0xaa55) { in aty128_map_ROM()
807 " be 0xaa55\n", BIOS_IN16(0)); in aty128_map_ROM()
812 dptr = BIOS_IN16(0x18); in aty128_map_ROM()
871 bios_hdr = BIOS_IN16(0x48); in aty128_get_pllinfo()
872 bios_pll = BIOS_IN16(bios_hdr + 0x30); in aty128_get_pllinfo()
876 par->constants.xclk = BIOS_IN16(bios_pll + 0x08); in aty128_get_pllinfo()
877 par->constants.ref_divider = BIOS_IN16(bios_pll + 0x10); in aty128_get_pllinfo()
878 par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); in aty128_get_pllinfo()
Dradeon_base.c326 if (BIOS_IN16(0) != 0xaa55) { in radeon_map_ROM()
329 pci_name(rinfo->pdev), BIOS_IN16(0)); in radeon_map_ROM()
333 dptr = BIOS_IN16(0x18); in radeon_map_ROM()
381 rinfo->fp_bios_start = BIOS_IN16(0x48); in radeon_map_ROM()
415 rinfo->fp_bios_start = BIOS_IN16(0x48); in radeon_find_mem_vbios()
671 u16 pll_info_block = BIOS_IN16(rinfo->fp_bios_start + 0x30); in radeon_get_pllinfo()
673 rinfo->pll.sclk = BIOS_IN16(pll_info_block + 0x08); in radeon_get_pllinfo()
674 rinfo->pll.mclk = BIOS_IN16(pll_info_block + 0x0a); in radeon_get_pllinfo()
675 rinfo->pll.ref_clk = BIOS_IN16(pll_info_block + 0x0e); in radeon_get_pllinfo()
676 rinfo->pll.ref_div = BIOS_IN16(pll_info_block + 0x10); in radeon_get_pllinfo()
Dradeonfb.h494 #define BIOS_IN16(v) (readb(rinfo->bios_seg + (v)) | \ macro