Home | History | Annotate | Download | only in qat

Lines Matching defs:uch

162 		    struct qat_uof_image *, struct uof_chunk_hdr *uch);
1843 struct uof_chunk_hdr *uch;
1846 uch = (struct uof_chunk_hdr *)(uoh + 1);
1847 for (i = 0; i < uoh->uoh_num_chunks; i++, uch++) {
1848 if (uch->uch_offset + uch->uch_size > sc->sc_aefw_uof.qafu_size)
1851 if (cur < uch && !strncmp(uch->uch_id, id, UOF_OBJ_ID_LEN))
1852 return uch;
2117 struct qat_uof_image *qui, struct uof_chunk_hdr *uch)
2122 size_t lim = uch->uch_offset + uch->uch_size, size;
2125 size = uch->uch_size;
2131 (struct uof_image *)(base + uch->uch_offset);
2228 struct uof_chunk_hdr *uch = NULL;
2233 uch = qat_aefw_uof_find_chunk(sc, UOF_IMAG, uch);
2234 if (uch == NULL)
2240 error = qat_aefw_uof_parse_image(sc, &sc->sc_aefw_uof.qafu_imgs[i], uch);
2261 struct uof_chunk_hdr *uch;
2341 uch = qat_aefw_uof_find_chunk(sc, UOF_STRT, NULL);
2342 if (uch != NULL) {
2345 (void *)(base + uch->uch_offset + hdr_size);
2346 sc->sc_aefw_uof.qafu_str_tab_size = uch->uch_size - hdr_size;
2350 uch = qat_aefw_uof_find_chunk(sc, UOF_IMEM, NULL);
2351 if (uch != NULL) {
2352 if (uch->uch_size < sizeof(struct uof_obj_table))
2355 uch->uch_offset))->uot_nentries;
2358 (struct uof_init_mem *)(base + uch->uch_offset +
2361 uch->uch_size - sizeof(struct uof_obj_table);
2365 uch = qat_aefw_uof_find_chunk(sc, UOF_MSEG, NULL);
2366 if (uch != NULL) {
2367 if (uch->uch_size < sizeof(struct uof_obj_table) +
2371 (struct uof_var_mem_seg *)(base + uch->uch_offset +