Lines Matching refs:u16

123 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value)
136 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value)
190 u16 value;
263 u16 value = 0;
357 u32 dev_type, u16 *phy_data)
391 *phy_data = (u16)data;
404 u32 dev_type, u16 phy_data)
501 s32 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, u16 activity,
508 u16 retries = FW_PHY_ACT_RETRIES;
510 u16 i;
542 u16 fw_speed;
562 u16 phy_speeds;
563 u16 phy_id_lo;
565 u16 i;
630 u32 device_type, u16 *phy_data)
637 u32 device_type, u16 phy_data)
653 u16 reg, u16 *val)
669 u16 reg, u16 *val)
684 u8 addr, u16 reg, u16 val)
700 u8 addr, u16 reg, u16 val)
814 u16 phydata;
816 u16 i;
1194 u16 eeprom_size;
1203 eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
2140 u16 reg;
2227 u16 reg;
2745 u16 reg;
2810 u16 reg_slice, reg_val;
2907 u16 reg_phy_ext;
3138 u16 autoneg_status;
3177 u16 speed;
3305 s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, u16 *data)
3320 buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
3332 *data = (u16)IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG,
3350 u16 offset, u16 words, u16 *data)
3355 u16 words_to_read;
3399 data[current_word] = (u16)(value & 0xffff);
3404 data[current_word] = (u16)(value & 0xffff);
3424 s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
3425 u16 data)
3438 buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
3467 s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
3468 u16 data)
3496 u16 offset, u16 words, u16 *data)
3537 static s32 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr,
3538 u16 size, u16 *csum, u16 *buffer,
3541 u16 buf[256];
3543 u16 length, bufsz, i, start;
3544 u16 *local_buffer;
3606 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size)
3608 u16 eeprom_ptrs[IXGBE_EEPROM_LAST_WORD + 1];
3609 u16 *local_buffer;
3611 u16 checksum = 0;
3612 u16 pointer, i, size;
3676 checksum = (u16)IXGBE_EEPROM_SUM - checksum;
3700 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val)
3703 u16 checksum;
3704 u16 read_checksum = 0;
3722 checksum = (u16)(status & 0xffff);
3756 u16 checksum = 0;
3774 checksum = (u16)(status & 0xffff);
3820 u16 ext_ability = 0;
3958 u16 an_10g_cntl_reg, autoneg_reg, speed;
4065 u16 an_lp_status;
4067 u16 word = hw->eeprom.ctrl_word_3;
4558 u32 device_type, u16 *phy_data)
4586 u32 device_type, u16 phy_data)
4685 u16 i, autoneg_status = 0;
4742 u16 phy_data;
4767 u16 phy_data;
4801 u8 build, u8 sub, u16 len, const char *driver_ver)