Lines Matching refs:devreg

2090 	bridgereg_t             devreg;  in pcibr_addr_pci_to_xio()  local
2113 devreg = pcibr_soft->bs_slot[win].bss_device; in pcibr_addr_pci_to_xio()
2141 devreg &= ~BRIDGE_DEV_OFF_MASK; in pcibr_addr_pci_to_xio()
2143 devreg |= BRIDGE_DEV_DEV_IO_MEM; in pcibr_addr_pci_to_xio()
2145 devreg &= ~BRIDGE_DEV_DEV_IO_MEM; in pcibr_addr_pci_to_xio()
2146 devreg |= (mbase >> 20) & BRIDGE_DEV_OFF_MASK; in pcibr_addr_pci_to_xio()
2153 devreg |= BRIDGE_DEV_DEV_SWAP; in pcibr_addr_pci_to_xio()
2155 devreg &= ~BRIDGE_DEV_DEV_SWAP; in pcibr_addr_pci_to_xio()
2157 if (pcibr_soft->bs_slot[win].bss_device != devreg) { in pcibr_addr_pci_to_xio()
2159 bridge->b_device[win].reg = devreg; in pcibr_addr_pci_to_xio()
2160 pcibr_soft->bs_slot[win].bss_device = devreg; in pcibr_addr_pci_to_xio()
2167 win, devreg, device_bits)); in pcibr_addr_pci_to_xio()
2191 slot, win, win, devreg, device_bits); in pcibr_addr_pci_to_xio()
2196 (unsigned int)slot, win, win, (unsigned long)devreg); in pcibr_addr_pci_to_xio()
2209 ((flags & PCIIO_BYTE_STREAM) && !(devreg & BRIDGE_DEV_DEV_SWAP)) || in pcibr_addr_pci_to_xio()
2210 (!(flags & PCIIO_BYTE_STREAM) && (devreg & BRIDGE_DEV_DEV_SWAP))) in pcibr_addr_pci_to_xio()
3702 bridgereg_t devreg;
3711 devreg = pcibr_soft->bs_slot[pciio_slot].bss_device;
3713 devreg |= BRIDGE_DEV_SWAP_BITS;
3715 devreg &= ~BRIDGE_DEV_SWAP_BITS;
3721 if (pcibr_soft->bs_slot[pciio_slot].bss_device != devreg) {
3725 bridge->b_device[pciio_slot].reg = devreg;
3726 pcibr_soft->bs_slot[pciio_slot].bss_device = devreg;
3735 pciio_slot, devreg, device_bits));
3737 printk("pcibr_endian_set: Device(%d): %x\n", pciio_slot, devreg);
3796 bridgereg_t devreg;
3800 devreg = pcibr_soft->bs_slot[pciio_slot].bss_device;
3801 devreg = (devreg & ~clr) | set;
3802 if (pcibr_soft->bs_slot[pciio_slot].bss_device != devreg) {
3806 bridge->b_device[pciio_slot].reg = devreg;
3807 pcibr_soft->bs_slot[pciio_slot].bss_device = devreg;
3815 pciio_slot, devreg, device_bits));
3817 printk("pcibr_device_flags_set: Device(%d): %x\n", pciio_slot, devreg);