Home
last modified time | relevance | path

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

/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()
/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c574 tree field_type, val_type; in check_bad_casts_in_constructor() local
587 val_type = TREE_TYPE(val); in check_bad_casts_in_constructor()
589 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
592 if (field_type == val_type) in check_bad_casts_in_constructor()
596 val_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(val_type)))); in check_bad_casts_in_constructor()
600 if (field_type == val_type) in check_bad_casts_in_constructor()
602 if (TREE_CODE(val_type) != RECORD_TYPE) in check_bad_casts_in_constructor()
605 if (!lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(val_type))) in check_bad_casts_in_constructor()
607 …SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/linux/sound/usb/
H A Dmixer_quirks.c46 int val_type; member
62 int val_type, in snd_create_std_mono_ctl_offset() argument
75 cval->val_type = val_type; in snd_create_std_mono_ctl_offset()
116 int val_type, in snd_create_std_mono_ctl() argument
121 val_type, 0 /* Offset */, in snd_create_std_mono_ctl()
135 t->cmask, t->val_type, t->name, in snd_create_std_mono_table()
735 mei->info.val_type = USB_MIXER_BOOLEAN; in snd_dualsense_jack_create()
1398 const int val_type = USB_MIXER_S16; in snd_ftu_create_volume_ctls()
1408 cmask, val_type, nam in snd_ftu_create_effect_volume_ctl()
1374 const int val_type = USB_MIXER_S16; snd_ftu_create_volume_ctls() local
1410 const int val_type = USB_MIXER_U8; snd_ftu_create_effect_volume_ctl() local
1423 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_duration_ctl() local
1436 const int val_type = USB_MIXER_U8; snd_ftu_create_effect_feedback_ctl() local
1451 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_return_ctls() local
1475 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_send_ctls() local
1568 const int val_type = USB_MIXER_S16; snd_c400_create_vol_ctls() local
1612 const int val_type = USB_MIXER_U8; snd_c400_create_effect_volume_ctl() local
1625 const int val_type = USB_MIXER_S16; snd_c400_create_effect_duration_ctl() local
1638 const int val_type = USB_MIXER_U8; snd_c400_create_effect_feedback_ctl() local
1655 const int val_type = USB_MIXER_S16; snd_c400_create_effect_vol_ctls() local
1700 const int val_type = USB_MIXER_S16; snd_c400_create_effect_ret_vol_ctls() 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()
334 request, validx, idx, cval->val_type); in get_ctl_value_v1()
348 val_size = uac2_ctl_value_size(cval->val_type); in get_ctl_value_v2()
374 request, validx, idx, cval->val_type); in get_ctl_value_v2()
470 val_len = cval->val_type >= USB_MIXER_S16 ? 2 : 1; in snd_usb_mixer_set_ctl_value()
472 val_len = uac2_ctl_value_size(cval->val_type); in snd_usb_mixer_set_ctl_value()
2525 int val_type; global() member
[all...]
H A Dmixer.h89 int val_type; member
H A Dmixer_scarlett.c815 int val_type, int channels, const char *name, in add_new_ctl()
833 elem->val_type = val_type; in add_new_ctl()
813 add_new_ctl(struct usb_mixer_interface * mixer,const struct snd_kcontrol_new * ncontrol,usb_mixer_elem_resume_func_t resume,int index,int offset,int num,int val_type,int channels,const char * name,const struct scarlett_mixer_elem_enum_info * opt,struct usb_mixer_elem_info ** elem_ret) add_new_ctl() argument
H A Dmixer_us16x08.c1077 int index, int val_type, int channels, in add_new_ctl()
1097 elem->val_type = val_type;
1051 add_new_ctl(struct usb_mixer_interface * mixer,const struct snd_kcontrol_new * ncontrol,int index,int val_type,int channels,const char * name,void * opt,bool do_private_free,struct usb_mixer_elem_info ** elem_ret) add_new_ctl() argument
H A Dfcp.c344 elem->val_type = USB_MIXER_BESPOKEN; in fcp_add_new_ctl()
H A Dmixer_scarlett2.c3443 elem->val_type = USB_MIXER_BESPOKEN; in scarlett2_update_autogain()
/linux/net/sched/
H A Dact_ct.c1221 void *val, int val_type, in tcf_ct_set_key_val()
1225 if (!tb[val_type]) in tcf_ct_set_key_val()
1227 nla_memcpy(val, tb[val_type], len); in tcf_ct_set_key_val()
1461 const void *val, int val_type, in tcf_ct_dump_key_val()
1470 err = nla_put(skb, val_type, len, val); in tcf_ct_dump_key_val()
1220 tcf_ct_set_key_val(struct nlattr ** tb,void * val,int val_type,void * mask,int mask_type,int len) tcf_ct_set_key_val() argument
1458 tcf_ct_dump_key_val(struct sk_buff * skb,const void * val,int val_type,const void * mask,int mask_type,int len) tcf_ct_dump_key_val() argument
H A Dcls_flower.c810 void *val, int val_type,
813 if (!tb[val_type]) in fl_set_key_val()
815 nla_memcpy(val, tb[val_type], len); in fl_set_key_val()
2880 void *val, int val_type, in fl_tmplt_reoffload()
2887 err = nla_put(skb, val_type, len, val); in fl_dump_key_val()
814 fl_set_key_val(struct nlattr ** tb,void * val,int val_type,void * mask,int mask_type,int len) fl_set_key_val() argument
2884 fl_dump_key_val(struct sk_buff * skb,void * val,int val_type,void * mask,int mask_type,int len) fl_dump_key_val() argument
/linux/fs/hugetlbfs/
H A Dinode.c1249 * (val_type == SIZE_STD) or percentage of the pool (val_type == SIZE_PERCENT).
1253 enum hugetlbfs_size_type val_type) in hugetlbfs_size_to_hpages() argument
1255 if (val_type == NO_SIZE) in hugetlbfs_size_to_hpages()
1258 if (val_type == SIZE_PERCENT) { in hugetlbfs_size_to_hpages()