Lines Matching defs:uch
166 struct qat_uof_image *, struct uof_chunk_hdr *uch);
1827 struct uof_chunk_hdr *uch;
1830 uch = (struct uof_chunk_hdr *)(uoh + 1);
1831 for (i = 0; i < uoh->uoh_num_chunks; i++, uch++) {
1832 if (uch->uch_offset + uch->uch_size > sc->sc_aefw_uof.qafu_size)
1835 if (cur < uch && !strncmp(uch->uch_id, id, UOF_OBJ_ID_LEN))
1836 return uch;
2077 struct qat_uof_image *qui, struct uof_chunk_hdr *uch)
2082 size_t lim = uch->uch_offset + uch->uch_size, size;
2085 size = uch->uch_size;
2091 (struct uof_image *)(base + uch->uch_offset);
2175 struct uof_chunk_hdr *uch = NULL;
2180 uch = qat_aefw_uof_find_chunk(sc, UOF_IMAG, uch);
2181 if (uch == NULL)
2187 error = qat_aefw_uof_parse_image(sc, &sc->sc_aefw_uof.qafu_imgs[i], uch);
2208 struct uof_chunk_hdr *uch;
2280 uch = qat_aefw_uof_find_chunk(sc, UOF_STRT, NULL);
2281 if (uch != NULL) {
2284 (void *)(base + uch->uch_offset + hdr_size);
2285 sc->sc_aefw_uof.qafu_str_tab_size = uch->uch_size - hdr_size;
2289 uch = qat_aefw_uof_find_chunk(sc, UOF_IMEM, NULL);
2290 if (uch != NULL) {
2291 if (uch->uch_size < sizeof(struct uof_obj_table))
2294 uch->uch_offset))->uot_nentries;
2297 (struct uof_init_mem *)(base + uch->uch_offset +
2300 uch->uch_size - sizeof(struct uof_obj_table);
2304 uch = qat_aefw_uof_find_chunk(sc, UOF_MSEG, NULL);
2305 if (uch != NULL) {
2306 if (uch->uch_size < sizeof(struct uof_obj_table) +
2310 (struct uof_var_mem_seg *)(base + uch->uch_offset +