Lines Matching refs:pci_fn
695 if (!tp->pci_fn) in tg3_ape_lock_init()
698 bit = 1 << tp->pci_fn; in tg3_ape_lock_init()
721 if (!tp->pci_fn) in tg3_ape_lock()
724 bit = 1 << tp->pci_fn; in tg3_ape_lock()
782 if (!tp->pci_fn) in tg3_ape_unlock()
785 bit = 1 << tp->pci_fn; in tg3_ape_unlock()
1511 tp->phy_addr = tp->pci_fn + 1; in tg3_mdio_init()
2800 shift = TG3_APE_GPIO_MSG_SHIFT + 4 * tp->pci_fn; in tg3_set_function_status()
3032 if (!tp->pci_fn) in tg3_phy_power_bug()
3038 !tp->pci_fn) in tg3_phy_power_bug()
3052 !tp->pci_fn) in tg3_phy_led_bug()
15491 switch (tp->pci_fn) { in tg3_phy_probe()
16641 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
16648 tp->pci_fn = val & 0x7; in tg3_get_invariants()
16658 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5717) ? 1 : 0; in tg3_get_invariants()
16660 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5719) >> in tg3_get_invariants()
17012 if (tp->pci_fn & 1) in tg3_get_device_address()
17014 if (tp->pci_fn > 1) in tg3_get_device_address()