Lines Matching refs:keyfield
1306 const struct vcap_field *keyfield, in vcap_rule_alloc_keyfield() argument
1317 field->ctrl.type = keyfield->type; in vcap_rule_alloc_keyfield()
1318 vcap_copy_to_client_keyfield(ri, field, value, mask, keyfield->width); in vcap_rule_alloc_keyfield()
1480 const struct vcap_field *keyfield; in vcap_decode_keyset() local
1505 keyfield = vcap_keyfields(vctrl, vt, keyset); in vcap_decode_keyset()
1509 if (keyfield[idx].width <= 0) in vcap_decode_keyset()
1512 memset(mask, 0, DIV_ROUND_UP(keyfield[idx].width, 8)); in vcap_decode_keyset()
1514 keyfield[idx].offset); in vcap_decode_keyset()
1515 vcap_decode_field(maskstream, &miter, keyfield[idx].width, in vcap_decode_keyset()
1518 if (vcap_bitarray_zero(keyfield[idx].width, mask)) in vcap_decode_keyset()
1521 memset(value, 0, DIV_ROUND_UP(keyfield[idx].width, 8)); in vcap_decode_keyset()
1523 keyfield[idx].offset); in vcap_decode_keyset()
1524 vcap_decode_field(keystream, &kiter, keyfield[idx].width, in vcap_decode_keyset()
1526 vcap_rule_alloc_keyfield(ri, &keyfield[idx], idx, value, mask); in vcap_decode_keyset()