Home
last modified time | relevance | path

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

/Linux-v5.10/sound/usb/
Dmixer_quirks.c42 int val_type; member
58 int val_type, in snd_create_std_mono_ctl_offset() argument
71 cval->val_type = val_type; in snd_create_std_mono_ctl_offset()
111 int val_type, in snd_create_std_mono_ctl() argument
116 val_type, 0 /* Offset */, name, tlv_callback); in snd_create_std_mono_ctl()
129 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table()
995 const int val_type = USB_MIXER_S16; in snd_ftu_create_volume_ctls() local
1005 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1016 cmask, val_type, name, in snd_ftu_create_volume_ctls()
1031 const int val_type = USB_MIXER_U8; in snd_ftu_create_effect_volume_ctl() local
[all …]
Dmixer.c205 switch (cval->val_type) { in convert_signed_value()
235 switch (cval->val_type) { in convert_bytes_value()
275 static int uac2_ctl_value_size(int val_type) in uac2_ctl_value_size() argument
277 switch (val_type) { in uac2_ctl_value_size()
305 int val_len = cval->val_type >= USB_MIXER_S16 ? 2 : 1; in get_ctl_value_v1()
328 request, validx, idx, cval->val_type); in get_ctl_value_v1()
346 val_size = uac2_ctl_value_size(cval->val_type); in get_ctl_value_v2()
372 request, validx, idx, cval->val_type); in get_ctl_value_v2()
463 val_len = cval->val_type >= USB_MIXER_S16 ? 2 : 1; in snd_usb_mixer_set_ctl_value()
465 val_len = uac2_ctl_value_size(cval->val_type); in snd_usb_mixer_set_ctl_value()
[all …]
Dmixer.h88 int val_type; member
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()
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()
/Linux-v5.10/scripts/gcc-plugins/
Drandomize_layout_plugin.c622 tree field_type, val_type; in check_bad_casts_in_constructor() local
635 val_type = TREE_TYPE(val); in check_bad_casts_in_constructor()
637 if (TREE_CODE(field_type) != POINTER_TYPE || TREE_CODE(val_type) != POINTER_TYPE) in check_bad_casts_in_constructor()
640 if (field_type == val_type) in check_bad_casts_in_constructor()
644 val_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(val_type)))); in check_bad_casts_in_constructor()
648 if (field_type == val_type) in check_bad_casts_in_constructor()
650 if (TREE_CODE(val_type) != RECORD_TYPE) in check_bad_casts_in_constructor()
653 if (!lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(val_type))) in check_bad_casts_in_constructor()
655 …SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARIANT(val_type)); in check_bad_casts_in_constructor()
/Linux-v5.10/drivers/net/dsa/b53/
Db53_priv.h233 #define b53_build_op(type_op_size, val_type) \ argument
235 u8 reg, val_type val) \
/Linux-v5.10/net/sched/
Dact_ct.c1120 void *val, int val_type, in tcf_ct_set_key_val() argument
1124 if (!tb[val_type]) in tcf_ct_set_key_val()
1126 nla_memcpy(val, tb[val_type], len); in tcf_ct_set_key_val()
1320 void *val, int val_type, in tcf_ct_dump_key_val() argument
1329 err = nla_put(skb, val_type, len, val); in tcf_ct_dump_key_val()
Dcls_flower.c745 void *val, int val_type, in fl_set_key_val() argument
748 if (!tb[val_type]) in fl_set_key_val()
750 nla_memcpy(val, tb[val_type], len); in fl_set_key_val()
2352 void *val, int val_type, in fl_dump_key_val() argument
2359 err = nla_put(skb, val_type, len, val); in fl_dump_key_val()
/Linux-v5.10/fs/hugetlbfs/
Dinode.c1208 enum hugetlbfs_size_type val_type) in hugetlbfs_size_to_hpages() argument
1210 if (val_type == NO_SIZE) in hugetlbfs_size_to_hpages()
1213 if (val_type == SIZE_PERCENT) { in hugetlbfs_size_to_hpages()