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/sound/usb/
H A Dmixer_quirks.c44 int val_type;
60 int val_type, in snd_create_std_mono_ctl_offset()
73 cval->val_type = val_type; in snd_create_std_mono_ctl_offset()
113 int val_type, in snd_create_std_mono_ctl()
118 val_type, 0 /* Offset */, name, tlv_callback); in snd_create_std_mono_ctl()
131 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table()
1138 const int val_type = USB_MIXER_S16; in snd_ftu_create_volume_ctls()
1148 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1159 cmask, val_type, nam in snd_ftu_create_volume_ctls()
43 int val_type; global() member
59 snd_create_std_mono_ctl_offset(struct usb_mixer_interface * mixer,unsigned int unitid,unsigned int control,unsigned int cmask,int val_type,unsigned int idx_off,const char * name,snd_kcontrol_tlv_rw_t * tlv_callback) snd_create_std_mono_ctl_offset() argument
112 snd_create_std_mono_ctl(struct usb_mixer_interface * mixer,unsigned int unitid,unsigned int control,unsigned int cmask,int val_type,const char * name,snd_kcontrol_tlv_rw_t * tlv_callback) snd_create_std_mono_ctl() argument
1137 const int val_type = USB_MIXER_S16; snd_ftu_create_volume_ctls() local
1173 const int val_type = USB_MIXER_U8; snd_ftu_create_effect_volume_ctl() local
1186 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_duration_ctl() local
1199 const int val_type = USB_MIXER_U8; snd_ftu_create_effect_feedback_ctl() local
1214 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_return_ctls() local
1238 const int val_type = USB_MIXER_S16; snd_ftu_create_effect_send_ctls() local
1329 const int val_type = USB_MIXER_S16; snd_c400_create_vol_ctls() local
1373 const int val_type = USB_MIXER_U8; snd_c400_create_effect_volume_ctl() local
1386 const int val_type = USB_MIXER_S16; snd_c400_create_effect_duration_ctl() local
1399 const int val_type = USB_MIXER_U8; snd_c400_create_effect_feedback_ctl() local
1416 const int val_type = USB_MIXER_S16; snd_c400_create_effect_vol_ctls() local
1461 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()
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()
2363 int val_type; global() member
[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.c3168 elem->val_type = USB_MIXER_BESPOKEN; in scarlett2_add_new_ctl()
/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c590 tree field_type, val_type; in check_bad_casts_in_constructor() local
603 val_type = TREE_TYPE(val); in check_bad_casts_in_constructor()
605 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
608 if (field_type == val_type) in check_bad_casts_in_constructor()
612 val_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(val_type)))); in check_bad_casts_in_constructor()
616 if (field_type == val_type) in check_bad_casts_in_constructor()
618 if (TREE_CODE(val_type) != RECORD_TYPE) in check_bad_casts_in_constructor()
621 if (!lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(val_type))) in check_bad_casts_in_constructor()
623 …SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/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) \
/linux/net/sched/
H A Dact_ct.c1215 void *val, int val_type, in tcf_ct_set_key_val() argument
1219 if (!tb[val_type]) in tcf_ct_set_key_val()
1221 nla_memcpy(val, tb[val_type], len); in tcf_ct_set_key_val()
1445 void *val, int val_type, in tcf_ct_dump_key_val() argument
1454 err = nla_put(skb, val_type, len, val); in tcf_ct_dump_key_val()
H A Dcls_flower.c814 void *val, int val_type, in fl_set_key_val() argument
817 if (!tb[val_type]) in fl_set_key_val()
819 nla_memcpy(val, tb[val_type], len); in fl_set_key_val()
2881 void *val, int val_type, in fl_dump_key_val() argument
2888 err = nla_put(skb, val_type, len, val); in fl_dump_key_val()
/linux/fs/hugetlbfs/
H A Dinode.c1344 enum hugetlbfs_size_type val_type) in hugetlbfs_size_to_hpages() argument
1346 if (val_type == NO_SIZE) in hugetlbfs_size_to_hpages()
1349 if (val_type == SIZE_PERCENT) { in hugetlbfs_size_to_hpages()