From patchwork Mon Aug 15 15:57:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1068342 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 p7FFvfPl006466 for ; Mon, 15 Aug 2011 15:57:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753277Ab1HOP5i (ORCPT ); Mon, 15 Aug 2011 11:57:38 -0400 Received: from na3sys009aog108.obsmtp.com ([74.125.149.199]:51300 "EHLO na3sys009aog108.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753031Ab1HOP5f (ORCPT ); Mon, 15 Aug 2011 11:57:35 -0400 Received: from mail-bw0-f49.google.com ([209.85.214.49]) (using TLSv1) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP ID DSNKTklB7SJcdfXmT4s6VWPu7NDeqsLsxdgF@postini.com; Mon, 15 Aug 2011 08:57:35 PDT Received: by mail-bw0-f49.google.com with SMTP id 17so3676976bke.36 for ; Mon, 15 Aug 2011 08:57:33 -0700 (PDT) Received: by 10.205.64.197 with SMTP id xj5mr1076865bkb.4.1313423853689; Mon, 15 Aug 2011 08:57:33 -0700 (PDT) Received: from localhost (cs181221225.pp.htv.fi [82.181.221.225]) by mx.google.com with ESMTPS id z7sm686882bkt.39.2011.08.15.08.57.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Aug 2011 08:57:33 -0700 (PDT) From: Felipe Balbi To: Linux USB Mailing List , Linux OMAP Mailing List Cc: Sebastian Andrzej Siewior , Felipe Balbi Subject: [RFC/PATCH 2/4] usb: ch9: add function defines from ch9, USB 3.0 spec Date: Mon, 15 Aug 2011 18:57:23 +0300 Message-Id: <1313423845-2288-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.6.396.ge0613 In-Reply-To: <1313423845-2288-1-git-send-email-balbi@ti.com> References: <1313423845-2288-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]); Mon, 15 Aug 2011 15:57:41 +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 */