Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/e1000e/
Dnvm.c411 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, in e1000_read_pba_string_generic() argument
420 if (pba_num == NULL) { in e1000_read_pba_string_generic()
451 pba_num[0] = (nvm_data >> 12) & 0xF; in e1000_read_pba_string_generic()
452 pba_num[1] = (nvm_data >> 8) & 0xF; in e1000_read_pba_string_generic()
453 pba_num[2] = (nvm_data >> 4) & 0xF; in e1000_read_pba_string_generic()
454 pba_num[3] = nvm_data & 0xF; in e1000_read_pba_string_generic()
455 pba_num[4] = (pba_ptr >> 12) & 0xF; in e1000_read_pba_string_generic()
456 pba_num[5] = (pba_ptr >> 8) & 0xF; in e1000_read_pba_string_generic()
457 pba_num[6] = '-'; in e1000_read_pba_string_generic()
458 pba_num[7] = 0; in e1000_read_pba_string_generic()
[all …]
Dnvm.h11 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c491 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() argument
500 if (pba_num == NULL) { in ixgbe_read_pba_string_generic()
532 pba_num[0] = (data >> 12) & 0xF; in ixgbe_read_pba_string_generic()
533 pba_num[1] = (data >> 8) & 0xF; in ixgbe_read_pba_string_generic()
534 pba_num[2] = (data >> 4) & 0xF; in ixgbe_read_pba_string_generic()
535 pba_num[3] = data & 0xF; in ixgbe_read_pba_string_generic()
536 pba_num[4] = (pba_ptr >> 12) & 0xF; in ixgbe_read_pba_string_generic()
537 pba_num[5] = (pba_ptr >> 8) & 0xF; in ixgbe_read_pba_string_generic()
538 pba_num[6] = '-'; in ixgbe_read_pba_string_generic()
539 pba_num[7] = 0; in ixgbe_read_pba_string_generic()
[all …]
Dixgbe_common.h16 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
/drivers/net/ethernet/intel/ice/
Dice_nvm.c333 ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size) in ice_read_pba_string() argument
375 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in ice_read_pba_string()
376 pba_num[(i * 2) + 1] = pba_word & 0xFF; in ice_read_pba_string()
378 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
Dice_nvm.h17 ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size);
/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h307 i40e_status i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num,
Di40e_common.c1085 i40e_status i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, in i40e_read_pba_string() argument
1128 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in i40e_read_pba_string()
1129 pba_num[(i * 2) + 1] = pba_word & 0xFF; in i40e_read_pba_string()
1131 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()