Home
last modified time | relevance | path

Searched refs:pba_ptr (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/intel/e1000e/
Dnvm.c416 u16 pba_ptr; in e1000_read_pba_string_generic() local
431 ret_val = e1000_read_nvm(hw, NVM_PBA_OFFSET_1, 1, &pba_ptr); 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()
459 pba_num[8] = (pba_ptr >> 4) & 0xF; in e1000_read_pba_string_generic()
460 pba_num[9] = pba_ptr & 0xF; in e1000_read_pba_string_generic()
476 ret_val = e1000_read_nvm(hw, pba_ptr, 1, &length); in e1000_read_pba_string_generic()
493 pba_ptr++; in e1000_read_pba_string_generic()
497 ret_val = e1000_read_nvm(hw, pba_ptr + offset, 1, &nvm_data); in e1000_read_pba_string_generic()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c496 u16 pba_ptr; in ixgbe_read_pba_string_generic() local
511 ret_val = hw->eeprom.ops.read(hw, IXGBE_PBANUM1_PTR, &pba_ptr); 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()
540 pba_num[8] = (pba_ptr >> 4) & 0xF; in ixgbe_read_pba_string_generic()
541 pba_num[9] = pba_ptr & 0xF; in ixgbe_read_pba_string_generic()
557 ret_val = hw->eeprom.ops.read(hw, pba_ptr, &length); in ixgbe_read_pba_string_generic()
575 pba_ptr++; in ixgbe_read_pba_string_generic()
579 ret_val = hw->eeprom.ops.read(hw, pba_ptr + offset, &data); in ixgbe_read_pba_string_generic()
/drivers/net/ethernet/intel/i40e/
Di40e_common.c1091 u16 pba_ptr = 0; in i40e_read_pba_string() local
1100 status = i40e_read_nvm_word(hw, I40E_SR_PBA_BLOCK_PTR, &pba_ptr); in i40e_read_pba_string()
1106 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_read_pba_string()
1122 status = i40e_read_nvm_word(hw, (pba_ptr + 1) + i, &pba_word); in i40e_read_pba_string()