Lines Matching refs:num_names
537 int num_names; in ak4xxx_capture_num_inputs() local
541 num_names = 0; in ak4xxx_capture_num_inputs()
542 while (num_names < AK5365_NUM_INPUTS && input_names[num_names]) in ak4xxx_capture_num_inputs()
543 ++num_names; in ak4xxx_capture_num_inputs()
544 return num_names; in ak4xxx_capture_num_inputs()
552 unsigned int num_names; in ak4xxx_capture_source_info() local
554 num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_info()
555 if (!num_names) in ak4xxx_capture_source_info()
557 return snd_ctl_enum_info(uinfo, 1, num_names, in ak4xxx_capture_source_info()
584 int num_names = ak4xxx_capture_num_inputs(ak, mixer_ch); in ak4xxx_capture_source_put() local
586 if (ucontrol->value.enumerated.item[0] >= num_names) in ak4xxx_capture_source_put()