crypto/dpaa_sec: support authonly and chain with raw API
[dpdk.git] / drivers / net / ngbe / base / ngbe_eeprom.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018-2021 Beijing WangXun Technology Co., Ltd.
3  * Copyright(c) 2010-2017 Intel Corporation
4  */
5
6 #ifndef _NGBE_EEPROM_H_
7 #define _NGBE_EEPROM_H_
8
9 #define NGBE_CALSUM_CAP_STATUS         0x10224
10 #define NGBE_EEPROM_VERSION_STORE_REG  0x1022C
11
12 s32 ngbe_init_eeprom_params(struct ngbe_hw *hw);
13 s32 ngbe_validate_eeprom_checksum_em(struct ngbe_hw *hw, u16 *checksum_val);
14 s32 ngbe_get_eeprom_semaphore(struct ngbe_hw *hw);
15 void ngbe_release_eeprom_semaphore(struct ngbe_hw *hw);
16
17 #endif /* _NGBE_EEPROM_H_ */