Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c497 u16 pba_ptr; in ixgbe_read_pba_string_generic() local
512 ret_val = hw->eeprom.ops.read(hw, IXGBE_PBANUM1_PTR, &pba_ptr); 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()
541 pba_num[8] = (pba_ptr >> 4) & 0xF; in ixgbe_read_pba_string_generic()
542 pba_num[9] = pba_ptr & 0xF; in ixgbe_read_pba_string_generic()
558 ret_val = hw->eeprom.ops.read(hw, pba_ptr, &length); in ixgbe_read_pba_string_generic()
576 pba_ptr++; in ixgbe_read_pba_string_generic()
580 ret_val = hw->eeprom.ops.read(hw, pba_ptr + offset, &data); in ixgbe_read_pba_string_generic()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_common.c981 u16 pba_ptr = 0; in i40e_read_pba_string() local
990 status = i40e_read_nvm_word(hw, I40E_SR_PBA_BLOCK_PTR, &pba_ptr); in i40e_read_pba_string()
996 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_read_pba_string()
1012 status = i40e_read_nvm_word(hw, (pba_ptr + 1) + i, &pba_word); in i40e_read_pba_string()