Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/e1000e/
Dnvm.c429 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, in e1000_read_pba_string_generic() argument
438 if (pba_num == NULL) { in e1000_read_pba_string_generic()
469 pba_num[0] = (nvm_data >> 12) & 0xF; in e1000_read_pba_string_generic()
470 pba_num[1] = (nvm_data >> 8) & 0xF; in e1000_read_pba_string_generic()
471 pba_num[2] = (nvm_data >> 4) & 0xF; in e1000_read_pba_string_generic()
472 pba_num[3] = nvm_data & 0xF; in e1000_read_pba_string_generic()
473 pba_num[4] = (pba_ptr >> 12) & 0xF; in e1000_read_pba_string_generic()
474 pba_num[5] = (pba_ptr >> 8) & 0xF; in e1000_read_pba_string_generic()
475 pba_num[6] = '-'; in e1000_read_pba_string_generic()
476 pba_num[7] = 0; in e1000_read_pba_string_generic()
[all …]
Dnvm.h29 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c493 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() argument
502 if (pba_num == NULL) { in ixgbe_read_pba_string_generic()
534 pba_num[0] = (data >> 12) & 0xF; in ixgbe_read_pba_string_generic()
535 pba_num[1] = (data >> 8) & 0xF; in ixgbe_read_pba_string_generic()
536 pba_num[2] = (data >> 4) & 0xF; in ixgbe_read_pba_string_generic()
537 pba_num[3] = data & 0xF; in ixgbe_read_pba_string_generic()
538 pba_num[4] = (pba_ptr >> 12) & 0xF; in ixgbe_read_pba_string_generic()
539 pba_num[5] = (pba_ptr >> 8) & 0xF; in ixgbe_read_pba_string_generic()
540 pba_num[6] = '-'; in ixgbe_read_pba_string_generic()
541 pba_num[7] = 0; in ixgbe_read_pba_string_generic()
[all …]
Dixgbe_common.h41 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h271 i40e_status i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num,
Di40e_common.c1126 i40e_status i40e_read_pba_string(struct i40e_hw *hw, u8 *pba_num, in i40e_read_pba_string() argument
1169 pba_num[(i * 2)] = (pba_word >> 8) & 0xFF; in i40e_read_pba_string()
1170 pba_num[(i * 2) + 1] = pba_word & 0xFF; in i40e_read_pba_string()
1172 pba_num[(pba_size * 2)] = '\0'; in i40e_read_pba_string()