Lines Matching refs:f_uac2_opts
83 struct f_uac2_opts *g_audio_to_uac2_opts(struct g_audio *agdev) in g_audio_to_uac2_opts()
85 return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); in g_audio_to_uac2_opts()
684 static int get_max_bw_for_bint(const struct f_uac2_opts *uac2_opts, in get_max_bw_for_bint()
715 static int set_ep_max_packet_size_bint(struct device *dev, const struct f_uac2_opts *uac2_opts, in set_ep_max_packet_size_bint()
803 static void setup_headers(struct f_uac2_opts *opts, in setup_headers()
905 static void setup_descriptor(struct f_uac2_opts *opts) in setup_descriptor()
987 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in afunc_validate_opts()
1040 struct f_uac2_opts *uac2_opts = g_audio_to_uac2_opts(agdev); in afunc_bind()
1517 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_cur()
1594 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in in_rq_range()
1716 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur_complete()
1765 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in out_rq_cur()
1853 static inline struct f_uac2_opts *to_f_uac2_opts(struct config_item *item) in to_f_uac2_opts()
1855 return container_of(to_config_group(item), struct f_uac2_opts, in to_f_uac2_opts()
1861 struct f_uac2_opts *opts = to_f_uac2_opts(item); in f_uac2_attr_release()
1884 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
1897 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
1925 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
1950 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
1981 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
2003 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
2040 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
2053 struct f_uac2_opts *opts = to_f_uac2_opts(item); \
2135 struct f_uac2_opts *opts; in afunc_free_inst()
2137 opts = container_of(f, struct f_uac2_opts, func_inst); in afunc_free_inst()
2143 struct f_uac2_opts *opts; in afunc_alloc_inst()
2188 struct f_uac2_opts *opts; in afunc_free()
2191 opts = container_of(f->fi, struct f_uac2_opts, func_inst); in afunc_free()
2216 struct f_uac2_opts *opts; in afunc_alloc()
2222 opts = container_of(fi, struct f_uac2_opts, func_inst); in afunc_alloc()