• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/ixgbe/

Lines Matching refs:u16

47 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
48 u16 count);
49 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
56 u16 *san_mac_offset);
57 static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
58 u16 words, u16 *data);
59 static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
60 u16 words, u16 *data);
62 u16 offset);
240 u16 reg_cu = 0;
400 u16 device_caps;
532 u16 i = 0;
649 u16 data;
650 u16 pba_ptr;
651 u16 offset;
652 u16 length;
758 u16 data;
794 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
795 u32 eeprom_buf_size, u16 max_pba_block_size,
799 u16 pba_block_size;
842 pba_block_size * sizeof(u16));
863 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
900 pba->pba_block[0] * sizeof(u16));
922 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
923 u32 eeprom_buf_size, u16 *pba_block_size)
926 u16 pba_word[2];
927 u16 length;
984 u16 i;
1007 void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status)
1059 u16 link_status;
1083 u16 ee_ctrl_4;
1116 u16 i;
1256 u16 eeprom_size;
1280 eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
1307 s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
1308 u16 words, u16 *data)
1311 u16 i, count;
1364 static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
1365 u16 words, u16 *data)
1368 u16 word;
1369 u16 page_size;
1370 u16 i;
1407 ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
1446 s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
1474 s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
1475 u16 words, u16 *data)
1478 u16 i, count;
1523 static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
1524 u16 words, u16 *data)
1527 u16 word_in;
1529 u16 i;
1557 ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
1580 s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
1581 u16 *data)
1609 s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
1610 u16 words, u16 *data)
1661 u16 offset)
1663 u16 data[IXGBE_EEPROM_PAGE_SIZE_MAX];
1665 u16 i;
1703 s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data)
1717 s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
1718 u16 words, u16 *data)
1722 u16 i;
1772 s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
1986 u16 i;
2049 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
2050 u16 count)
2105 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count)
2109 u16 data = 0;
2216 u16 i;
2217 u16 j;
2218 u16 checksum = 0;
2219 u16 length = 0;
2220 u16 pointer = 0;
2221 u16 word = 0;
2262 checksum = (u16)IXGBE_EEPROM_SUM - checksum;
2276 u16 *checksum_val)
2279 u16 checksum;
2280 u16 read_checksum = 0;
2298 checksum = (u16)(status & 0xffff);
2326 u16 checksum;
2344 checksum = (u16)(status & 0xffff);
2662 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
2665 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
2668 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
2671 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
3083 u16 technology_ability_reg = 0;
3084 u16 lp_technology_ability_reg = 0;
3225 u16 value;
3557 u16 *san_mac_offset)
3590 u16 san_mac_data, san_mac_offset;
3644 u16 san_mac_data, san_mac_offset;
3661 san_mac_data = (u16)((u16)(san_mac_addr[i * 2 + 1]) << 8);
3662 san_mac_data |= (u16)(san_mac_addr[i * 2]);
3677 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw)
3679 u16 msix_count = 1;
3680 u16 max_msix_count;
3681 u16 pcie_offset;
4283 s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
4284 u16 *wwpn_prefix)
4286 u16 offset, caps;
4287 u16 alt_san_mac_blk_offset;
4338 s32 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs)
4340 u16 offset, caps, flags;
4436 s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps)
4514 u16 dword_len;
4593 u16 buf_len;
4637 buf_len = (((u16)(resp->cmd_or_resp.ret_status) << 3)
4683 u8 build, u8 sub, u16 len,
4798 u16 value;
5107 u16 offset, eeprom_cfg_blkh, eeprom_cfg_blkl;
5145 u16 rel_num, prod_ver, mod_len, cap, offset;
5187 u16 etk_id_l, etk_id_h;