Lines Matching refs:f
2867 struct uac3_badd_profile *f, in uac3_badd_func_has_valid_channels() argument
2874 if (f->c_chmask < 0 && f->p_chmask < 0) { in uac3_badd_func_has_valid_channels()
2877 f->name); in uac3_badd_func_has_valid_channels()
2883 if ((f->c_chmask < 0 && !c_chmask) || in uac3_badd_func_has_valid_channels()
2884 (f->c_chmask >= 0 && f->c_chmask != c_chmask)) { in uac3_badd_func_has_valid_channels()
2886 f->name); in uac3_badd_func_has_valid_channels()
2889 if ((f->p_chmask < 0 && !p_chmask) || in uac3_badd_func_has_valid_channels()
2890 (f->p_chmask >= 0 && f->p_chmask != p_chmask)) { in uac3_badd_func_has_valid_channels()
2892 f->name); in uac3_badd_func_has_valid_channels()
2911 struct uac3_badd_profile *f; in snd_usb_mixer_controls_badd() local
2997 for (f = uac3_badd_profiles; f->name; f++) { in snd_usb_mixer_controls_badd()
2998 if (badd_profile == f->subclass) in snd_usb_mixer_controls_badd()
3001 if (!f->name) in snd_usb_mixer_controls_badd()
3003 if (!uac3_badd_func_has_valid_channels(mixer, f, c_chmask, p_chmask)) in snd_usb_mixer_controls_badd()
3005 st_chmask = f->st_chmask; in snd_usb_mixer_controls_badd()
3038 if (f->subclass == UAC3_FUNCTION_SUBCLASS_HEADSET_ADAPTER) { in snd_usb_mixer_controls_badd()