Searched refs:q_save (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/video/console/
H A Dmdacon.c204 u16 *q, q_save; mda_detect() local
211 p_save = scr_readw(p); q_save = scr_readw(q); mda_detect()
229 scr_writew(p_save, p); scr_writew(q_save, q); mda_detect()
258 p_save = q_save = inb_p(mda_status_port) & MDA_STATUS_VSYNC; mda_detect()
260 for (count=0; count < 50000 && p_save == q_save; count++) { mda_detect()
261 q_save = inb(mda_status_port) & MDA_STATUS_VSYNC; mda_detect()
265 if (p_save != q_save) { mda_detect()
/linux-4.1.27/drivers/video/fbdev/
H A Dhgafb.c283 unsigned short p_save, q_save; hga_card_detect() local
299 p_save = readw(p); q_save = readw(q); hga_card_detect()
323 p_save = q_save = inb_p(HGA_STATUS_PORT) & HGA_STATUS_VSYNC; hga_card_detect()
325 for (count=0; count < 50000 && p_save == q_save; count++) { hga_card_detect()
326 q_save = inb(HGA_STATUS_PORT) & HGA_STATUS_VSYNC; hga_card_detect()
330 if (p_save == q_save) hga_card_detect()

Completed in 88 milliseconds