Lines Matching refs:pci_fn
697 if (!tp->pci_fn) in tg3_ape_lock_init()
700 bit = 1 << tp->pci_fn; in tg3_ape_lock_init()
723 if (!tp->pci_fn) in tg3_ape_lock()
726 bit = 1 << tp->pci_fn; in tg3_ape_lock()
784 if (!tp->pci_fn) in tg3_ape_unlock()
787 bit = 1 << tp->pci_fn; in tg3_ape_unlock()
1513 tp->phy_addr = tp->pci_fn + 1; in tg3_mdio_init()
2795 shift = TG3_APE_GPIO_MSG_SHIFT + 4 * tp->pci_fn; in tg3_set_function_status()
3027 if (!tp->pci_fn) in tg3_phy_power_bug()
3033 !tp->pci_fn) in tg3_phy_power_bug()
3047 !tp->pci_fn) in tg3_phy_led_bug()
15550 switch (tp->pci_fn) { in tg3_phy_probe()
16675 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
16682 tp->pci_fn = val & 0x7; in tg3_get_invariants()
16692 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5717) ? 1 : 0; in tg3_get_invariants()
16694 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5719) >> in tg3_get_invariants()
17045 if (tp->pci_fn & 1) in tg3_get_device_address()
17047 if (tp->pci_fn > 1) in tg3_get_device_address()