Lines Matching refs:mac_index
151 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) in ql_wait_for_drvr_lock()
531 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_get_nvram_params()
794 PHYAddr[qdev->mac_index]); in ql_petbi_reset_ex()
803 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
806 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
810 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
815 PHYAddr[qdev->mac_index]); in ql_petbi_start_neg_ex()
863 0x0020 | (PHYAddr[qdev->mac_index] >> 8), miiAddr); in phyAgereSpecificInit()
994 if (qdev->mac_index == 0) in PHY_Setup()
1045 if (qdev->mac_index) in ql_mac_enable()
1065 if (qdev->mac_index) in ql_mac_cfg_soft_reset()
1085 if (qdev->mac_index) in ql_mac_cfg_gig()
1105 if (qdev->mac_index) in ql_mac_cfg_full_dup()
1127 if (qdev->mac_index) in ql_mac_cfg_pause()
1143 switch (qdev->mac_index) { in ql_is_fiber()
1173 switch (qdev->mac_index) { in ql_is_auto_neg_complete()
1209 switch (qdev->mac_index) { in ql_auto_neg_error()
1247 switch (qdev->mac_index) { in ql_link_down_detect()
1269 switch (qdev->mac_index) { in ql_link_down_detect_clear()
1301 switch (qdev->mac_index) { in ql_this_adapter_controls_port()
1326 PHYAddr[qdev->mac_index]); in ql_phy_reset_ex()
1338 if (qdev->mac_index == 0) in ql_phy_start_neg_ex()
1352 PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1363 PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1367 PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1393 PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1395 ql_mii_read_reg_ex(qdev, CONTROL_REG, ®, PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1399 PHYAddr[qdev->mac_index]); in ql_phy_start_neg_ex()
1419 switch (qdev->mac_index) { in ql_get_link_state()
1440 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_port_start()
1461 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_finish_auto_neg()
1619 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_mii_setup()
1664 (qdev->mac_index) * 2) << 7)) { in ql_get_auto_cfg_status()
1681 (qdev->mac_index) * 2) << 7)) { in ql_get_speed()
1698 (qdev->mac_index) * 2) << 7)) { in ql_get_full_dup()
1766 if (qdev->mac_index == 0) in ql_get_pauseparam()
2943 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_init_misc_registers()
3137 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) in ql_adapter_initialize()
3150 if (qdev->mac_index) in ql_adapter_initialize()
3160 (QL_RESOURCE_BITS_BASE_CODE | (qdev->mac_index) * in ql_adapter_initialize()
3196 (qdev->mac_index << 2))); in ql_adapter_initialize()
3201 ((qdev->mac_index << 2) + 1))); in ql_adapter_initialize()
3343 qdev->mac_index = 0; in ql_set_mac_info()
3354 qdev->mac_index = 1; in ql_set_mac_info()
3834 if (qdev->mac_index) { in ql3xxx_probe()