From patchwork Thu Mar 1 17:47:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bogdan Purcareata X-Patchwork-Id: 10252117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 62B3560211 for ; Thu, 1 Mar 2018 17:49:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51A61283AE for ; Thu, 1 Mar 2018 17:49:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46388283F2; Thu, 1 Mar 2018 17:49:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C8460283AE for ; Thu, 1 Mar 2018 17:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B7s+TTUITSck7AgUWHsueP+PQIUGa2uRz9x8flsulsE=; b=B29FbWI7M7/k/o WuZkf7VTaYaURYTwa4t81ERPQbN6EnFxm9Ao6EIP1mMhMaxPmHM2/wWRjPt1Brv75h06Utm6zt5pa vDLpyRCg3SG0eXX71/LQUKZrVS8/IwQbAs/ja4B304XVz+sBLenWPr//ZAeTEc8XdkLYyEoLCL6sv xyMWkdAzcxKn5MBlZ89UQq+6tZB3OtM+O9/TMG1TFIPi51ej3XgK6jhd930t/ocAx2k5TinigpDT6 UdNeu7MiSJt1sds7qpZH3HUWkRcyK82BVSxZzL5z1zePJsHChV8B2Fct8qhgxa4rQVFFcN4qYk5ax 23zNww4ZVjmed2eJNvXA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1erSKo-0006Da-0k; Thu, 01 Mar 2018 17:49:38 +0000 Received: from mail-eopbgr40056.outbound.protection.outlook.com ([40.107.4.56] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1erSJp-0005aB-Av for linux-arm-kernel@lists.infradead.org; Thu, 01 Mar 2018 17:48:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YydMg1+rl2+4iNbWwBYzty+1R/X7mIWtJDGUnGoPmWQ=; b=EujIakclIHaJW37b/hoq6teFA59insvnJUbMYdYqw9Zw2RN+1P/ogv/yteTwVAckD8+c/QP7y8vxb7fs15F5G6J8xr+SPT24N+o/spF3ueXF45MzyHfr8nQDd24zb6k8BZERB+wU+JI/HeZGioXrNQ8pQZ1azdO51LMjFXAQ4d8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bogdan.purcareata@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.1) by AM0PR0402MB3650.eurprd04.prod.outlook.com (2603:10a6:208:d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 17:47:48 +0000 From: Bogdan Purcareata To: gregkh@linuxfoundation.org, laurentiu.tudor@nxp.com, ruxandra.radulescu@nxp.com Subject: [PATCH 1/3] staging: fsl-mc: Cleanup dpbp and dpcon API Date: Thu, 1 Mar 2018 11:47:10 -0600 Message-Id: <20180301174712.2660-2-bogdan.purcareata@nxp.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180301174712.2660-1-bogdan.purcareata@nxp.com> References: <20180301174712.2660-1-bogdan.purcareata@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: SN6PR0102CA0030.prod.exchangelabs.com (2603:10b6:805:1::43) To AM0PR0402MB3650.eurprd04.prod.outlook.com (2603:10a6:208:d::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 97c7ae1d-26e5-435e-e7e5-08d57f9c8cf9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM0PR0402MB3650; X-Microsoft-Exchange-Diagnostics: 1; AM0PR0402MB3650; 3:DtdCHA5MVPrK6gl29wU5fdu6a+ACiiopz5konbyjvXsIzpOzprEVzLCHs/7xkTmUc1arK7QcZPNj2hcpon5O+M5d/vQvc8UGFXFcK9iDcvvKNJErVvihtUDc3QwqBA1yroucnpAhiLdaEKnY8BOs1cLnhIq9n+HuV/Qp8De7VX1jglJWNUzP+Y8A3ExsoUwqSsR73XULaTDM/I6ZuSPQLTKbFbmw7b0SalKzIkQIVOYYmFTcdbrKrhmF79mubQlI; 25:Pg2LRaVwdsXdioLdwIRYG80cUoEMPwc5EOhavBrGQHls+B3QWCv0QqLXJal39BFiZQHrEIVM5OOkLmhe6zox1Vm5CzgSpUR7vPYT12bqvtgaHPZoZsdz2PrYESgpgsQvsIQYJTX4rXZ9La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OKUE2eGsBsCqVsENY92PQZXUGyJ+ST5nt27UTCdHQPf9JlOlgxOc8IbZAlY1/+CsoePoJls3V/kFyLpaXbMoqe9RfY43hZCeYBoJHDsWSbuK8RIgNJfWMcTwXnlPNJ2H/Aj9jIcaHltk7sywsHXRuSztkSkPmi5SegJpHpytEnaZHjiMbXruVm7Ed/Koh6aYjDGCRb+hVvDFOdW205z+K3V95lQ0H7S6TtyMJm5rfCMGxuVVHjFP2Smm1gdgcImcLL3eTnd52qiXOzACI2LxDhD/46CRbaiHpdU0pMwlDwtqsVeHiTFJmG0ATFiLk8lQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231220)(944501230)(52105095)(10201501046)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:AM0PR0402MB3650; BCL:0; PCL:0; RULEID:; SRVR:AM0PR0402MB3650; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(39380400002)(366004)(376002)(346002)(189003)(199004)(36756003)(16586007)(2906002)(6666003)(2950100002)(106356001)(316002)(6636002)(26005)(186003)(6116002)(16526019)(59450400001)(3846002)(25786009)(76176011)(51416003)(52116002)(6506007)(386003)(50466002)(48376002)(53936002)(5660300001)(478600001)(47776003)(6486002)(8936002)(1076002)(575784001)(6512007)(86362001)(4326008)(305945005)(97736004)(68736007)(81156014)(50226002)(7736002)(105586002)(8676002)(81166006)(66066001)(39060400002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0402MB3650; H:rhuath.am.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR0402MB3650; 23:a1D5IA0CUGeLSk+vIHyVyuDORGPzmwJVDogLUVv?= =?us-ascii?Q?Tlwwjicrd0gGWAKE5OuA6sjaoiICXBbYUb7RChKP41aZhpBAidxGrBCRw/zr?= =?us-ascii?Q?C87739CUGpd8zRAiVP0fBzXhNZMogTEEH/tsfOek9oeZtKn0C4oIHQojhsCe?= =?us-ascii?Q?6OLOZUv0TFa+nHApkXCuuJx8Uj6qwQT5tyfhlbs3y0FAUD7c6D1NOcN5+3oE?= =?us-ascii?Q?P3HBK4b8sv6R/5w+OWCvcKqxrAd/7OR76/4G2ZYwWrbsE0BFKFtNkIexa9hq?= =?us-ascii?Q?aH1170Wm8TQH/NJncY+1BJQyXyME5S6yltC3DOAuacVZXJFb2wW//SwkiQEJ?= =?us-ascii?Q?w/OeESyXlocP1i4GP/hWJi+fwehAGbSE6B272kfK5MF83dfGWOFJZzEe/VBz?= =?us-ascii?Q?sBG/OjKD8uaOhRWcPxRQc2Y/sVDGKEhCZrnP1Y1YcpNvq8BRrd+XoxfCIgrp?= =?us-ascii?Q?B+WiCmyAXTAtLmbw5anLxQY0AxiZtIeCEwDRVc5bFuXeOr9yGe3T9y8ZLVww?= =?us-ascii?Q?xNLCaIbelcA4T3qwU0wg6edv93WhIok5cEZ+TidJuTq+v229mO9DLI65NFwQ?= =?us-ascii?Q?b2IKUo0UUdqiNXGmKeUQ0RYf2Zw9Ev+Ut7Eg/OPA2VNJ1NGFaPxgXFME/U+t?= =?us-ascii?Q?UXHaimf0dxqmTPt0ld3XdV5rkbXKnprJUf0AviQE+HpAOHcXoNxN2Upi+PRc?= =?us-ascii?Q?1GXMVdc2Kei6XuFjh+yUuTMUvbs2mBd0tldDFwaMNUrWBEFlt+sYMQBM4bmi?= =?us-ascii?Q?7JJvijyJZdh4nA+V4Rn3QCmuRpexMOm+xvgR6YljNE4joJSG5QfyClafLLRy?= =?us-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p8eKZ37hmN08dFhMsX6F/OjAVVEUHdQeNzyK6f9JCTJrc2rxzYeBj6vBAMm3J4q0XygZVMTMQtOaJO7f6/UtJZC6pf+xl4g=; 7:EBqgtCLgZpTa55NcxoxWgCeGgqer+IiWgvutfxgSh0rJtOrPlZnkqxbAxhucg1xk22TxbZIuWJQev8Or+L5BAj/qoUhNDmuOTKRatroPjqwVHkcqT8QGNMU5hJsqU6ku7BZZqP2PaIe6DIEJmCu9JACBo+Gd6qLHcPKWl1ynOFIL8bZ7Hfxkf5tnN7ANULgTi9myuxq8Nk898jVR4PBDREl+1JlEAUlurHw8rU41k5tljq/PP/DEJB4R9o6DZLr2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 17:47:48.0544 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97c7ae1d-26e5-435e-e7e5-08d57f9c8cf9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3650 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180301_094838_679261_CA485025 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, stuyoder@gmail.com, horia.geanta@nxp.com, roy.pledge@nxp.com, ioana.ciornei@nxp.com, linux-kernel@vger.kernel.org, nipun.gupta@nxp.com, Bogdan Purcareata , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some functions and associated structures are not used by current code, so remove them. Signed-off-by: Bogdan Purcareata --- drivers/staging/fsl-mc/bus/dpbp-cmd.h | 10 ------ drivers/staging/fsl-mc/bus/dpbp.c | 67 ----------------------------------- drivers/staging/fsl-mc/include/dpbp.h | 10 ------ 3 files changed, 87 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpbp-cmd.h b/drivers/staging/fsl-mc/bus/dpbp-cmd.h index 0b7f5c0..3340021 100644 --- a/drivers/staging/fsl-mc/bus/dpbp-cmd.h +++ b/drivers/staging/fsl-mc/bus/dpbp-cmd.h @@ -19,28 +19,18 @@ /* Command IDs */ #define DPBP_CMDID_CLOSE DPBP_CMD(0x800) #define DPBP_CMDID_OPEN DPBP_CMD(0x804) -#define DPBP_CMDID_GET_API_VERSION DPBP_CMD(0xa04) #define DPBP_CMDID_ENABLE DPBP_CMD(0x002) #define DPBP_CMDID_DISABLE DPBP_CMD(0x003) #define DPBP_CMDID_GET_ATTR DPBP_CMD(0x004) #define DPBP_CMDID_RESET DPBP_CMD(0x005) -#define DPBP_CMDID_IS_ENABLED DPBP_CMD(0x006) struct dpbp_cmd_open { __le32 dpbp_id; }; -struct dpbp_cmd_destroy { - __le32 object_id; -}; - #define DPBP_ENABLE 0x1 -struct dpbp_rsp_is_enabled { - u8 enabled; -}; - struct dpbp_rsp_get_attributes { /* response word 0 */ __le16 pad; diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/staging/fsl-mc/bus/dpbp.c index c0addaa..85735bb 100644 --- a/drivers/staging/fsl-mc/bus/dpbp.c +++ b/drivers/staging/fsl-mc/bus/dpbp.c @@ -126,40 +126,6 @@ int dpbp_disable(struct fsl_mc_io *mc_io, EXPORT_SYMBOL_GPL(dpbp_disable); /** - * dpbp_is_enabled() - Check if the DPBP is enabled. - * @mc_io: Pointer to MC portal's I/O object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @token: Token of DPBP object - * @en: Returns '1' if object is enabled; '0' otherwise - * - * Return: '0' on Success; Error code otherwise. - */ -int dpbp_is_enabled(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 token, - int *en) -{ - struct mc_command cmd = { 0 }; - struct dpbp_rsp_is_enabled *rsp_params; - int err; - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPBP_CMDID_IS_ENABLED, cmd_flags, - token); - - /* send command to mc*/ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - rsp_params = (struct dpbp_rsp_is_enabled *)cmd.params; - *en = rsp_params->enabled & DPBP_ENABLE; - - return 0; -} -EXPORT_SYMBOL_GPL(dpbp_is_enabled); - -/** * dpbp_reset() - Reset the DPBP, returns the object to initial state. * @mc_io: Pointer to MC portal's I/O object * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' @@ -218,36 +184,3 @@ int dpbp_get_attributes(struct fsl_mc_io *mc_io, return 0; } EXPORT_SYMBOL_GPL(dpbp_get_attributes); - -/** - * dpbp_get_api_version - Get Data Path Buffer Pool API version - * @mc_io: Pointer to Mc portal's I/O object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @major_ver: Major version of Buffer Pool API - * @minor_ver: Minor version of Buffer Pool API - * - * Return: '0' on Success; Error code otherwise. - */ -int dpbp_get_api_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 *major_ver, - u16 *minor_ver) -{ - struct mc_command cmd = { 0 }; - int err; - - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPBP_CMDID_GET_API_VERSION, - cmd_flags, 0); - - /* send command to mc */ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - mc_cmd_read_api_version(&cmd, major_ver, minor_ver); - - return 0; -} -EXPORT_SYMBOL_GPL(dpbp_get_api_version); diff --git a/drivers/staging/fsl-mc/include/dpbp.h b/drivers/staging/fsl-mc/include/dpbp.h index 4a18096..7b9f7ad 100644 --- a/drivers/staging/fsl-mc/include/dpbp.h +++ b/drivers/staging/fsl-mc/include/dpbp.h @@ -30,11 +30,6 @@ int dpbp_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); -int dpbp_is_enabled(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 token, - int *en); - int dpbp_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); @@ -55,9 +50,4 @@ int dpbp_get_attributes(struct fsl_mc_io *mc_io, u16 token, struct dpbp_attr *attr); -int dpbp_get_api_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 *major_ver, - u16 *minor_ver); - #endif /* __FSL_DPBP_H */