Searched refs:q_save (Results 1 – 2 of 2) sorted by relevance
204 u16 *q, q_save; in mda_detect() local211 p_save = scr_readw(p); q_save = scr_readw(q); in mda_detect()229 scr_writew(p_save, p); scr_writew(q_save, q); in mda_detect()258 p_save = q_save = inb_p(mda_status_port) & MDA_STATUS_VSYNC; in mda_detect()260 for (count=0; count < 50000 && p_save == q_save; count++) { in mda_detect()261 q_save = inb(mda_status_port) & MDA_STATUS_VSYNC; in mda_detect()265 if (p_save != q_save) { in mda_detect()
283 unsigned short p_save, q_save; in hga_card_detect() local299 p_save = readw(p); q_save = readw(q); in hga_card_detect()323 p_save = q_save = inb_p(HGA_STATUS_PORT) & HGA_STATUS_VSYNC; in hga_card_detect()325 for (count=0; count < 50000 && p_save == q_save; count++) { in hga_card_detect()326 q_save = inb(HGA_STATUS_PORT) & HGA_STATUS_VSYNC; in hga_card_detect()330 if (p_save == q_save) in hga_card_detect()