Home
last modified time | relevance | path

Searched refs:pba_num (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/io/e1000api/
H A De1000_nvm.c767 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, in e1000_read_pba_string_generic() argument
784 if (pba_num == NULL) { in e1000_read_pba_string_generic()
815 pba_num[0] = (nvm_data >> 12) & 0xF; in e1000_read_pba_string_generic()
816 pba_num[1] = (nvm_data >> 8) & 0xF; in e1000_read_pba_string_generic()
817 pba_num[2] = (nvm_data >> 4) & 0xF; in e1000_read_pba_string_generic()
818 pba_num[3] = nvm_data & 0xF; in e1000_read_pba_string_generic()
819 pba_num[4] = (pba_ptr >> 12) & 0xF; in e1000_read_pba_string_generic()
820 pba_num[5] = (pba_ptr >> 8) & 0xF; in e1000_read_pba_string_generic()
821 pba_num[6] = '-'; in e1000_read_pba_string_generic()
822 pba_num[7] = 0; in e1000_read_pba_string_generic()
[all …]
H A De1000_nvm.h53 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
H A De1000_api.h100 s32 e1000_read_pba_string(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size);
H A De1000_api.c1206 s32 e1000_read_pba_string(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size) in e1000_read_pba_string() argument
1208 return e1000_read_pba_string_generic(hw, pba_num, pba_num_size); in e1000_read_pba_string()
/titanic_50/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.c600 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() argument
611 if (pba_num == NULL) { in ixgbe_read_pba_string_generic()
643 pba_num[0] = (data >> 12) & 0xF; in ixgbe_read_pba_string_generic()
644 pba_num[1] = (data >> 8) & 0xF; in ixgbe_read_pba_string_generic()
645 pba_num[2] = (data >> 4) & 0xF; in ixgbe_read_pba_string_generic()
646 pba_num[3] = data & 0xF; in ixgbe_read_pba_string_generic()
647 pba_num[4] = (pba_ptr >> 12) & 0xF; in ixgbe_read_pba_string_generic()
648 pba_num[5] = (pba_ptr >> 8) & 0xF; in ixgbe_read_pba_string_generic()
649 pba_num[6] = '-'; in ixgbe_read_pba_string_generic()
650 pba_num[7] = 0; in ixgbe_read_pba_string_generic()
[all …]
H A Dixgbe_common.h59 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num);
60 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
H A Dixgbe_api.h63 s32 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num);
64 s32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size);
H A Dixgbe_api.c452 s32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) in ixgbe_read_pba_string() argument
454 return ixgbe_read_pba_string_generic(hw, pba_num, pba_num_size); in ixgbe_read_pba_string()
464 s32 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num) in ixgbe_read_pba_num() argument
466 return ixgbe_read_pba_num_generic(hw, pba_num); in ixgbe_read_pba_num()
/titanic_50/usr/src/uts/common/io/i40e/core/
H A Di40e_prototype.h427 enum i40e_status_code i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num,
H A Di40e_common.c1150 enum i40e_status_code i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, in i40e_read_pba_string() argument
1193 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in i40e_read_pba_string()
1194 pba_num[(i * 2) + 1] = pba_word & 0xFF; in i40e_read_pba_string()
1196 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()