Searched refs:pci_mode (Results 1 – 4 of 4) sorted by relevance
1014 u32 pci_mode; in get_pci_mode() local1016 pci_read_config_dword(adapter->pdev, A_PCICFG_MODE, &pci_mode); in get_pci_mode()1017 p->speed = speed_map[G_PCI_MODE_CLK(pci_mode)]; in get_pci_mode()1018 p->width = (pci_mode & F_PCI_MODE_64BIT) ? 64 : 32; in get_pci_mode()1019 p->is_pcix = (pci_mode & F_PCI_MODE_PCIX) != 0; in get_pci_mode()
3394 u32 pci_mode; in get_pci_mode() local3405 pci_mode = t3_read_reg(adapter, A_PCIX_MODE); in get_pci_mode()3406 p->speed = speed_map[G_PCLKRANGE(pci_mode)]; in get_pci_mode()3407 p->width = (pci_mode & F_64BIT) ? 64 : 32; in get_pci_mode()3408 pci_mode = G_PCIXINITPAT(pci_mode); in get_pci_mode()3409 if (pci_mode == 0) in get_pci_mode()3411 else if (pci_mode < 4) in get_pci_mode()3413 else if (pci_mode < 8) in get_pci_mode()
95 u64 pci_mode; member
1013 val64 = readq(&bar0->pci_mode); in s2io_verify_pci_mode()1049 val64 = readq(&bar0->pci_mode); in s2io_print_pci_mode()