Lines Matching refs:padr

22 writereg(unsigned int padr, signed int addr, u_char off, u_char val) {  in writereg()  argument
23 outb_p(0x1c, padr + 2); in writereg()
24 outb_p(0x14, padr + 2); in writereg()
25 outb_p((addr + off) & 0x7f, padr); in writereg()
26 outb_p(0x16, padr + 2); in writereg()
27 outb_p(val, padr); in writereg()
28 outb_p(0x17, padr + 2); in writereg()
29 outb_p(0x14, padr + 2); in writereg()
30 outb_p(0x1c, padr + 2); in writereg()
38 readreg(unsigned int padr, signed int addr, u_char off) { in readreg() argument
41 outb_p(0x1c, padr + 2); in readreg()
42 outb_p(0x14, padr + 2); in readreg()
43 outb_p((addr + off) | 0x80, padr); in readreg()
44 outb_p(0x16, padr + 2); in readreg()
45 outb_p(0x17, padr + 2); in readreg()
46 n1 = (inb_p(padr + 1) >> 3) & 0x17; in readreg()
47 outb_p(0x16, padr + 2); in readreg()
48 n2 = (inb_p(padr + 1) >> 3) & 0x17; in readreg()
49 outb_p(0x14, padr + 2); in readreg()
50 outb_p(0x1c, padr + 2); in readreg()
55 read_fifo(unsigned int padr, signed int adr, u_char *data, int size) in read_fifo() argument
60 outb_p(0x1c, padr + 2); in read_fifo()
61 outb_p(0x14, padr + 2); in read_fifo()
62 outb_p(adr | 0x80, padr); in read_fifo()
63 outb_p(0x16, padr + 2); in read_fifo()
65 outb_p(0x17, padr + 2); in read_fifo()
66 n1 = (inb_p(padr + 1) >> 3) & 0x17; in read_fifo()
67 outb_p(0x16, padr + 2); in read_fifo()
68 n2 = (inb_p(padr + 1) >> 3) & 0x17; in read_fifo()
71 outb_p(0x14, padr + 2); in read_fifo()
72 outb_p(0x1c, padr + 2); in read_fifo()
77 write_fifo(unsigned int padr, signed int adr, u_char *data, int size) in write_fifo() argument
80 outb_p(0x1c, padr + 2); in write_fifo()
81 outb_p(0x14, padr + 2); in write_fifo()
82 outb_p(adr & 0x7f, padr); in write_fifo()
84 outb_p(0x16, padr + 2); in write_fifo()
85 outb_p(*(data++), padr); in write_fifo()
86 outb_p(0x17, padr + 2); in write_fifo()
88 outb_p(0x14, padr + 2); in write_fifo()
89 outb_p(0x1c, padr + 2); in write_fifo()