ice_seg
ice_find_buf_table(struct ice_seg *ice_seg)
(ice_seg->device_table +
le32toh(ice_seg->device_table_count));
ice_pkg_enum_buf(struct ice_seg *ice_seg, struct ice_pkg_enum *state)
if (ice_seg) {
state->buf_table = ice_find_buf_table(ice_seg);
ice_pkg_advance_sect(struct ice_seg *ice_seg, struct ice_pkg_enum *state)
if (!ice_seg && !state->buf)
if (!ice_seg && state->buf)
state->buf = ice_pkg_enum_buf(ice_seg, state);
ice_pkg_enum_section(struct ice_seg *ice_seg, struct ice_pkg_enum *state,
if (ice_seg)
if (!ice_pkg_advance_sect(ice_seg, state))
ice_pkg_enum_section((struct ice_seg *)seg_hdr, &state,
struct ice_seg **seg)
*seg = (struct ice_seg *)ice_find_seg_in_pkg(hw, hw->pkg_seg_id,
ice_pkg_enum_entry(struct ice_seg *ice_seg, struct ice_pkg_enum *state,
if (ice_seg) {
if (!ice_pkg_enum_section(ice_seg, state, sect_type))
ice_enum_labels(struct ice_seg *ice_seg, uint32_t type,
label = (struct ice_label *)ice_pkg_enum_entry(ice_seg, state, type,
ice_find_boost_entry(struct ice_seg *ice_seg, uint16_t addr,
if (!ice_seg)
ice_pkg_enum_entry(ice_seg, &state,
ice_seg = NULL;
ice_init_pkg_hints(struct ice_hw *hw, struct ice_seg *ice_seg)
if (!ice_seg)
label_name = ice_enum_labels(ice_seg, ICE_SID_LBL_RXPARSER_TMEM, &state,
ice_find_boost_entry(ice_seg, hw->tnl.tbl[i].boost_addr,
struct ice_seg *seg;
seg = (struct ice_seg *)ice_get_pkg_seg_by_idx(pkg_hdr, idx);
ice_download_pkg_without_sig_seg(struct ice_hw *hw, struct ice_seg *ice_seg)
ice_seg->hdr.seg_format_ver.major,
ice_seg->hdr.seg_format_ver.minor,
ice_seg->hdr.seg_format_ver.update,
ice_seg->hdr.seg_format_ver.draft);
le32toh(ice_seg->hdr.seg_type),
le32toh(ice_seg->hdr.seg_size), ice_seg->hdr.seg_id);
ice_buf_tbl = ice_find_buf_table(ice_seg);
struct ice_seg *ice_seg)
state = ice_download_pkg_without_sig_seg(hw, ice_seg);
struct ice_seg *ice_seg;
ice_seg = hw->seg;
ice_pkg_enum_entry(ice_seg, &state, ICE_SID_FLD_VEC_SW,
ice_seg = NULL;
struct ice_seg *seg;
struct ice_seg *seg;