pciback.c | 154 pcireg_t pcival; local in function:pciback_write_byte 156 pcival = pci_conf_read(pc, pa, (reg & ~0x03)); 157 pcival &= ~(0xff << ((reg & 0x03) * 8)); 158 pcival |= (val << ((reg & 0x03) * 8)); 159 pci_conf_write(pc, pa, (reg & ~0x03), pcival); 165 pcireg_t pcival; local in function:pciback_write_word 167 pcival = pci_conf_read(pc, pa, (reg & ~0x03)); 168 pcival &= ~(0xffff << ((reg & 0x03) * 8)); 169 pcival |= (val << ((reg & 0x03) * 8)); 170 pci_conf_write(pc, pa, (reg & ~0x03), pcival); [all...] |