Lines Matching refs:ops
21 if (hw->mac.ops.init_params) { in igc_init_mac_params()
22 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params()
47 if (hw->nvm.ops.init_params) { in igc_init_nvm_params()
48 ret_val = hw->nvm.ops.init_params(hw); in igc_init_nvm_params()
73 if (hw->phy.ops.init_params) { in igc_init_phy_params()
74 ret_val = hw->phy.ops.init_params(hw); in igc_init_phy_params()
214 if (hw->mac.ops.get_bus_info) in igc_get_bus_info()
215 return hw->mac.ops.get_bus_info(hw); in igc_get_bus_info()
229 if (hw->mac.ops.clear_vfta) in igc_clear_vfta()
230 hw->mac.ops.clear_vfta(hw); in igc_clear_vfta()
244 if (hw->mac.ops.write_vfta) in igc_write_vfta()
245 hw->mac.ops.write_vfta(hw, offset, value); in igc_write_vfta()
260 if (hw->mac.ops.update_mc_addr_list) in igc_update_mc_addr_list()
261 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list, in igc_update_mc_addr_list()
288 if (hw->mac.ops.check_for_link) in igc_check_for_link()
289 return hw->mac.ops.check_for_link(hw); in igc_check_for_link()
303 if (hw->mac.ops.reset_hw) in igc_reset_hw()
304 return hw->mac.ops.reset_hw(hw); in igc_reset_hw()
318 if (hw->mac.ops.init_hw) in igc_init_hw()
319 return hw->mac.ops.init_hw(hw); in igc_init_hw()
334 if (hw->mac.ops.setup_link) in igc_setup_link()
335 return hw->mac.ops.setup_link(hw); in igc_setup_link()
352 if (hw->mac.ops.get_link_up_info) in igc_get_speed_and_duplex()
353 return hw->mac.ops.get_link_up_info(hw, speed, duplex); in igc_get_speed_and_duplex()
380 if (hw->mac.ops.config_collision_dist) in igc_config_collision_dist()
381 hw->mac.ops.config_collision_dist(hw); in igc_config_collision_dist()
394 if (hw->mac.ops.rar_set) in igc_rar_set()
395 return hw->mac.ops.rar_set(hw, addr, index); in igc_rar_set()
408 if (hw->mac.ops.validate_mdi_setting) in igc_validate_mdi_setting()
409 return hw->mac.ops.validate_mdi_setting(hw); in igc_validate_mdi_setting()
437 if (hw->phy.ops.check_reset_block) in igc_check_reset_block()
438 return hw->phy.ops.check_reset_block(hw); in igc_check_reset_block()
454 if (hw->phy.ops.read_reg) in igc_read_phy_reg()
455 return hw->phy.ops.read_reg(hw, offset, data); in igc_read_phy_reg()
471 if (hw->phy.ops.write_reg) in igc_write_phy_reg()
472 return hw->phy.ops.write_reg(hw, offset, data); in igc_write_phy_reg()
486 if (hw->phy.ops.release) in igc_release_phy()
487 hw->phy.ops.release(hw); in igc_release_phy()
499 if (hw->phy.ops.acquire) in igc_acquire_phy()
500 return hw->phy.ops.acquire(hw); in igc_acquire_phy()
515 if (hw->phy.ops.get_info) in igc_get_phy_info()
516 return hw->phy.ops.get_info(hw); in igc_get_phy_info()
530 if (hw->phy.ops.reset) in igc_phy_hw_reset()
531 return hw->phy.ops.reset(hw); in igc_phy_hw_reset()
552 if (hw->phy.ops.set_d0_lplu_state) in igc_set_d0_lplu_state()
553 return hw->phy.ops.set_d0_lplu_state(hw, active); in igc_set_d0_lplu_state()
574 if (hw->phy.ops.set_d3_lplu_state) in igc_set_d3_lplu_state()
575 return hw->phy.ops.set_d3_lplu_state(hw, active); in igc_set_d3_lplu_state()
590 if (hw->mac.ops.read_mac_addr) in igc_read_mac_addr()
591 return hw->mac.ops.read_mac_addr(hw); in igc_read_mac_addr()
621 if (hw->nvm.ops.validate) in igc_validate_nvm_checksum()
622 return hw->nvm.ops.validate(hw); in igc_validate_nvm_checksum()
636 if (hw->nvm.ops.update) in igc_update_nvm_checksum()
637 return hw->nvm.ops.update(hw); in igc_update_nvm_checksum()
651 if (hw->nvm.ops.reload) in igc_reload_nvm()
652 hw->nvm.ops.reload(hw); in igc_reload_nvm()
667 if (hw->nvm.ops.read) in igc_read_nvm()
668 return hw->nvm.ops.read(hw, offset, words, data); in igc_read_nvm()
685 if (hw->nvm.ops.write) in igc_write_nvm()
686 return hw->nvm.ops.write(hw, offset, words, data); in igc_write_nvm()
700 if (hw->phy.ops.power_up) in igc_power_up_phy()
701 hw->phy.ops.power_up(hw); in igc_power_up_phy()
715 if (hw->phy.ops.power_down) in igc_power_down_phy()
716 hw->phy.ops.power_down(hw); in igc_power_down_phy()