Home
last modified time | relevance | path

Searched refs:pkg_hdr (Results 1 – 2 of 2) sorted by relevance

/src/sys/dev/ice/
H A Dice_ddp_common.c166 struct ice_pkg_hdr *pkg_hdr) in ice_find_seg_in_pkg() argument
171 pkg_hdr->pkg_format_ver.major, pkg_hdr->pkg_format_ver.minor, in ice_find_seg_in_pkg()
172 pkg_hdr->pkg_format_ver.update, in ice_find_seg_in_pkg()
173 pkg_hdr->pkg_format_ver.draft); in ice_find_seg_in_pkg()
176 for (i = 0; i < LE32_TO_CPU(pkg_hdr->seg_count); i++) { in ice_find_seg_in_pkg()
180 ((u8 *)pkg_hdr + LE32_TO_CPU(pkg_hdr->seg_offset[i])); in ice_find_seg_in_pkg()
195 ice_get_pkg_seg_by_idx(struct ice_pkg_hdr *pkg_hdr, u32 idx) in ice_get_pkg_seg_by_idx() argument
199 if (idx < LE32_TO_CPU(pkg_hdr->seg_count)) in ice_get_pkg_seg_by_idx()
201 ((u8 *)pkg_hdr + in ice_get_pkg_seg_by_idx()
202 LE32_TO_CPU(pkg_hdr->seg_offset[idx])); in ice_get_pkg_seg_by_idx()
[all …]
H A Dice_ddp_common.h444 struct ice_pkg_hdr *pkg_hdr);