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.c492 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() argument
501 if (pba_num == NULL) { in ixgbe_read_pba_string_generic()
533 pba_num[0] = (data >> 12) & 0xF; in ixgbe_read_pba_string_generic()
534 pba_num[1] = (data >> 8) & 0xF; in ixgbe_read_pba_string_generic()
535 pba_num[2] = (data >> 4) & 0xF; in ixgbe_read_pba_string_generic()
536 pba_num[3] = data & 0xF; in ixgbe_read_pba_string_generic()
537 pba_num[4] = (pba_ptr >> 12) & 0xF; in ixgbe_read_pba_string_generic()
538 pba_num[5] = (pba_ptr >> 8) & 0xF; in ixgbe_read_pba_string_generic()
539 pba_num[6] = '-'; in ixgbe_read_pba_string_generic()
540 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.h27 int ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size);
Dice_nvm.c503 int ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size) in ice_read_pba_string() argument
545 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in ice_read_pba_string()
546 pba_num[(i * 2) + 1] = pba_word & 0xFF; in ice_read_pba_string()
548 pba_num[(pba_size * 2)] = '\0'; in ice_read_pba_string()
/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h331 int i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, u32 pba_num_size);
Di40e_common.c828 int i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, in i40e_read_pba_string() argument
871 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in i40e_read_pba_string()
872 pba_num[(i * 2) + 1] = pba_word & 0xFF; in i40e_read_pba_string()
874 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()