Searched refs:config_addr (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/powerpc/pseries/ |
| H A D | rtas_pci.c | 152 uint32_t config_addr; in rtaspci_read_config() local 157 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) | in rtaspci_read_config() 160 config_addr |= (reg & 0xf00) << 16; in rtaspci_read_config() 164 config_addr, sc->sc_pcir.phys_hi, in rtaspci_read_config() 168 config_addr, width, &pcierror, &retval); in rtaspci_read_config() 191 uint32_t config_addr; in rtaspci_write_config() local 196 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) | in rtaspci_write_config() 199 config_addr |= (reg & 0xf00) << 16; in rtaspci_write_config() 202 rtas_call_method(sc->ex_write_pci_config, 5, 1, config_addr, in rtaspci_write_config() 206 rtas_call_method(sc->write_pci_config, 3, 1, config_addr, in rtaspci_write_config()
|
| /freebsd/sys/powerpc/powernv/ |
| H A D | opal_pci.c | 503 uint64_t config_addr; in opalpci_read_config() local 512 config_addr = (bus << 8) | ((slot & 0x1f) << 3) | (func & 0x7); in opalpci_read_config() 517 config_addr, reg, vtophys(&byte)); in opalpci_read_config() 522 config_addr, reg, vtophys(&half)); in opalpci_read_config() 527 config_addr, reg, vtophys(&word)); in opalpci_read_config() 565 uint64_t config_addr; in opalpci_write_config() local 570 config_addr = (bus << 8) | ((slot & 0x1f) << 3) | (func & 0x7); in opalpci_write_config() 575 config_addr, reg, val); in opalpci_write_config() 579 config_addr, reg, val); in opalpci_write_config() 583 config_addr, reg, val); in opalpci_write_config()
|