Lines Matching refs:bus_speed
641 enum pci_bus_speed bus_speed = PCI_SPEED_UNKNOWN; in shpc_get_cur_bus_speed() local
653 bus_speed = PCI_SPEED_33MHz; in shpc_get_cur_bus_speed()
656 bus_speed = PCI_SPEED_66MHz; in shpc_get_cur_bus_speed()
659 bus_speed = PCI_SPEED_66MHz_PCIX; in shpc_get_cur_bus_speed()
662 bus_speed = PCI_SPEED_100MHz_PCIX; in shpc_get_cur_bus_speed()
665 bus_speed = PCI_SPEED_133MHz_PCIX; in shpc_get_cur_bus_speed()
668 bus_speed = PCI_SPEED_66MHz_PCIX_ECC; in shpc_get_cur_bus_speed()
671 bus_speed = PCI_SPEED_100MHz_PCIX_ECC; in shpc_get_cur_bus_speed()
674 bus_speed = PCI_SPEED_133MHz_PCIX_ECC; in shpc_get_cur_bus_speed()
677 bus_speed = PCI_SPEED_66MHz_PCIX_266; in shpc_get_cur_bus_speed()
680 bus_speed = PCI_SPEED_100MHz_PCIX_266; in shpc_get_cur_bus_speed()
683 bus_speed = PCI_SPEED_133MHz_PCIX_266; in shpc_get_cur_bus_speed()
686 bus_speed = PCI_SPEED_66MHz_PCIX_533; in shpc_get_cur_bus_speed()
689 bus_speed = PCI_SPEED_100MHz_PCIX_533; in shpc_get_cur_bus_speed()
692 bus_speed = PCI_SPEED_133MHz_PCIX_533; in shpc_get_cur_bus_speed()
700 bus->cur_bus_speed = bus_speed; in shpc_get_cur_bus_speed()
701 dbg("Current bus speed = %d\n", bus_speed); in shpc_get_cur_bus_speed()
855 enum pci_bus_speed bus_speed = PCI_SPEED_UNKNOWN; in shpc_get_max_bus_speed() local
862 bus_speed = PCI_SPEED_133MHz_PCIX_533; in shpc_get_max_bus_speed()
864 bus_speed = PCI_SPEED_100MHz_PCIX_533; in shpc_get_max_bus_speed()
866 bus_speed = PCI_SPEED_66MHz_PCIX_533; in shpc_get_max_bus_speed()
868 bus_speed = PCI_SPEED_133MHz_PCIX_266; in shpc_get_max_bus_speed()
870 bus_speed = PCI_SPEED_100MHz_PCIX_266; in shpc_get_max_bus_speed()
872 bus_speed = PCI_SPEED_66MHz_PCIX_266; in shpc_get_max_bus_speed()
875 if (bus_speed == PCI_SPEED_UNKNOWN) { in shpc_get_max_bus_speed()
877 bus_speed = PCI_SPEED_133MHz_PCIX; in shpc_get_max_bus_speed()
879 bus_speed = PCI_SPEED_100MHz_PCIX; in shpc_get_max_bus_speed()
881 bus_speed = PCI_SPEED_66MHz_PCIX; in shpc_get_max_bus_speed()
883 bus_speed = PCI_SPEED_66MHz; in shpc_get_max_bus_speed()
885 bus_speed = PCI_SPEED_33MHz; in shpc_get_max_bus_speed()
890 bus->max_bus_speed = bus_speed; in shpc_get_max_bus_speed()
891 ctrl_dbg(ctrl, "Max bus speed = %d\n", bus_speed); in shpc_get_max_bus_speed()