Lines Matching refs:iface

24 static void *find_uac_clock_desc(struct usb_host_interface *iface, int id,  in find_uac_clock_desc()  argument
29 while ((cs = snd_usb_find_csint_desc(iface->extra, iface->extralen, in find_uac_clock_desc()
75 static obj *name(struct usb_host_interface *iface, int id) \
77 return find_uac_clock_desc(iface, id, validator, type); \
410 static int set_sample_rate_v1(struct snd_usb_audio *chip, int iface, in set_sample_rate_v1() argument
436 iface, fmt->altsetting, rate, ep); in set_sample_rate_v1()
454 iface, fmt->altsetting, ep); in set_sample_rate_v1()
468 static int get_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in get_sample_rate_v2v3() argument
482 iface, altsetting, err); in get_sample_rate_v2v3()
489 static int set_sample_rate_v2v3(struct snd_usb_audio *chip, int iface, in set_sample_rate_v2v3() argument
519 prev_rate = get_sample_rate_v2v3(chip, iface, fmt->altsetting, clock); in set_sample_rate_v2v3()
547 iface, fmt->altsetting, rate, err); in set_sample_rate_v2v3()
551 cur_rate = get_sample_rate_v2v3(chip, iface, in set_sample_rate_v2v3()
561 iface, fmt->altsetting, rate, cur_rate); in set_sample_rate_v2v3()
572 usb_set_interface(dev, iface, 0); in set_sample_rate_v2v3()
574 usb_set_interface(dev, iface, fmt->altsetting); in set_sample_rate_v2v3()
585 int snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface, in snd_usb_init_sample_rate() argument
592 return set_sample_rate_v1(chip, iface, alts, fmt, rate); in snd_usb_init_sample_rate()
603 return set_sample_rate_v2v3(chip, iface, alts, fmt, rate); in snd_usb_init_sample_rate()