Lines Matching refs:f_uac2_opts

152 struct f_uac2_opts *agdev_to_uac2_opts(struct audio_dev *agdev)  in agdev_to_uac2_opts()
154 return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); in agdev_to_uac2_opts()
366 struct f_uac2_opts *opts; in uac2_pcm_open()
372 opts = container_of(audio_dev->func.fi, struct f_uac2_opts, func_inst); in uac2_pcm_open()
450 struct f_uac2_opts *opts; in snd_uac2_probe()
455 opts = container_of(audio_dev->func.fi, struct f_uac2_opts, func_inst); in snd_uac2_probe()
978 static void set_ep_max_packet_size(const struct f_uac2_opts *uac2_opts, in set_ep_max_packet_size()
1010 struct f_uac2_opts *uac2_opts; in afunc_bind()
1014 uac2_opts = container_of(fn->fi, struct f_uac2_opts, func_inst); in afunc_bind()
1177 struct f_uac2_opts *opts = agdev_to_uac2_opts(agdev); in afunc_set_alt()
1285 struct f_uac2_opts *opts; in in_rq_cur()
1326 struct f_uac2_opts *opts; in in_rq_range()
1442 static inline struct f_uac2_opts *to_f_uac2_opts(struct config_item *item) in to_f_uac2_opts()
1444 return container_of(to_config_group(item), struct f_uac2_opts, in to_f_uac2_opts()
1448 CONFIGFS_ATTR_STRUCT(f_uac2_opts);
1449 CONFIGFS_ATTR_OPS(f_uac2_opts);
1453 struct f_uac2_opts *opts = to_f_uac2_opts(item); in f_uac2_attr_release()
1465 static ssize_t f_uac2_opts_##name##_show(struct f_uac2_opts *opts, \
1477 static ssize_t f_uac2_opts_##name##_store(struct f_uac2_opts *opts, \
1531 struct f_uac2_opts *opts; in afunc_free_inst()
1533 opts = container_of(f, struct f_uac2_opts, func_inst); in afunc_free_inst()
1539 struct f_uac2_opts *opts; in afunc_alloc_inst()
1563 struct f_uac2_opts *opts; in afunc_free()
1566 opts = container_of(f->fi, struct f_uac2_opts, func_inst); in afunc_free()
1596 struct f_uac2_opts *opts; in afunc_alloc()
1602 opts = container_of(fi, struct f_uac2_opts, func_inst); in afunc_alloc()