Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c1014 u32 pci_mode; in get_pci_mode() local
1016 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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c3394 u32 pci_mode; in get_pci_mode() local
3405 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()
/linux-6.1.9/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()