Lines Matching defs:offset
43 * @error_offset: returns error offset
112 * @error_offset: returns error offset
267 u32 offset, info;
270 last, &offset, &info, NULL);
274 status, offset, info);
383 u32 offset, info, i;
406 &offset, &info, NULL);
411 status, offset, info);
926 * @offset: pointer to receive absolute offset, always zero for label sections
933 u32 *offset)
943 if (offset)
944 *offset = 0;
1178 * @offset: ptr to variable that receives the offset in the field vector table
1182 * enumerates offset field. "offset" is an index into the field vector table.
1185 ice_sw_fv_handler(u32 sect_type, void *section, u32 index, u32 *offset)
1194 if (offset)
1200 *offset = LE16_TO_CPU(fv_section->base_offset) + index;
1219 u32 offset;
1231 &offset, ice_sw_fv_handler);
1513 /* UDP tunnel will have UDP_OF protocol ID and VNI offset */
1545 u32 offset;
1549 &offset, ice_sw_fv_handler);
1554 prof_type = ice_get_sw_prof_type(hw, fv, offset);
1557 ice_set_bit((u16)offset, bm);
1571 * a given protocol ID and offset and returns a list of structures of type
1586 u32 offset;
1599 &offset, ice_sw_fv_handler);
1607 if (!ice_is_bit_set(bm, (u16)offset))
1626 fvl->profile_id = offset;
1781 buf->section_entry[sect_count].offset = CPU_TO_LE16(data_end);
2045 u16 offset, size;
2060 offset = LE16_TO_CPU(state->buf->section_entry[state->sect_idx].offset);
2061 if (offset < ICE_MIN_S_OFF || offset > ICE_MAX_S_OFF)
2069 if (offset + size > ICE_PKG_BUF_SIZE)
2077 LE16_TO_CPU(state->buf->section_entry[state->sect_idx].offset);
2087 * @offset: pointer to variable that receives the offset in the table (optional)
2100 * The offset parameter is optional, but should be used for sections that
2101 * contain an offset for each section table. For such cases, the section handler
2102 * function must return the appropriate offset + index to give the absolution
2103 * offset for each entry. For example, if the base for a section's header
2104 * indicates a base offset of 10, and the index for the entry is 2, then
2105 * section handler function should set the offset to 10 + 2 = 12.
2109 u32 sect_type, u32 *offset,
2111 u32 index, u32 *offset))
2133 offset);
2141 state->entry_idx, offset);
2152 * @offset: pointer to receive absolute offset, always 0 for boost TCAM sections
2158 ice_boost_tcam_handler(u32 sect_type, void *section, u32 index, u32 *offset)
2171 if (offset)
2172 *offset = 0;
2410 u16 i, size = 0, offset;
2501 offset = LE16_TO_CPU(section->section_entry[0].offset);
2508 if (offset + size > ICE_PKG_BUF_SIZE) {
2514 new_topo = ((u8 *)section) + offset;