Lines Matching defs:val8
49 static void edac_pci_read_byte(struct pci_dev *dev, int reg, u8 *val8)
53 ret = pci_read_config_byte(dev, reg, val8);
69 static void edac_pci_write_byte(struct pci_dev *dev, int reg, u8 val8)
73 ret = pci_write_config_byte(dev, reg, val8);
235 u8 val8;
246 val8 = __do_inb(REG_AT_COMPAT);
247 if (val8 == 0xff) { /* buggy port */
255 if (val8 & AT_COMPAT_SERR)
257 if (val8 & AT_COMPAT_IOCHK)
265 edac_pci_read_byte(dev, REG_IO_CTRL_1, &val8);
266 if (val8 & IO_CTRL_1_CLEAR_MASK)
267 edac_pci_write_byte(dev, REG_IO_CTRL_1, val8);
280 u8 val8;
282 edac_pci_read_byte(dev, REG_IO_CTRL_1, &val8);
283 if (val8 & IO_CTRL_1_CLEAR_MASK) {
288 (val8 & IO_CTRL_1_LPC_ERR) != 0,
289 (val8 & IO_CTRL_1_PW2LPC) != 0);
291 val8 |= IO_CTRL_1_CLEAR_MASK;
292 edac_pci_write_byte(dev, REG_IO_CTRL_1, val8);
299 val8 = __do_inb(REG_AT_COMPAT);
300 if (val8 & AT_COMPAT_SERR)
302 if (val8 & AT_COMPAT_IOCHK)