Lines Matching refs:bus_number

1543 	int bus_number = bus->number;  in octeon_pcie_read_config()  local
1557 bus_number = 0; in octeon_pcie_read_config()
1562 if (pciercx_cfg006.s.pbnum != bus_number) { in octeon_pcie_read_config()
1563 pciercx_cfg006.s.pbnum = bus_number; in octeon_pcie_read_config()
1564 pciercx_cfg006.s.sbnum = bus_number; in octeon_pcie_read_config()
1565 pciercx_cfg006.s.subbnum = bus_number; in octeon_pcie_read_config()
1605 if (bus_number == 2) in octeon_pcie_read_config()
1612 if ((bus_number == 2) && (devfn >> 3 != 2)) in octeon_pcie_read_config()
1619 if ((bus_number == 2) && (devfn >> 3 != 3)) in octeon_pcie_read_config()
1623 if ((bus_number == 2) && in octeon_pcie_read_config()
1634 if ((bus_number == 4) && in octeon_pcie_read_config()
1638 if ((bus_number == 5) && (devfn >> 3 != 0)) in octeon_pcie_read_config()
1641 if ((bus_number == 6) && (devfn >> 3 != 0)) in octeon_pcie_read_config()
1644 if ((bus_number == 7) && (devfn >> 3 != 0)) in octeon_pcie_read_config()
1647 if ((bus_number == 8) && (devfn >> 3 != 0)) in octeon_pcie_read_config()
1668 " size=%d ", pcie_port, bus_number, devfn, reg, size); in octeon_pcie_read_config()
1672 *val = cvmx_pcie_config_read32(pcie_port, bus_number, in octeon_pcie_read_config()
1676 *val = cvmx_pcie_config_read16(pcie_port, bus_number, in octeon_pcie_read_config()
1680 *val = cvmx_pcie_config_read8(pcie_port, bus_number, in octeon_pcie_read_config()
1734 int bus_number = bus->number; in octeon_pcie_write_config() local
1739 bus_number = 0; in octeon_pcie_write_config()
1742 " reg=0x%03x size=%d val=%08x\n", pcie_port, bus_number, devfn, in octeon_pcie_write_config()
1748 cvmx_pcie_config_write32(pcie_port, bus_number, devfn >> 3, in octeon_pcie_write_config()
1752 cvmx_pcie_config_write16(pcie_port, bus_number, devfn >> 3, in octeon_pcie_write_config()
1756 cvmx_pcie_config_write8(pcie_port, bus_number, devfn >> 3, in octeon_pcie_write_config()