Lines Matching refs:uint16_t

139 static int e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t * speed,
140 uint16_t * duplex);
142 uint16_t * phy_data);
144 uint16_t phy_data);
150 static int32_t e1000_swfw_sync_acquire(struct e1000_hw *hw, uint16_t mask);
151 static void e1000_swfw_sync_release(struct e1000_hw *hw, uint16_t mask);
157 static int32_t e1000_read_eeprom(struct e1000_hw *hw, uint16_t offset,
158 uint16_t words,
159 uint16_t *data);
202 e1000_shift_out_ee_bits(struct e1000_hw *hw, uint16_t data, uint16_t count) in e1000_shift_out_ee_bits()
247 static uint16_t
248 e1000_shift_in_ee_bits(struct e1000_hw *hw, uint16_t count) in e1000_shift_in_ee_bits()
252 uint16_t data; in e1000_shift_in_ee_bits()
429 uint16_t eeprom_size; in e1000_init_eeprom_params()
589 eeprom_size = (uint16_t)((eecd & in e1000_init_eeprom_params()
644 uint16_t offset, in e1000_read_eeprom_eerd()
645 uint16_t words, in e1000_read_eeprom_eerd()
646 uint16_t *data) in e1000_read_eeprom_eerd()
731 uint16_t retry_count = 0; in e1000_spi_eeprom_ready()
774 e1000_read_eeprom(struct e1000_hw *hw, uint16_t offset, in e1000_read_eeprom()
775 uint16_t words, uint16_t *data) in e1000_read_eeprom()
816 uint16_t word_in; in e1000_read_eeprom()
833 e1000_shift_out_ee_bits(hw, (uint16_t)(offset*2), in e1000_read_eeprom()
852 e1000_shift_out_ee_bits(hw, (uint16_t)(offset + i), in e1000_read_eeprom()
880 static int32_t e1000_write_eeprom_srwr(struct e1000_hw *hw, uint16_t offset, in e1000_write_eeprom_srwr()
881 uint16_t words, uint16_t *data) in e1000_write_eeprom_srwr()
986 uint16_t checksum = 0; in e1000_update_eeprom_checksum_i210()
987 uint16_t i, nvm_data; in e1000_update_eeprom_checksum_i210()
1014 checksum = (uint16_t)EEPROM_SUM - checksum; in e1000_update_eeprom_checksum_i210()
1045 uint16_t i, checksum, checksum_reg, *buf; in e1000_validate_eeprom_checksum()
1066 checksum = ((uint16_t)EEPROM_SUM) - checksum; in e1000_validate_eeprom_checksum()
1095 uint16_t eeprom_data; in e1000_set_phy_mode()
1251 e1000_swfw_sync_acquire(struct e1000_hw *hw, uint16_t mask) in e1000_swfw_sync_acquire()
1286 static void e1000_swfw_sync_release(struct e1000_hw *hw, uint16_t mask) in e1000_swfw_sync_release()
1325 uint16_t offset; in e1000_read_mac_addr_from_eeprom()
1326 uint16_t eeprom_data; in e1000_read_mac_addr_from_eeprom()
1351 uint16_t offset, tmp; in e1000_read_mac_addr_from_regs()
1852 uint16_t pcix_cmd_word; in e1000_init_hw()
1853 uint16_t pcix_stat_hi_word; in e1000_init_hw()
1854 uint16_t cmd_mmrbc; in e1000_init_hw()
1855 uint16_t stat_mmrbc; in e1000_init_hw()
2051 uint16_t eeprom_data; in e1000_setup_link()
2327 uint16_t phy_data; in e1000_copper_link_preconfig()
2398 uint16_t phy_data; in e1000_set_d3_lplu_state()
2533 uint16_t phy_data; in e1000_set_d0_lplu_state()
2641 uint16_t phy_data; in e1000_copper_link_igp_setup()
2806 e1000_write_kmrn_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t data) in e1000_write_kmrn_reg()
2808 uint16_t swfw = E1000_SWFW_PHY0_SM; in e1000_write_kmrn_reg()
2827 e1000_read_kmrn_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t *data) in e1000_read_kmrn_reg()
2829 uint16_t swfw = E1000_SWFW_PHY0_SM; in e1000_read_kmrn_reg()
2849 *data = (uint16_t)reg_val; in e1000_read_kmrn_reg()
2863 uint16_t phy_data; in e1000_copper_link_ggp_setup()
3012 uint16_t phy_data; in e1000_copper_link_mgp_setup()
3115 uint16_t phy_data; in e1000_copper_link_autoneg()
3219 uint16_t i; in e1000_setup_copper_link()
3220 uint16_t phy_data; in e1000_setup_copper_link()
3221 uint16_t reg_data; in e1000_setup_copper_link()
3328 uint16_t mii_autoneg_adv_reg; in e1000_phy_setup_autoneg()
3329 uint16_t mii_1000t_ctrl_reg; in e1000_phy_setup_autoneg()
3510 uint16_t phy_data; in e1000_config_mac_to_phy()
3630 uint16_t mii_status_reg; in e1000_config_fc_after_link_up()
3631 uint16_t mii_nway_adv_reg; in e1000_config_fc_after_link_up()
3632 uint16_t mii_nway_lp_ability_reg; in e1000_config_fc_after_link_up()
3633 uint16_t speed; in e1000_config_fc_after_link_up()
3634 uint16_t duplex; in e1000_config_fc_after_link_up()
3849 uint16_t phy_data; in e1000_check_for_link()
3850 uint16_t lp_capability; in e1000_check_for_link()
4023 e1000_configure_kmrn_for_10_100(struct e1000_hw *hw, uint16_t duplex) in e1000_configure_kmrn_for_10_100()
4027 uint16_t reg_data; in e1000_configure_kmrn_for_10_100()
4062 uint16_t reg_data; in e1000_configure_kmrn_for_1000()
4098 e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t *speed, in e1000_get_speed_and_duplex()
4099 uint16_t *duplex) in e1000_get_speed_and_duplex()
4103 uint16_t phy_data; in e1000_get_speed_and_duplex()
4177 uint16_t i; in e1000_wait_autoneg()
4178 uint16_t phy_data; in e1000_wait_autoneg()
4250 e1000_shift_out_mdi_bits(struct e1000_hw *hw, uint32_t data, uint16_t count) in e1000_shift_out_mdi_bits()
4297 static uint16_t
4301 uint16_t data = 0; in e1000_shift_in_mdi_bits()
4350 e1000_read_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t * phy_data) in e1000_read_phy_reg()
4387 *phy_data = (uint16_t) mdic; in e1000_read_phy_reg()
4428 e1000_write_phy_reg(struct e1000_hw *hw, uint32_t reg_addr, uint16_t phy_data) in e1000_write_phy_reg()
4578 uint16_t swfw = E1000_SWFW_PHY0_SM; in e1000_phy_hw_reset()
4663 uint16_t phy_saved_data; in e1000_phy_init_script()
4721 uint16_t fused, fine, coarse; in e1000_phy_init_script()
4772 uint16_t phy_data; in e1000_phy_reset()
4881 uint16_t phy_id_high, phy_id_low; in e1000_detect_gig_phy()
5565 uint16_t data[3]; in e1000_write_hwaddr()