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()
2794 shift = TG3_APE_GPIO_MSG_SHIFT + 4 * tp->pci_fn; in tg3_set_function_status()
3026 if (!tp->pci_fn) in tg3_phy_power_bug()
3032 !tp->pci_fn) in tg3_phy_power_bug()
3046 !tp->pci_fn) in tg3_phy_led_bug()
15448 switch (tp->pci_fn) { in tg3_phy_probe()
16570 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
16577 tp->pci_fn = val & 0x7; in tg3_get_invariants()
16587 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5717) ? 1 : 0; in tg3_get_invariants()
16589 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5719) >> in tg3_get_invariants()
16940 if (tp->pci_fn & 1) in tg3_get_device_address()
16942 if (tp->pci_fn > 1) in tg3_get_device_address()