Home
last modified time | relevance | path

Searched refs:val_type (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c38 int val_type; in value_type() local
43 val_type = STR_VAL; in value_type()
49 val_type = NUM_VAL; in value_type()
52 val_type = INVALID; in value_type()
55 return val_type; in value_type()
/openbmc/openbmc/poky/scripts/
H A Dbuildstats-diff117 def print_task_diff(bs1, bs2, val_type, min_val=0, min_absdiff=0, sort_by=('absdiff',), only_tasks=… argument
131 if 'time' in val_type:
136 elif 'bytes' in val_type and human_readable:
142 elif 'ops' in val_type and human_readable:
156 total += getattr(bs_task, val_type)
167 tasks_diff = diff_buildstats(bs1, bs2, val_type, min_val, min_absdiff, only_tasks)
179 val_type.upper() + '1', val_type.upper() + '2')]
204 print("\nCumulative {}:".format(val_type))
/openbmc/linux/sound/usb/
H A Dmixer_quirks.c43 int val_type; member
59 int val_type, in snd_create_std_mono_ctl_offset() argument
72 cval->val_type = val_type; in snd_create_std_mono_ctl_offset()
112 int val_type, in snd_create_std_mono_ctl() argument
117 val_type, 0 /* Offset */, name, tlv_callback); in snd_create_std_mono_ctl()
130 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table()
1137 const int val_type = USB_MIXER_S16; in snd_ftu_create_volume_ctls() local
1147 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1158 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1173 const int val_type = USB_MIXER_U8; in snd_ftu_create_effect_volume_ctl() local
[all …]
H A Dmixer.c212 switch (cval->val_type) { in convert_signed_value()
242 switch (cval->val_type) { in convert_bytes_value()
282 static int uac2_ctl_value_size(int val_type) in uac2_ctl_value_size() argument
284 switch (val_type) { in uac2_ctl_value_size()
312 int val_len = cval->val_type >= USB_MIXER_S16 ? 2 : 1; in get_ctl_value_v1()
335 request, validx, idx, cval->val_type); in get_ctl_value_v1()
353 val_size = uac2_ctl_value_size(cval->val_type); in get_ctl_value_v2()
377 request, validx, idx, cval->val_type); in get_ctl_value_v2()
468 val_len = cval->val_type >= USB_MIXER_S16 ? 2 : 1; in snd_usb_mixer_set_ctl_value()
470 val_len = uac2_ctl_value_size(cval->val_type); in snd_usb_mixer_set_ctl_value()
[all …]
H A Dmixer.h89 int val_type; member
H A Dmixer_scarlett.c540 int val_type, int channels, const char *name, in add_new_ctl() argument
558 elem->val_type = val_type; in add_new_ctl()
H A Dmixer_us16x08.c1044 int index, int val_type, int channels, in add_new_ctl() argument
1064 elem->val_type = val_type; in add_new_ctl()
H A Dmixer_scarlett2.c1843 elem->val_type = USB_MIXER_BESPOKEN; in scarlett2_add_new_ctl()
/openbmc/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c594 tree field_type, val_type; in check_bad_casts_in_constructor() local
607 val_type = TREE_TYPE(val); in check_bad_casts_in_constructor()
609 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
612 if (field_type == val_type) in check_bad_casts_in_constructor()
616 val_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(val_type)))); in check_bad_casts_in_constructor()
620 if (field_type == val_type) in check_bad_casts_in_constructor()
622 if (TREE_CODE(val_type) != RECORD_TYPE) in check_bad_casts_in_constructor()
625 if (!lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(val_type))) in check_bad_casts_in_constructor()
627 …SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/openbmc/qemu/tcg/
H A Dtcg.c2414 ts->val_type = val; in tcg_reg_alloc_start()
4197 if (ts->val_type == TEMP_VAL_REG) { in set_temp_val_reg()
4207 ts->val_type = TEMP_VAL_REG; in set_temp_val_reg()
4215 if (ts->val_type == TEMP_VAL_REG) { in set_temp_val_nonreg()
4220 ts->val_type = type; in set_temp_val_nonreg()
4267 switch (ts->val_type) { in temp_sync()
4434 switch (ts->val_type) { in temp_load()
4482 tcg_debug_assert(ts->val_type == TEMP_VAL_MEM || temp_readonly(ts)); in temp_save()
4506 tcg_debug_assert(ts->val_type != TEMP_VAL_REG in sync_globals()
4528 tcg_debug_assert(ts->val_type in tcg_reg_alloc_bb_end()
[all...]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_priv.h251 #define b53_build_op(type_op_size, val_type) \ argument
253 u8 reg, val_type val) \
/openbmc/linux/net/sched/
H A Dact_ct.c1194 void *val, int val_type, in tcf_ct_set_key_val() argument
1198 if (!tb[val_type]) in tcf_ct_set_key_val()
1200 nla_memcpy(val, tb[val_type], len); in tcf_ct_set_key_val()
1414 void *val, int val_type, in tcf_ct_dump_key_val() argument
1423 err = nla_put(skb, val_type, len, val); in tcf_ct_dump_key_val()
H A Dcls_flower.c790 void *val, int val_type, in fl_set_key_val() argument
793 if (!tb[val_type]) in fl_set_key_val()
795 nla_memcpy(val, tb[val_type], len); in fl_set_key_val()
2751 void *val, int val_type, in fl_dump_key_val() argument
2758 err = nla_put(skb, val_type, len, val); in fl_dump_key_val()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c1382 enum hugetlbfs_size_type val_type) in hugetlbfs_size_to_hpages() argument
1384 if (val_type == NO_SIZE) in hugetlbfs_size_to_hpages()
1387 if (val_type == SIZE_PERCENT) { in hugetlbfs_size_to_hpages()
/openbmc/qemu/include/tcg/
H A Dtcg.h380 TCGTempVal val_type:8; member
/openbmc/linux/
H A Dopengrok1.0.log[all...]