| /drivers/net/ethernet/microchip/sparx5/lan969x/ |
| A D | lan969x_vcap_impl.c | 8 .vtype = VCAP_TYPE_IS0, /* CLM-0 */ 20 .vtype = VCAP_TYPE_IS0, /* CLM-1 */ 32 .vtype = VCAP_TYPE_IS0, /* CLM-2 */ 44 .vtype = VCAP_TYPE_IS2, /* IS2-0 */ 56 .vtype = VCAP_TYPE_IS2, /* IS2-1 */ 68 .vtype = VCAP_TYPE_ES0, 77 .vtype = VCAP_TYPE_ES2,
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_tc_flower.c | 13 switch (st->admin->vtype) { in lan966x_tc_is_known_etype() 113 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 116 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 191 if (st->admin->vtype != VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_cvlan_usage() 206 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_vlan_usage() 324 switch (admin->vtype) { in lan966x_tc_set_actionset() 355 switch (admin->vtype) { in lan966x_tc_add_rule_link_target() 399 if (admin->vtype == VCAP_TYPE_IS1 && to_admin->vtype == VCAP_TYPE_IS2) { in lan966x_tc_add_rule_link() 435 switch (admin->vtype) { in lan966x_tc_add_rule_counter() 484 if (admin->vtype != VCAP_TYPE_IS2) { in lan966x_tc_flower_add() [all …]
|
| A D | lan966x_vcap_impl.c | 21 enum vcap_type vtype; /* type of vcap */ member 30 .vtype = VCAP_TYPE_ES0, 38 .vtype = VCAP_TYPE_IS1, /* IS1-0 */ 47 .vtype = VCAP_TYPE_IS2, /* IS2-0 */ 285 switch (admin->vtype) { in lan966x_vcap_validate_keyset() 300 lan966x_vcaps[admin->vtype].name); in lan966x_vcap_validate_keyset() 371 switch (admin->vtype) { in lan966x_vcap_add_default_fields() 463 if (admin->vtype == VCAP_TYPE_ES0) in lan966x_vcap_cache_write() 505 if (admin->vtype == VCAP_TYPE_ES0) in lan966x_vcap_cache_read() 623 admin->vtype = cfg->vtype; in lan966x_vcap_admin_alloc() [all …]
|
| A D | lan966x_vcap_debugfs.c | 225 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info() 228 switch (admin->vtype) { in lan966x_vcap_port_info()
|
| /drivers/scsi/snic/ |
| A D | vnic_devcmd.h | 48 #define _CMDCF(dir, flags, vtype, nr) \ argument 51 ((vtype) << _CMD_VTYPESHIFT) | \ 53 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument 54 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_tc_flower.c | 368 switch (admin->vtype) { in sparx5_tc_add_rule_counter() 579 switch (admin->vtype) { in sparx5_tc_set_actionset() 613 switch (admin->vtype) { in sparx5_tc_add_rule_link_target() 659 if (admin->vtype == VCAP_TYPE_IS0 && in sparx5_tc_add_rule_link() 843 switch (admin->vtype) { in sparx5_tc_action_trap() 888 switch (admin->vtype) { in sparx5_tc_action_vlan_pop() 920 switch (admin->vtype) { in sparx5_tc_action_vlan_modify() 991 switch (admin->vtype) { in sparx5_tc_action_vlan_push() 1050 if (admin->vtype != VCAP_TYPE_IS0 && admin->vtype != VCAP_TYPE_IS2) { in sparx5_tc_action_mirred() 1074 if (admin->vtype != VCAP_TYPE_IS0 && admin->vtype != VCAP_TYPE_IS2) { in sparx5_tc_action_redirect() [all …]
|
| A D | sparx5_vcap_impl.c | 110 .vtype = VCAP_TYPE_ES0, 119 .vtype = VCAP_TYPE_ES2, 197 switch (admin->vtype) { in _sparx5_vcap_range_init() 685 switch (admin->vtype) { in sparx5_vcap_get_port_keyset() 718 switch (admin->vtype) { in sparx5_vcap_is_known_etype() 762 switch (admin->vtype) { in sparx5_vcap_validate_keyset() 875 switch (admin->vtype) { in sparx5_vcap_add_default_fields() 1096 switch (admin->vtype) { in sparx5_vcap_cache_write() 1286 switch (admin->vtype) { in sparx5_vcap_cache_read() 1381 switch (admin->vtype) { in sparx5_vcap_update() [all …]
|
| A D | sparx5_vcap_impl.h | 49 enum vcap_type vtype; /* type of vcap */ member
|
| A D | sparx5_vcap_debugfs.c | 449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info() 451 switch (admin->vtype) { in sparx5_port_info()
|
| /drivers/scsi/fnic/ |
| A D | vnic_devcmd.h | 50 #define _CMDCF(dir, flags, vtype, nr) \ argument 53 ((vtype) << _CMD_VTYPESHIFT) | \ 55 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument 56 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
|
| /drivers/net/ethernet/microchip/vcap/ |
| A D | vcap_api.c | 372 enum vcap_type vt = admin->vtype; in vcap_addr_keysets() 1437 enum vcap_type vt = admin->vtype; in vcap_decode_actionset() 1481 enum vcap_type vt = admin->vtype; in vcap_decode_keyset() 1715 enum vcap_type vt = ri->admin->vtype; in vcap_add_type_keyfield() 1842 enum vcap_type vtype, in vcap_find_keyset_keyfield() argument 1873 enum vcap_type vtype; in _vcap_rule_find_keysets() local 1875 vtype = ri->admin->vtype; in _vcap_rule_find_keysets() 1920 enum vcap_type vtype, in vcap_find_actionset_actionfield() argument 1951 enum vcap_type vtype; in vcap_rule_find_actionsets() local 1953 vtype = ri->admin->vtype; in vcap_rule_find_actionsets() [all …]
|
| A D | vcap_api_kunit.c | 40 switch (admin->vtype) { in test_val_keyset() 585 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_keyfield_test() 645 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_max_keyfield_test() 831 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_keyset_test() 942 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_actionset_test() 1013 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_keyvalue_test() 1114 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_actionvalue_test() 1191 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_find_keyset_basic_test() 1238 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_find_keyset_failed_test() 1285 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_find_keyset_many_test() [all …]
|
| A D | vcap_api_debugfs.c | 173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype, in vcap_debugfs_show_keysets() 204 keyfield = vcap_keyfields(vctrl, admin->vtype, ri->data.keyset); in vcap_debugfs_show_rule_keyset() 226 actionfield = vcap_actionfields(vctrl, admin->vtype, in vcap_debugfs_show_rule_actionset() 270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info() 281 out->prf(out->dst, "vtype: %d\n", admin->vtype); in vcap_show_admin_info() 320 enum vcap_type vt = admin->vtype; in vcap_show_admin_raw() 449 sprintf(name, "raw_%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs() 458 sprintf(name, "%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
|
| A D | vcap_api_debugfs_kunit.c | 44 switch (admin->vtype) { in test_val_keyset() 72 __func__, __LINE__, admin->vtype); in test_val_keyset() 306 .vtype = VCAP_TYPE_IS2, in vcap_api_addr_keyset_test() 353 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_raw_test() 404 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_test() 495 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_rule_test()
|
| A D | vcap_api.h | 168 enum vcap_type vtype; /* type of vcap */ member
|
| A D | vcap_api_client.h | 279 vcap_select_min_rule_keyset(struct vcap_control *vctrl, enum vcap_type vtype,
|
| /drivers/net/ethernet/cisco/enic/ |
| A D | vnic_devcmd.h | 51 #define _CMDCF(dir, flags, vtype, nr) \ argument 54 ((vtype) << _CMD_VTYPESHIFT) | \ 56 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument 57 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
|