Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_common.h58 #define FIELD_LOC(field_type, field_h, field_l) field_type, field_h, field_l argument
60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \ argument
62 const field_type *_ptr = ptr; \
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \ argument
72 const field_type *_ptr = ptr; \
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \ argument
82 (val) ? _hr_reg_enable(ptr, field_type, field_h, field_l) : \
83 _hr_reg_clear(ptr, field_type, field_h, field_l); \
88 #define _hr_reg_write(ptr, field_type, field_h, field_l, val) \ argument
90 _hr_reg_clear(ptr, field_type, field_h, field_l); \
[all …]
/Linux-v6.1/scripts/gcc-plugins/
Drandomize_layout_plugin.c600 tree field_type, val_type; in check_bad_casts_in_constructor() local
612 field_type = TREE_TYPE(field); in check_bad_casts_in_constructor()
615 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
618 if (field_type == val_type) in check_bad_casts_in_constructor()
621 field_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(field_type)))); in check_bad_casts_in_constructor()
624 if (field_type == void_type_node) in check_bad_casts_in_constructor()
626 if (field_type == val_type) in check_bad_casts_in_constructor()
633 …MISMATCH(DECL_SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARI… in check_bad_casts_in_constructor()
/Linux-v6.1/drivers/acpi/acpica/
Dexprep.c390 if (info->field_type != ACPI_TYPE_LOCAL_INDEX_FIELD) { in acpi_ex_prep_field_value()
408 obj_desc = acpi_ut_create_internal_object(info->field_type); in acpi_ex_prep_field_value()
428 switch (info->field_type) { in acpi_ex_prep_field_value()
Ddsfield.c381 info->field_type, in acpi_ds_get_field_names()
516 info.field_type = ACPI_TYPE_LOCAL_REGION_FIELD; in acpi_ds_create_field()
733 info.field_type = ACPI_TYPE_LOCAL_BANK_FIELD; in acpi_ds_create_bank_field()
811 info.field_type = ACPI_TYPE_LOCAL_INDEX_FIELD; in acpi_ds_create_index_field()
Daclocal.h243 u8 field_type; member
/Linux-v6.1/kernel/trace/
Dtrace_events_synth.c602 static int check_field_version(const char *prefix, const char *field_type, in check_field_version() argument
622 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local
628 if (!strcmp(field_type, "unsigned")) { in parse_synth_field()
630 synth_err(SYNTH_ERR_INCOMPLETE_TYPE, errpos(field_type)); in parse_synth_field()
634 field_type = argv[1]; in parse_synth_field()
643 synth_err(SYNTH_ERR_INVALID_FIELD, errpos(field_type)); in parse_synth_field()
647 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field()
668 len = strlen(field_type) + 1; in parse_synth_field()
683 seq_buf_puts(&s, field_type); in parse_synth_field()
696 synth_err(SYNTH_ERR_INVALID_TYPE, errpos(field_type)); in parse_synth_field()
[all …]
/Linux-v6.1/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y86 static void process_field(int field_type, symbol_t *sym, int mask);
1421 process_field(int field_type, symbol_t *sym, int value)
1431 sym->type = field_type;
1434 if (field_type != ENUM_ENTRY) {
1435 if (field_type != MASK && value == 0) {
1446 } else if (sym->type != field_type) {
/Linux-v6.1/tools/perf/util/scripting-engines/
Dtrace-event-python.c201 static void define_value(enum tep_print_arg_type field_type, in define_value() argument
212 if (field_type == TEP_PRINT_SYMBOL) in define_value()
231 static void define_values(enum tep_print_arg_type field_type, in define_values() argument
236 define_value(field_type, ev_name, field_name, field->value, in define_values()
240 define_values(field_type, field->next, ev_name, field_name); in define_values()
243 static void define_field(enum tep_print_arg_type field_type, in define_field() argument
252 if (field_type == TEP_PRINT_SYMBOL) in define_field()
255 if (field_type == TEP_PRINT_FLAGS) in define_field()
264 if (field_type == TEP_PRINT_FLAGS) in define_field()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_flow.c1727 enum ice_flow_fld_match_type field_type, u16 val_loc, in ice_flow_set_fld_ext() argument
1733 if (field_type == ICE_FLOW_FLD_TYPE_RANGE) in ice_flow_set_fld_ext()
1736 seg->fields[fld].type = field_type; in ice_flow_set_fld_ext()
/Linux-v6.1/drivers/net/ethernet/sfc/
Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
36 .offset = ((((field_type *) 0) == \
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dethtool_common.c32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
36 .offset = ((((field_type *) 0) == \
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Dethtool.c31 #define EF4_ETHTOOL_STAT(stat_name, source_name, field, field_type, \ argument
35 .offset = ((((field_type *) 0) == \
/Linux-v6.1/kernel/bpf/
Dbtf.c3259 enum btf_field_type field_type, in btf_find_struct_field() argument
3282 switch (field_type) { in btf_find_struct_field()
3311 enum btf_field_type field_type, in btf_find_datasec_var() argument
3332 switch (field_type) { in btf_find_datasec_var()
3360 enum btf_field_type field_type, in btf_find_field() argument
3366 switch (field_type) { in btf_find_field()
3387 return btf_find_struct_field(btf, t, name, sz, align, field_type, info, info_cnt); in btf_find_field()
3389 return btf_find_datasec_var(btf, t, name, sz, align, field_type, info, info_cnt); in btf_find_field()