From patchwork Fri Aug 19 15:10:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1080872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7JFBJpW003948 for ; Fri, 19 Aug 2011 15:11:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756042Ab1HSPLQ (ORCPT ); Fri, 19 Aug 2011 11:11:16 -0400 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:43301 "EHLO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755871Ab1HSPLP (ORCPT ); Fri, 19 Aug 2011 11:11:15 -0400 Received: from mail-bw0-f52.google.com ([209.85.214.52]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKTk59EVP/rcMmq+CZCxCEN/TIRMnCwU7x@postini.com; Fri, 19 Aug 2011 08:11:14 PDT Received: by mail-bw0-f52.google.com with SMTP id zs2so3969978bkb.39 for ; Fri, 19 Aug 2011 08:11:12 -0700 (PDT) Received: by 10.204.152.218 with SMTP id h26mr435874bkw.196.1313766672715; Fri, 19 Aug 2011 08:11:12 -0700 (PDT) Received: from localhost (cs181221225.pp.htv.fi [82.181.221.225]) by mx.google.com with ESMTPS id zw12sm1077645bkb.60.2011.08.19.08.11.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Aug 2011 08:11:11 -0700 (PDT) From: Felipe Balbi To: Greg KH Cc: Linux USB Mailing List , Linux OMAP Mailing List , Sebastian Andrzej Siewior , Felipe Balbi Subject: [PATCH 1/4] usb: ch9: add function defines from ch9, USB 3.0 spec Date: Fri, 19 Aug 2011 18:10:56 +0300 Message-Id: <1313766659-28360-2-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.6.396.ge0613 In-Reply-To: <1313766659-28360-1-git-send-email-balbi@ti.com> References: <1313766659-28360-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 19 Aug 2011 15:11:19 +0000 (UTC) From: Sebastian Andrzej Siewior not to confuse with Table 9-7 in USB 2.0 spec Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- include/linux/usb/ch9.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/usb/ch9.h b/include/linux/usb/ch9.h index 0fd3fbd..b777e24 100644 --- a/include/linux/usb/ch9.h +++ b/include/linux/usb/ch9.h @@ -143,6 +143,11 @@ #define USB_INTRF_FUNC_SUSPEND 0 /* function suspend */ #define USB_INTR_FUNC_SUSPEND_OPT_MASK 0xFF00 +/* + * Suspend Options, Table 9-7 USB 3.0 spec + */ +#define USB_INTRF_FUNC_SUSPEND_LP (1 << (8 + 0)) +#define USB_INTRF_FUNC_SUSPEND_RW (1 << (8 + 1)) #define USB_ENDPOINT_HALT 0 /* IN/OUT will STALL */