Lines Matching refs:vidhead
398 if (saa->vidhead <= saa->vidtail) in do_irq_send_data()
399 vidbytes = saa->vidtail - saa->vidhead; in do_irq_send_data()
401 vidbytes = 524288 - (saa->vidhead - saa->vidtail); in do_irq_send_data()
431 if (saa->vidhead > saa->vidtail) in do_irq_send_data()
432 split = 524288 - saa->vidhead; in do_irq_send_data()
437 memcpy(saa->dmadebi, saa->vidbuf + saa->vidhead, in do_irq_send_data()
439 saa->vidhead = 0; in do_irq_send_data()
443 memcpy(saa->dmadebi + split, saa->vidbuf + saa->vidhead, in do_irq_send_data()
445 saa->vidhead += vidbytes; in do_irq_send_data()
446 saa->vidhead &= 0x7ffff; in do_irq_send_data()
1036 saa->vidhead = saa->vidtail = 0; in do_ibm_reset()
1681 saa->vidhead = saa->vidtail = 0; in saa_ioctl()
1908 if (saa->vidhead <= saa->vidtail) in saa_write()
1909 blocksize=524288-(saa->vidtail - saa->vidhead); in saa_write()
1911 blocksize = saa->vidhead - saa->vidtail; in saa_write()
1921 if (saa->vidhead <= saa->vidtail) { in saa_write()
1922 blocksize=524288-(saa->vidtail - saa->vidhead); in saa_write()
1925 blocksize = saa->vidhead - saa->vidtail; in saa_write()
2142 saa->audhead = saa->vidhead = saa->osdhead = 0; in init_saa7146()
2214 saa->vidhead = saa->vidtail = saa->osdtail = 0; in release_saa()