Lines Matching refs:outval
155 unsigned char outval; in write_reg() local
157 outval = WrAddr | reg; in write_reg()
158 outb(outval, port + PAR_DATA); in write_reg()
159 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg()
161 outval &= 0xf0; in write_reg()
162 outval |= value; in write_reg()
163 outb(outval, port + PAR_DATA); in write_reg()
164 outval &= 0x1f; in write_reg()
165 outb(outval, port + PAR_DATA); in write_reg()
166 outb(outval, port + PAR_DATA); in write_reg()
168 outb(EOC | outval, port + PAR_DATA); in write_reg()
174 unsigned char outval = EOC | HNib | reg; in write_reg_high() local
176 outb(outval, port + PAR_DATA); in write_reg_high()
177 outval &= WrAddr | HNib | 0x0f; in write_reg_high()
178 outb(outval, port + PAR_DATA); in write_reg_high()
179 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg_high()
181 outval = WrAddr | HNib | value; in write_reg_high()
182 outb(outval, port + PAR_DATA); in write_reg_high()
183 outval &= HNib | 0x0f; /* HNib | value */ in write_reg_high()
184 outb(outval, port + PAR_DATA); in write_reg_high()
185 outb(outval, port + PAR_DATA); in write_reg_high()
187 outb(EOC | HNib | outval, port + PAR_DATA); in write_reg_high()
194 unsigned char outval; in write_reg_byte() local
196 outval = WrAddr | reg; in write_reg_byte()
197 outb(outval, port + PAR_DATA); in write_reg_byte()
198 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg_byte()
200 outb((outval & 0xf0) | (value & 0x0f), port + PAR_DATA); in write_reg_byte()