Home
last modified time | relevance | path

Searched refs:pci_mode (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c1023 u32 pci_mode; in get_pci_mode() local
1025 pci_read_config_dword(adapter->pdev, A_PCICFG_MODE, &pci_mode); in get_pci_mode()
1026 p->speed = speed_map[G_PCI_MODE_CLK(pci_mode)]; in get_pci_mode()
1027 p->width = (pci_mode & F_PCI_MODE_64BIT) ? 64 : 32; in get_pci_mode()
1028 p->is_pcix = (pci_mode & F_PCI_MODE_PCIX) != 0; in get_pci_mode()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c3459 u32 pci_mode; in get_pci_mode() local
3470 pci_mode = t3_read_reg(adapter, A_PCIX_MODE); in get_pci_mode()
3471 p->speed = speed_map[G_PCLKRANGE(pci_mode)]; in get_pci_mode()
3472 p->width = (pci_mode & F_64BIT) ? 64 : 32; in get_pci_mode()
3473 pci_mode = G_PCIXINITPAT(pci_mode); in get_pci_mode()
3474 if (pci_mode == 0) in get_pci_mode()
3476 else if (pci_mode < 4) in get_pci_mode()
3478 else if (pci_mode < 8) in get_pci_mode()
/drivers/net/ethernet/neterion/
Ds2io-regs.h95 u64 pci_mode; member
Ds2io.c1013 val64 = readq(&bar0->pci_mode); in s2io_verify_pci_mode()
1049 val64 = readq(&bar0->pci_mode); in s2io_print_pci_mode()