Searched refs:config_addr (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/sys/powerpc/pseries/ |
H A D | rtas_pci.c | 155 uint32_t config_addr; local 160 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) | 163 config_addr |= (reg & 0xf00) << 16; 167 config_addr, sc->sc_pcir.phys_hi, 171 config_addr, width, &pcierror, &retval); 194 uint32_t config_addr; local 199 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) | 202 config_addr |= (reg & 0xf00) << 16; 205 rtas_call_method(sc->ex_write_pci_config, 5, 1, config_addr, 209 rtas_call_method(sc->write_pci_config, 3, 1, config_addr, [all...] |
/freebsd-12-stable/sys/powerpc/powernv/ |
H A D | opal_pci.c | 470 uint64_t config_addr; local 478 config_addr = (bus << 8) | ((slot & 0x1f) << 3) | (func & 0x7); 483 config_addr, reg, vtophys(&byte)); 488 config_addr, reg, vtophys(&half)); 493 config_addr, reg, vtophys(&word)); 520 uint64_t config_addr; local 525 config_addr = (bus << 8) | ((slot & 0x1f) << 3) | (func & 0x7); 530 config_addr, reg, val); 534 config_addr, reg, val); 538 config_addr, re [all...] |
Completed in 47 milliseconds