Lines Matching refs:ops
46 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic()
47 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic()
48 phy->ops.check_polarity = igc_null_ops_generic; in igc_init_phy_ops_generic()
49 phy->ops.check_reset_block = igc_null_ops_generic; in igc_init_phy_ops_generic()
50 phy->ops.commit = igc_null_ops_generic; in igc_init_phy_ops_generic()
51 phy->ops.force_speed_duplex = igc_null_ops_generic; in igc_init_phy_ops_generic()
52 phy->ops.get_cfg_done = igc_null_ops_generic; in igc_init_phy_ops_generic()
53 phy->ops.get_cable_length = igc_null_ops_generic; in igc_init_phy_ops_generic()
54 phy->ops.get_info = igc_null_ops_generic; in igc_init_phy_ops_generic()
55 phy->ops.set_page = igc_null_set_page; in igc_init_phy_ops_generic()
56 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic()
57 phy->ops.read_reg_locked = igc_null_read_reg; in igc_init_phy_ops_generic()
58 phy->ops.read_reg_page = igc_null_read_reg; in igc_init_phy_ops_generic()
59 phy->ops.release = igc_null_phy_generic; in igc_init_phy_ops_generic()
60 phy->ops.reset = igc_null_ops_generic; in igc_init_phy_ops_generic()
61 phy->ops.set_d0_lplu_state = igc_null_lplu_state; in igc_init_phy_ops_generic()
62 phy->ops.set_d3_lplu_state = igc_null_lplu_state; in igc_init_phy_ops_generic()
63 phy->ops.write_reg = igc_null_write_reg; in igc_init_phy_ops_generic()
64 phy->ops.write_reg_locked = igc_null_write_reg; in igc_init_phy_ops_generic()
65 phy->ops.write_reg_page = igc_null_write_reg; in igc_init_phy_ops_generic()
66 phy->ops.power_up = igc_null_phy_generic; in igc_init_phy_ops_generic()
67 phy->ops.power_down = igc_null_phy_generic; in igc_init_phy_ops_generic()
68 phy->ops.read_i2c_byte = igc_read_i2c_byte_null; in igc_init_phy_ops_generic()
69 phy->ops.write_i2c_byte = igc_write_i2c_byte_null; in igc_init_phy_ops_generic()
70 phy->ops.cfg_on_link_up = igc_null_ops_generic; in igc_init_phy_ops_generic()
209 if (!phy->ops.read_reg) in igc_get_phy_id()
213 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igc_get_phy_id()
219 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igc_get_phy_id()
247 if (!hw->phy.ops.write_reg) in igc_phy_reset_dsp_generic()
250 ret_val = hw->phy.ops.write_reg(hw, M88IGC_PHY_GEN_CONTROL, 0xC1); in igc_phy_reset_dsp_generic()
254 return hw->phy.ops.write_reg(hw, M88IGC_PHY_GEN_CONTROL, 0); in igc_phy_reset_dsp_generic()
636 if (!hw->phy.ops.acquire) in igc_read_phy_reg_m88()
639 ret_val = hw->phy.ops.acquire(hw); in igc_read_phy_reg_m88()
646 hw->phy.ops.release(hw); in igc_read_phy_reg_m88()
666 if (!hw->phy.ops.acquire) in igc_write_phy_reg_m88()
669 ret_val = hw->phy.ops.acquire(hw); in igc_write_phy_reg_m88()
676 hw->phy.ops.release(hw); in igc_write_phy_reg_m88()
720 if (!hw->phy.ops.acquire) in __igc_read_phy_reg_igp()
723 ret_val = hw->phy.ops.acquire(hw); in __igc_read_phy_reg_igp()
737 hw->phy.ops.release(hw); in __igc_read_phy_reg_igp()
789 if (!hw->phy.ops.acquire) in __igc_write_phy_reg_igp()
792 ret_val = hw->phy.ops.acquire(hw); in __igc_write_phy_reg_igp()
806 hw->phy.ops.release(hw); in __igc_write_phy_reg_igp()
860 if (!hw->phy.ops.acquire) in __igc_read_kmrn_reg()
863 ret_val = hw->phy.ops.acquire(hw); in __igc_read_kmrn_reg()
879 hw->phy.ops.release(hw); in __igc_read_kmrn_reg()
935 if (!hw->phy.ops.acquire) in __igc_write_kmrn_reg()
938 ret_val = hw->phy.ops.acquire(hw); in __igc_write_kmrn_reg()
951 hw->phy.ops.release(hw); in __igc_write_kmrn_reg()
996 ret_val = hw->phy.ops.read_reg(hw, PHY_1000T_CTRL, &phy_data); in igc_set_master_slave_mode()
1021 return hw->phy.ops.write_reg(hw, PHY_1000T_CTRL, phy_data); in igc_set_master_slave_mode()
1038 ret_val = hw->phy.ops.reset(hw); in igc_copper_link_setup_82577()
1046 ret_val = hw->phy.ops.read_reg(hw, I82577_CFG_REG, &phy_data); in igc_copper_link_setup_82577()
1055 ret_val = hw->phy.ops.write_reg(hw, I82577_CFG_REG, phy_data); in igc_copper_link_setup_82577()
1060 ret_val = hw->phy.ops.read_reg(hw, I82577_PHY_CTRL_2, &phy_data); in igc_copper_link_setup_82577()
1080 ret_val = hw->phy.ops.write_reg(hw, I82577_PHY_CTRL_2, phy_data); in igc_copper_link_setup_82577()
1104 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_CTRL, &phy_data); in igc_copper_link_setup_m88()
1152 ret_val = phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, in igc_copper_link_setup_m88()
1157 ret_val = phy->ops.commit(hw); in igc_copper_link_setup_m88()
1167 ret_val = phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, phy_data); in igc_copper_link_setup_m88()
1176 ret_val = phy->ops.read_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, in igc_copper_link_setup_m88()
1195 ret_val = phy->ops.write_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, in igc_copper_link_setup_m88()
1203 ret_val = phy->ops.write_reg(hw, 29, 0x0003); in igc_copper_link_setup_m88()
1208 ret_val = phy->ops.write_reg(hw, 30, 0x0000); in igc_copper_link_setup_m88()
1214 ret_val = phy->ops.commit(hw); in igc_copper_link_setup_m88()
1221 ret_val = phy->ops.read_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, in igc_copper_link_setup_m88()
1229 ret_val = phy->ops.write_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, in igc_copper_link_setup_m88()
1255 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_CTRL, &phy_data); in igc_copper_link_setup_m88_gen2()
1302 phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, phy_data); in igc_copper_link_setup_m88_gen2()
1306 ret_val = phy->ops.commit(hw); in igc_copper_link_setup_m88_gen2()
1317 ret_val = phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, phy_data); in igc_copper_link_setup_m88_gen2()
1322 ret_val = phy->ops.commit(hw); in igc_copper_link_setup_m88_gen2()
1351 ret_val = hw->phy.ops.reset(hw); in igc_copper_link_setup_igp()
1367 ret_val = hw->phy.ops.set_d3_lplu_state(hw, false); in igc_copper_link_setup_igp()
1375 if (hw->phy.ops.set_d0_lplu_state) { in igc_copper_link_setup_igp()
1376 ret_val = hw->phy.ops.set_d0_lplu_state(hw, false); in igc_copper_link_setup_igp()
1383 ret_val = phy->ops.read_reg(hw, IGP01IGC_PHY_PORT_CTRL, &data); in igc_copper_link_setup_igp()
1401 ret_val = phy->ops.write_reg(hw, IGP01IGC_PHY_PORT_CTRL, data); in igc_copper_link_setup_igp()
1413 ret_val = phy->ops.read_reg(hw, in igc_copper_link_setup_igp()
1420 ret_val = phy->ops.write_reg(hw, in igc_copper_link_setup_igp()
1427 ret_val = phy->ops.read_reg(hw, PHY_1000T_CTRL, &data); in igc_copper_link_setup_igp()
1432 ret_val = phy->ops.write_reg(hw, PHY_1000T_CTRL, data); in igc_copper_link_setup_igp()
1465 ret_val = phy->ops.read_reg(hw, PHY_AUTONEG_ADV, &mii_autoneg_adv_reg); in igc_phy_setup_autoneg()
1471 ret_val = phy->ops.read_reg(hw, PHY_1000T_CTRL, in igc_phy_setup_autoneg()
1480 ret_val = phy->ops.read_reg(hw, (STANDARD_AN_REG_MASK << in igc_phy_setup_autoneg()
1608 ret_val = phy->ops.write_reg(hw, PHY_AUTONEG_ADV, mii_autoneg_adv_reg); in igc_phy_setup_autoneg()
1615 ret_val = phy->ops.write_reg(hw, PHY_1000T_CTRL, in igc_phy_setup_autoneg()
1620 ret_val = phy->ops.write_reg(hw, in igc_phy_setup_autoneg()
1668 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_copper_link_autoneg()
1673 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_copper_link_autoneg()
1721 ret_val = hw->phy.ops.force_speed_duplex(hw); in igc_setup_copper_link_generic()
1738 hw->mac.ops.config_collision_dist(hw); in igc_setup_copper_link_generic()
1764 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_data); in igc_phy_force_speed_duplex_igp()
1770 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_data); in igc_phy_force_speed_duplex_igp()
1777 ret_val = phy->ops.read_reg(hw, IGP01IGC_PHY_PORT_CTRL, &phy_data); in igc_phy_force_speed_duplex_igp()
1784 ret_val = phy->ops.write_reg(hw, IGP01IGC_PHY_PORT_CTRL, phy_data); in igc_phy_force_speed_duplex_igp()
1835 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_CTRL, in igc_phy_force_speed_duplex_m88()
1841 ret_val = phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, in igc_phy_force_speed_duplex_m88()
1849 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_data); in igc_phy_force_speed_duplex_m88()
1855 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_data); in igc_phy_force_speed_duplex_m88()
1860 ret_val = hw->phy.ops.commit(hw); in igc_phy_force_speed_duplex_m88()
1899 ret_val = phy->ops.write_reg(hw, in igc_phy_force_speed_duplex_m88()
1930 ret_val = phy->ops.read_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, &phy_data); in igc_phy_force_speed_duplex_m88()
1939 ret_val = phy->ops.write_reg(hw, M88IGC_EXT_PHY_SPEC_CTRL, phy_data); in igc_phy_force_speed_duplex_m88()
1946 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_CTRL, &phy_data); in igc_phy_force_speed_duplex_m88()
1951 ret_val = phy->ops.write_reg(hw, M88IGC_PHY_SPEC_CTRL, phy_data); in igc_phy_force_speed_duplex_m88()
1973 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &data); in igc_phy_force_speed_duplex_ife()
1979 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, data); in igc_phy_force_speed_duplex_ife()
1984 ret_val = phy->ops.read_reg(hw, IFE_PHY_MDIX_CONTROL, &data); in igc_phy_force_speed_duplex_ife()
1991 ret_val = phy->ops.write_reg(hw, IFE_PHY_MDIX_CONTROL, data); in igc_phy_force_speed_duplex_ife()
2076 hw->mac.ops.config_collision_dist(hw); in igc_phy_force_speed_duplex_setup()
2103 if (!hw->phy.ops.read_reg) in igc_set_d3_lplu_state_generic()
2106 ret_val = phy->ops.read_reg(hw, IGP02IGC_PHY_POWER_MGMT, &data); in igc_set_d3_lplu_state_generic()
2112 ret_val = phy->ops.write_reg(hw, IGP02IGC_PHY_POWER_MGMT, in igc_set_d3_lplu_state_generic()
2122 ret_val = phy->ops.read_reg(hw, in igc_set_d3_lplu_state_generic()
2129 ret_val = phy->ops.write_reg(hw, in igc_set_d3_lplu_state_generic()
2135 ret_val = phy->ops.read_reg(hw, in igc_set_d3_lplu_state_generic()
2142 ret_val = phy->ops.write_reg(hw, in igc_set_d3_lplu_state_generic()
2152 ret_val = phy->ops.write_reg(hw, IGP02IGC_PHY_POWER_MGMT, in igc_set_d3_lplu_state_generic()
2158 ret_val = phy->ops.read_reg(hw, IGP01IGC_PHY_PORT_CONFIG, in igc_set_d3_lplu_state_generic()
2164 ret_val = phy->ops.write_reg(hw, IGP01IGC_PHY_PORT_CONFIG, in igc_set_d3_lplu_state_generic()
2208 ret_val = phy->ops.read_reg(hw, offset, &phy_data); in igc_check_downshift_generic()
2232 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_STATUS, &data); in igc_check_polarity_m88()
2262 ret_val = phy->ops.read_reg(hw, IGP01IGC_PHY_PORT_STATUS, &data); in igc_check_polarity_igp()
2278 ret_val = phy->ops.read_reg(hw, offset, &data); in igc_check_polarity_igp()
2312 ret_val = phy->ops.read_reg(hw, offset, &phy_data); in igc_check_polarity_ife()
2336 if (!hw->phy.ops.read_reg) in igc_wait_autoneg()
2341 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
2344 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_wait_autoneg()
2375 if (!hw->phy.ops.read_reg) in igc_phy_has_link_generic()
2383 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic()
2394 ret_val = hw->phy.ops.read_reg(hw, PHY_STATUS, &phy_status); in igc_phy_has_link_generic()
2433 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_STATUS, &phy_data); in igc_get_cable_length_m88()
2463 ret_val = phy->ops.read_reg(hw, (0x7 << GS40G_PAGE_SHIFT) + in igc_get_cable_length_m88_gen2()
2470 ret_val = phy->ops.read_reg(hw, (0x7 << GS40G_PAGE_SHIFT) + in igc_get_cable_length_m88_gen2()
2492 ret_val = phy->ops.read_reg(hw, I347AT4_PAGE_SELECT, in igc_get_cable_length_m88_gen2()
2497 ret_val = phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0x07); in igc_get_cable_length_m88_gen2()
2502 ret_val = phy->ops.read_reg(hw, (I347AT4_PCDL + phy->addr), in igc_get_cable_length_m88_gen2()
2508 ret_val = phy->ops.read_reg(hw, I347AT4_PCDC, &phy_data2); in igc_get_cable_length_m88_gen2()
2520 ret_val = phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, in igc_get_cable_length_m88_gen2()
2528 ret_val = phy->ops.read_reg(hw, I347AT4_PAGE_SELECT, in igc_get_cable_length_m88_gen2()
2533 ret_val = phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0x05); in igc_get_cable_length_m88_gen2()
2537 ret_val = phy->ops.read_reg(hw, M88E1112_VCT_DSP_DISTANCE, in igc_get_cable_length_m88_gen2()
2555 ret_val = phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, in igc_get_cable_length_m88_gen2()
2597 ret_val = phy->ops.read_reg(hw, agc_reg_array[i], &phy_data); in igc_get_cable_length_igp_2()
2672 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_CTRL, &phy_data); in igc_get_phy_info_m88()
2683 ret_val = phy->ops.read_reg(hw, M88IGC_PHY_SPEC_STATUS, &phy_data); in igc_get_phy_info_m88()
2690 ret_val = hw->phy.ops.get_cable_length(hw); in igc_get_phy_info_m88()
2694 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, &phy_data); in igc_get_phy_info_m88()
2748 ret_val = phy->ops.read_reg(hw, IGP01IGC_PHY_PORT_STATUS, &data); in igc_get_phy_info_igp()
2756 ret_val = phy->ops.get_cable_length(hw); in igc_get_phy_info_igp()
2760 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, &data); in igc_get_phy_info_igp()
2804 ret_val = phy->ops.read_reg(hw, IFE_PHY_SPECIAL_CONTROL, &data); in igc_get_phy_info_ife()
2820 ret_val = phy->ops.read_reg(hw, IFE_PHY_MDIX_CONTROL, &data); in igc_get_phy_info_ife()
2848 if (!hw->phy.ops.read_reg) in igc_phy_sw_reset_generic()
2851 ret_val = hw->phy.ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_phy_sw_reset_generic()
2856 ret_val = hw->phy.ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_phy_sw_reset_generic()
2882 if (phy->ops.check_reset_block) { in igc_phy_hw_reset_generic()
2883 ret_val = phy->ops.check_reset_block(hw); in igc_phy_hw_reset_generic()
2888 ret_val = phy->ops.acquire(hw); in igc_phy_hw_reset_generic()
2903 phy->ops.release(hw); in igc_phy_hw_reset_generic()
2937 hw->phy.ops.write_reg(hw, 0x2F5B, 0x9018); in igc_phy_init_script_igp3()
2939 hw->phy.ops.write_reg(hw, 0x2F52, 0x0000); in igc_phy_init_script_igp3()
2941 hw->phy.ops.write_reg(hw, 0x2FB1, 0x8B24); in igc_phy_init_script_igp3()
2943 hw->phy.ops.write_reg(hw, 0x2FB2, 0xF8F0); in igc_phy_init_script_igp3()
2945 hw->phy.ops.write_reg(hw, 0x2010, 0x10B0); in igc_phy_init_script_igp3()
2947 hw->phy.ops.write_reg(hw, 0x2011, 0x0000); in igc_phy_init_script_igp3()
2949 hw->phy.ops.write_reg(hw, 0x20DD, 0x249A); in igc_phy_init_script_igp3()
2951 hw->phy.ops.write_reg(hw, 0x20DE, 0x00D3); in igc_phy_init_script_igp3()
2953 hw->phy.ops.write_reg(hw, 0x28B4, 0x04CE); in igc_phy_init_script_igp3()
2955 hw->phy.ops.write_reg(hw, 0x2F70, 0x29E4); in igc_phy_init_script_igp3()
2957 hw->phy.ops.write_reg(hw, 0x0000, 0x0140); in igc_phy_init_script_igp3()
2959 hw->phy.ops.write_reg(hw, 0x1F30, 0x1606); in igc_phy_init_script_igp3()
2961 hw->phy.ops.write_reg(hw, 0x1F31, 0xB814); in igc_phy_init_script_igp3()
2963 hw->phy.ops.write_reg(hw, 0x1F35, 0x002A); in igc_phy_init_script_igp3()
2965 hw->phy.ops.write_reg(hw, 0x1F3E, 0x0067); in igc_phy_init_script_igp3()
2967 hw->phy.ops.write_reg(hw, 0x1F54, 0x0065); in igc_phy_init_script_igp3()
2969 hw->phy.ops.write_reg(hw, 0x1F55, 0x002A); in igc_phy_init_script_igp3()
2971 hw->phy.ops.write_reg(hw, 0x1F56, 0x002A); in igc_phy_init_script_igp3()
2973 hw->phy.ops.write_reg(hw, 0x1F72, 0x3FB0); in igc_phy_init_script_igp3()
2975 hw->phy.ops.write_reg(hw, 0x1F76, 0xC0FF); in igc_phy_init_script_igp3()
2977 hw->phy.ops.write_reg(hw, 0x1F77, 0x1DEC); in igc_phy_init_script_igp3()
2979 hw->phy.ops.write_reg(hw, 0x1F78, 0xF9EF); in igc_phy_init_script_igp3()
2981 hw->phy.ops.write_reg(hw, 0x1F79, 0x0210); in igc_phy_init_script_igp3()
2983 hw->phy.ops.write_reg(hw, 0x1895, 0x0003); in igc_phy_init_script_igp3()
2985 hw->phy.ops.write_reg(hw, 0x1796, 0x0008); in igc_phy_init_script_igp3()
2987 hw->phy.ops.write_reg(hw, 0x1798, 0xD008); in igc_phy_init_script_igp3()
2991 hw->phy.ops.write_reg(hw, 0x1898, 0xD918); in igc_phy_init_script_igp3()
2993 hw->phy.ops.write_reg(hw, 0x187A, 0x0800); in igc_phy_init_script_igp3()
2997 hw->phy.ops.write_reg(hw, 0x0019, 0x008D); in igc_phy_init_script_igp3()
2999 hw->phy.ops.write_reg(hw, 0x001B, 0x2080); in igc_phy_init_script_igp3()
3001 hw->phy.ops.write_reg(hw, 0x0014, 0x0045); in igc_phy_init_script_igp3()
3003 hw->phy.ops.write_reg(hw, 0x0000, 0x1340); in igc_phy_init_script_igp3()
3147 ret_val = hw->phy.ops.acquire(hw); in igc_write_phy_reg_bm()
3186 hw->phy.ops.release(hw); in igc_write_phy_reg_bm()
3207 ret_val = hw->phy.ops.acquire(hw); in igc_read_phy_reg_bm()
3245 hw->phy.ops.release(hw); in igc_read_phy_reg_bm()
3266 ret_val = hw->phy.ops.acquire(hw); in igc_read_phy_reg_bm2()
3291 hw->phy.ops.release(hw); in igc_read_phy_reg_bm2()
3311 ret_val = hw->phy.ops.acquire(hw); in igc_write_phy_reg_bm2()
3337 hw->phy.ops.release(hw); in igc_write_phy_reg_bm2()
3525 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_up_phy_copper()
3527 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_up_phy_copper()
3543 hw->phy.ops.read_reg(hw, PHY_CONTROL, &mii_reg); in igc_power_down_phy_copper()
3545 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_down_phy_copper()
3572 ret_val = hw->phy.ops.acquire(hw); in __igc_read_phy_reg_hv()
3612 hw->phy.ops.release(hw); in __igc_read_phy_reg_hv()
3682 ret_val = hw->phy.ops.acquire(hw); in __igc_write_phy_reg_hv()
3740 hw->phy.ops.release(hw); in __igc_write_phy_reg_hv()
3871 hw->phy.ops.read_reg(hw, PHY_CONTROL, &data); in igc_link_stall_workaround_hv()
3876 ret_val = hw->phy.ops.read_reg(hw, BM_CS_STATUS, &data); in igc_link_stall_workaround_hv()
3890 ret_val = hw->phy.ops.write_reg(hw, HV_MUX_DATA_CTRL, in igc_link_stall_workaround_hv()
3896 return hw->phy.ops.write_reg(hw, HV_MUX_DATA_CTRL, in igc_link_stall_workaround_hv()
3916 ret_val = phy->ops.read_reg(hw, I82577_PHY_STATUS_2, &data); in igc_check_polarity_82577()
3941 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_data); in igc_phy_force_speed_duplex_82577()
3947 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_data); in igc_phy_force_speed_duplex_82577()
4005 ret_val = phy->ops.read_reg(hw, I82577_PHY_STATUS_2, &data); in igc_get_phy_info_82577()
4013 ret_val = hw->phy.ops.get_cable_length(hw); in igc_get_phy_info_82577()
4017 ret_val = phy->ops.read_reg(hw, PHY_1000T_STATUS, &data); in igc_get_phy_info_82577()
4052 ret_val = phy->ops.read_reg(hw, I82577_PHY_DIAG_STATUS, &phy_data); in igc_get_cable_length_82577()
4084 ret_val = hw->phy.ops.acquire(hw); in igc_write_phy_reg_gs40g()
4094 hw->phy.ops.release(hw); in igc_write_phy_reg_gs40g()
4116 ret_val = hw->phy.ops.acquire(hw); in igc_read_phy_reg_gs40g()
4126 hw->phy.ops.release(hw); in igc_read_phy_reg_gs40g()
4149 ret_val = hw->phy.ops.acquire(hw); in igc_write_phy_reg_gpy()
4155 hw->phy.ops.release(hw); in igc_write_phy_reg_gpy()
4183 ret_val = hw->phy.ops.acquire(hw); in igc_read_phy_reg_gpy()
4189 hw->phy.ops.release(hw); in igc_read_phy_reg_gpy()
4367 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAC, dev_addr); in __igc_access_xmdio_reg()
4371 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAAD, address); in __igc_access_xmdio_reg()
4375 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAC, IGC_MMDAC_FUNC_DATA | in __igc_access_xmdio_reg()
4381 ret_val = hw->phy.ops.read_reg(hw, IGC_MMDAAD, data); in __igc_access_xmdio_reg()
4383 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAAD, *data); in __igc_access_xmdio_reg()
4388 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAC, 0); in __igc_access_xmdio_reg()