1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001-2021 Intel Corporation
5 #ifndef _ICE_PARSER_UTIL_H_
6 #define _ICE_PARSER_UTIL_H_
9 #include "ice_metainit.h"
11 struct ice_pkg_sect_hdr {
16 void *ice_parser_sect_item_get(u32 sect_type, void *section,
17 u32 index, u32 *offset);
19 void *ice_parser_create_table(struct ice_hw *hw, u32 sect_type,
20 u32 item_size, u32 length,
21 void *(*handler)(u32 sect_type, void *section,
22 u32 index, u32 *offset),
23 void (*parse_item)(struct ice_hw *hw, u16 idx,
24 void *item, void *data,
26 #endif /* _ICE_PARSER_UTIL_H_ */