uac2 595 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); uac2 648 drivers/usb/gadget/function/f_uac2.c uac2->ac_intf = ret; uac2 649 drivers/usb/gadget/function/f_uac2.c uac2->ac_alt = 0; uac2 659 drivers/usb/gadget/function/f_uac2.c uac2->as_out_intf = ret; uac2 660 drivers/usb/gadget/function/f_uac2.c uac2->as_out_alt = 0; uac2 671 drivers/usb/gadget/function/f_uac2.c uac2->as_in_intf = ret; uac2 672 drivers/usb/gadget/function/f_uac2.c uac2->as_in_alt = 0; uac2 738 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); uac2 749 drivers/usb/gadget/function/f_uac2.c if (intf == uac2->ac_intf) { uac2 758 drivers/usb/gadget/function/f_uac2.c if (intf == uac2->as_out_intf) { uac2 759 drivers/usb/gadget/function/f_uac2.c uac2->as_out_alt = alt; uac2 762 drivers/usb/gadget/function/f_uac2.c ret = u_audio_start_capture(&uac2->g_audio); uac2 764 drivers/usb/gadget/function/f_uac2.c u_audio_stop_capture(&uac2->g_audio); uac2 765 drivers/usb/gadget/function/f_uac2.c } else if (intf == uac2->as_in_intf) { uac2 766 drivers/usb/gadget/function/f_uac2.c uac2->as_in_alt = alt; uac2 769 drivers/usb/gadget/function/f_uac2.c ret = u_audio_start_playback(&uac2->g_audio); uac2 771 drivers/usb/gadget/function/f_uac2.c u_audio_stop_playback(&uac2->g_audio); uac2 783 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); uac2 786 drivers/usb/gadget/function/f_uac2.c if (intf == uac2->ac_intf) uac2 787 drivers/usb/gadget/function/f_uac2.c return uac2->ac_alt; uac2 788 drivers/usb/gadget/function/f_uac2.c else if (intf == uac2->as_out_intf) uac2 789 drivers/usb/gadget/function/f_uac2.c return uac2->as_out_alt; uac2 790 drivers/usb/gadget/function/f_uac2.c else if (intf == uac2->as_in_intf) uac2 791 drivers/usb/gadget/function/f_uac2.c return uac2->as_in_alt; uac2 803 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); uac2 805 drivers/usb/gadget/function/f_uac2.c uac2->as_in_alt = 0; uac2 806 drivers/usb/gadget/function/f_uac2.c uac2->as_out_alt = 0; uac2 807 drivers/usb/gadget/function/f_uac2.c u_audio_stop_capture(&uac2->g_audio); uac2 808 drivers/usb/gadget/function/f_uac2.c u_audio_stop_playback(&uac2->g_audio); uac2 921 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); uac2 926 drivers/usb/gadget/function/f_uac2.c if (intf != uac2->ac_intf) { uac2 1113 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2; uac2 1116 drivers/usb/gadget/function/f_uac2.c uac2 = kzalloc(sizeof(*uac2), GFP_KERNEL); uac2 1117 drivers/usb/gadget/function/f_uac2.c if (uac2 == NULL) uac2 1125 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.name = "uac2_func"; uac2 1126 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.bind = afunc_bind; uac2 1127 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.unbind = afunc_unbind; uac2 1128 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.set_alt = afunc_set_alt; uac2 1129 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.get_alt = afunc_get_alt; uac2 1130 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.disable = afunc_disable; uac2 1131 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.setup = afunc_setup; uac2 1132 drivers/usb/gadget/function/f_uac2.c uac2->g_audio.func.free_func = afunc_free; uac2 1134 drivers/usb/gadget/function/f_uac2.c return &uac2->g_audio.func; uac2 1137 drivers/usb/gadget/function/f_uac2.c DECLARE_USB_FUNCTION_INIT(uac2, afunc_alloc_inst, afunc_alloc);