agdev 57 drivers/usb/gadget/function/f_uac2.c struct f_uac2_opts *g_audio_to_uac2_opts(struct g_audio *agdev) agdev 59 drivers/usb/gadget/function/f_uac2.c return container_of(agdev->func.fi, struct f_uac2_opts, func_inst); agdev 596 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 682 drivers/usb/gadget/function/f_uac2.c agdev->out_ep = usb_ep_autoconfig(gadget, &fs_epout_desc); agdev 683 drivers/usb/gadget/function/f_uac2.c if (!agdev->out_ep) { agdev 690 drivers/usb/gadget/function/f_uac2.c agdev->in_ep = usb_ep_autoconfig(gadget, &fs_epin_desc); agdev 691 drivers/usb/gadget/function/f_uac2.c if (!agdev->in_ep) { agdev 697 drivers/usb/gadget/function/f_uac2.c agdev->in_ep_maxpsize = max_t(u16, agdev 700 drivers/usb/gadget/function/f_uac2.c agdev->out_ep_maxpsize = max_t(u16, agdev 714 drivers/usb/gadget/function/f_uac2.c agdev->gadget = gadget; agdev 716 drivers/usb/gadget/function/f_uac2.c agdev->params.p_chmask = uac2_opts->p_chmask; agdev 717 drivers/usb/gadget/function/f_uac2.c agdev->params.p_srate = uac2_opts->p_srate; agdev 718 drivers/usb/gadget/function/f_uac2.c agdev->params.p_ssize = uac2_opts->p_ssize; agdev 719 drivers/usb/gadget/function/f_uac2.c agdev->params.c_chmask = uac2_opts->c_chmask; agdev 720 drivers/usb/gadget/function/f_uac2.c agdev->params.c_srate = uac2_opts->c_srate; agdev 721 drivers/usb/gadget/function/f_uac2.c agdev->params.c_ssize = uac2_opts->c_ssize; agdev 722 drivers/usb/gadget/function/f_uac2.c agdev->params.req_number = uac2_opts->req_number; agdev 723 drivers/usb/gadget/function/f_uac2.c ret = g_audio_setup(agdev, "UAC2 PCM", "UAC2_Gadget"); agdev 730 drivers/usb/gadget/function/f_uac2.c agdev->gadget = NULL; agdev 784 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 793 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, agdev 815 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 825 drivers/usb/gadget/function/f_uac2.c opts = g_audio_to_uac2_opts(agdev); agdev 844 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, agdev 856 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 867 drivers/usb/gadget/function/f_uac2.c opts = g_audio_to_uac2_opts(agdev); agdev 886 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, agdev 922 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 927 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, agdev 944 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); agdev 956 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, "%s:%d Error!\n", agdev 964 drivers/usb/gadget/function/f_uac2.c dev_err(&agdev->gadget->dev, agdev 1090 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev; agdev 1093 drivers/usb/gadget/function/f_uac2.c agdev = func_to_g_audio(f); agdev 1095 drivers/usb/gadget/function/f_uac2.c kfree(agdev); agdev 1103 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(f); agdev 1105 drivers/usb/gadget/function/f_uac2.c g_audio_cleanup(agdev); agdev 1108 drivers/usb/gadget/function/f_uac2.c agdev->gadget = NULL;