Searched refs:pba_ptr (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.c | 416 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/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 496 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/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 578 u16 pba_ptr = 0; in i40e_get_pba_string() local 593 status = i40e_read_nvm_word(hw, I40E_SR_PBA_BLOCK_PTR, &pba_ptr); in i40e_get_pba_string() 599 status = i40e_read_nvm_word(hw, pba_ptr, &pba_size); in i40e_get_pba_string() 609 pba_ptr++; in i40e_get_pba_string() 621 status = i40e_read_nvm_word(hw, pba_ptr + i, &pba_word); in i40e_get_pba_string()
|