Lines Matching refs:extr
27 struct dpni_dist_extract *extr; in dpni_prepare_key_cfg() local
36 extr = &dpni_ext->extracts[i]; in dpni_prepare_key_cfg()
40 extr->prot = cfg->extracts[i].extract.from_hdr.prot; in dpni_prepare_key_cfg()
41 dpni_set_field(extr->efh_type, EFH_TYPE, in dpni_prepare_key_cfg()
43 extr->size = cfg->extracts[i].extract.from_hdr.size; in dpni_prepare_key_cfg()
44 extr->offset = cfg->extracts[i].extract.from_hdr.offset; in dpni_prepare_key_cfg()
45 extr->field = cpu_to_le32( in dpni_prepare_key_cfg()
47 extr->hdr_index = in dpni_prepare_key_cfg()
51 extr->size = cfg->extracts[i].extract.from_data.size; in dpni_prepare_key_cfg()
52 extr->offset = in dpni_prepare_key_cfg()
56 extr->size = cfg->extracts[i].extract.from_parse.size; in dpni_prepare_key_cfg()
57 extr->offset = in dpni_prepare_key_cfg()
64 extr->num_of_byte_masks = cfg->extracts[i].num_of_byte_masks; in dpni_prepare_key_cfg()
65 dpni_set_field(extr->extract_type, EXTRACT_TYPE, in dpni_prepare_key_cfg()
69 extr->masks[j].mask = cfg->extracts[i].masks[j].mask; in dpni_prepare_key_cfg()
70 extr->masks[j].offset = in dpni_prepare_key_cfg()