Searched refs:keyfield (Results 1 - 2 of 2) sorted by path

/linux-master/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1306 const struct vcap_field *keyfield,
1317 field->ctrl.type = keyfield->type;
1318 vcap_copy_to_client_keyfield(ri, field, value, mask, keyfield->width);
1480 const struct vcap_field *keyfield; local
1505 keyfield = vcap_keyfields(vctrl, vt, keyset);
1509 if (keyfield[idx].width <= 0)
1512 memset(mask, 0, DIV_ROUND_UP(keyfield[idx].width, 8));
1514 keyfield[idx].offset);
1515 vcap_decode_field(maskstream, &miter, keyfield[idx].width,
1518 if (vcap_bitarray_zero(keyfield[id
1305 vcap_rule_alloc_keyfield(struct vcap_rule_internal *ri, const struct vcap_field *keyfield, enum vcap_key_field key, u8 *value, u8 *mask) argument
[all...]
H A Dvcap_api_debugfs.c25 const struct vcap_field *keyfield,
33 keyfield[key].width);
35 switch (keyfield[key].type) {
51 u32 fmsk = (1 << keyfield[key].width) - 1;
53 if (keyfield[key].width == 32)
105 bytes = DIV_ROUND_UP(keyfield[key].width, BITS_PER_BYTE);
196 const struct vcap_field *keyfield; local
204 keyfield = vcap_keyfields(vctrl, admin->vtype, ri->data.keyset);
206 keyfield, &ckf->data);
22 vcap_debugfs_show_rule_keyfield(struct vcap_control *vctrl, struct vcap_output_print *out, enum vcap_key_field key, const struct vcap_field *keyfield, struct vcap_client_keyfield_data *data) argument

Completed in 191 milliseconds