Lines Matching refs:pci_fn
706 if (!tp->pci_fn) in tg3_ape_lock_init()
709 bit = 1 << tp->pci_fn; in tg3_ape_lock_init()
732 if (!tp->pci_fn) in tg3_ape_lock()
735 bit = 1 << tp->pci_fn; in tg3_ape_lock()
793 if (!tp->pci_fn) in tg3_ape_unlock()
796 bit = 1 << tp->pci_fn; in tg3_ape_unlock()
1523 tp->phy_addr = tp->pci_fn + 1; in tg3_mdio_init()
2815 shift = TG3_APE_GPIO_MSG_SHIFT + 4 * tp->pci_fn; in tg3_set_function_status()
3047 if (!tp->pci_fn) in tg3_phy_power_bug()
3053 !tp->pci_fn) in tg3_phy_power_bug()
3067 !tp->pci_fn) in tg3_phy_led_bug()
15492 switch (tp->pci_fn) { in tg3_phy_probe()
16642 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
16649 tp->pci_fn = val & 0x7; in tg3_get_invariants()
16659 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5717) ? 1 : 0; in tg3_get_invariants()
16661 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5719) >> in tg3_get_invariants()
17041 if (tp->pci_fn & 1) in tg3_get_device_address()
17043 if (tp->pci_fn > 1) in tg3_get_device_address()