Searched refs:agdev (Results 1 – 1 of 1) sorted by relevance
80 struct f_uac2_opts *g_audio_to_uac2_opts(struct g_audio *agdev) in g_audio_to_uac2_opts() argument82 return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); in g_audio_to_uac2_opts()85 static int afunc_notify(struct g_audio *agdev, int unit_id, int cs);894 static int afunc_validate_opts(struct g_audio *agdev, struct device *dev) in afunc_validate_opts() argument896 struct f_uac2_opts *opts = g_audio_to_uac2_opts(agdev); in afunc_validate_opts()950 struct g_audio *agdev = func_to_g_audio(fn); in afunc_bind() local954 struct f_uac2_opts *uac2_opts = g_audio_to_uac2_opts(agdev); in afunc_bind()958 ret = afunc_validate_opts(agdev, dev); in afunc_bind()1148 agdev->out_ep = usb_ep_autoconfig(gadget, &fs_epout_desc); in afunc_bind()1149 if (!agdev->out_ep) { in afunc_bind()[all …]