Searched refs:actionfield (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_debugfs.c | 120 const struct vcap_field *actionfield, in vcap_debugfs_show_rule_actionfield() argument 129 actionfield[action].width); in vcap_debugfs_show_rule_actionfield() 131 switch (actionfield[action].type) { in vcap_debugfs_show_rule_actionfield() 136 fmsk = (1 << actionfield[action].width) - 1; in vcap_debugfs_show_rule_actionfield() 150 bytes = DIV_ROUND_UP(actionfield[action].width, BITS_PER_BYTE); in vcap_debugfs_show_rule_actionfield() 217 const struct vcap_field *actionfield; in vcap_debugfs_show_rule_actionset() local 226 actionfield = vcap_actionfields(vctrl, admin->vtype, in vcap_debugfs_show_rule_actionset() 229 actionfield, in vcap_debugfs_show_rule_actionset()
|
D | vcap_api.c | 1415 const struct vcap_field *actionfield, in vcap_rule_alloc_actionfield() argument 1426 field->ctrl.type = actionfield->type; in vcap_rule_alloc_actionfield() 1427 vcap_copy_to_client_actionfield(ri, field, value, actionfield->width); in vcap_rule_alloc_actionfield() 1435 const struct vcap_field *actionfield; in vcap_decode_actionset() local 1453 actionfield = vcap_actionfields(vctrl, vt, actionset); in vcap_decode_actionset() 1457 if (actionfield[idx].width <= 0) in vcap_decode_actionset() 1460 memset(value, 0, DIV_ROUND_UP(actionfield[idx].width, 8)); in vcap_decode_actionset() 1462 actionfield[idx].offset); in vcap_decode_actionset() 1463 vcap_decode_field(actstream, &iter, actionfield[idx].width, in vcap_decode_actionset() 1466 if (vcap_bitarray_zero(actionfield[idx].width, value)) in vcap_decode_actionset() [all …]
|