Lines Matching refs:iface
42 static void *find_uac_clock_desc(struct usb_host_interface *iface, int id, in find_uac_clock_desc() argument
48 while ((cs = snd_usb_find_csint_desc(iface->extra, iface->extralen, in find_uac_clock_desc()
83 snd_usb_find_ctrl_interface(chip, fmt->iface); \
168 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in uac_clock_source_is_valid_quirk()
232 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in uac_clock_source_is_valid()
332 ret = uac_clock_selector_get_val(chip, clock_id, fmt->iface); in __uac_clock_find_source()
361 err = uac_clock_selector_set_val(chip, entity_id, cur, fmt->iface); in __uac_clock_find_source()
392 err = uac_clock_selector_set_val(chip, entity_id, i, fmt->iface); in __uac_clock_find_source()
462 fmt->iface, fmt->altsetting, rate, fmt->endpoint); in set_sample_rate_v1()
480 fmt->iface, fmt->altsetting, fmt->endpoint); in set_sample_rate_v1()
500 static int get_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in get_sample_rate_v2v3() argument
508 ctrl_intf = snd_usb_find_ctrl_interface(chip, iface); in get_sample_rate_v2v3()
516 iface, altsetting, err); in get_sample_rate_v2v3()
543 ctrl_intf = snd_usb_find_ctrl_interface(chip, fmt->iface); in snd_usb_set_sample_rate_v2v3()
568 return get_sample_rate_v2v3(chip, fmt->iface, fmt->altsetting, clock); in snd_usb_set_sample_rate_v2v3()
599 prev_rate = get_sample_rate_v2v3(chip, fmt->iface, fmt->altsetting, clock); in set_sample_rate_v2v3()
607 fmt->iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
617 fmt->iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
626 usb_set_interface(chip->dev, fmt->iface, fmt->altsetting); in set_sample_rate_v2v3()
643 fmt->iface, fmt->altsetting, rate, fmt->clock); in snd_usb_init_sample_rate()