Lines Matching refs:pci_fn
698 if (!tp->pci_fn) in tg3_ape_lock_init()
701 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()
783 if (!tp->pci_fn) in tg3_ape_unlock()
786 bit = 1 << tp->pci_fn; in tg3_ape_unlock()
1505 tp->phy_addr = tp->pci_fn + 1; in tg3_mdio_init()
2799 shift = TG3_APE_GPIO_MSG_SHIFT + 4 * tp->pci_fn; in tg3_set_function_status()
3031 if (!tp->pci_fn) in tg3_phy_power_bug()
3037 !tp->pci_fn) in tg3_phy_power_bug()
3051 !tp->pci_fn) in tg3_phy_led_bug()
15419 switch (tp->pci_fn) { in tg3_phy_probe()
16569 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
16576 tp->pci_fn = val & 0x7; in tg3_get_invariants()
16586 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5717) ? 1 : 0; in tg3_get_invariants()
16588 tp->pci_fn = (val & TG3_CPMU_STATUS_FMSK_5719) >> in tg3_get_invariants()
16966 if (tp->pci_fn & 1) in tg3_get_device_address()
16968 if (tp->pci_fn > 1) in tg3_get_device_address()