Received: by 10.223.185.116 with SMTP id b49csp7713667wrg; Thu, 1 Mar 2018 09:49:59 -0800 (PST) X-Google-Smtp-Source: AG47ELulNH0lvpq8LhxGnhCbdg7BlQStorCltp18TTp5+Ykc2YtKcFzEYKuKPDsFHRp6QmnlbmLg X-Received: by 2002:a17:902:5609:: with SMTP id h9-v6mr2641476pli.302.1519926599661; Thu, 01 Mar 2018 09:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519926599; cv=none; d=google.com; s=arc-20160816; b=R8kLqmXHmYzaur3CnRI8h/8gLOhcE74EiFfJqOkIG4IPf0Rz9wOKm2Hen7rD+gN/dE FGGgbPFvTluzO5LsHClmntF3M79tMpfGKmfzS39c9rQIKbJK0SEvsV8q/h9h6+tTSPLZ ntuJ5iKy31GO31U0A4MueljkMQ6+PvgSzw0kJTRi3du7emt/Sm72DImOm/bUAfXZKdFM 7CnSyNBuAbUc1M8RB9pF53Q7vh5Byaw4uxvyzrf4gcVzZxHpUxJ+L7TvPQP/wvz3ByYx mBzXTI5ktsO94FUVuesa34LdhtYZs8ijq+kuQLp+GP3OnW/VV0zf/XZFrWttsyRhFc2T ED8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=YydMg1+rl2+4iNbWwBYzty+1R/X7mIWtJDGUnGoPmWQ=; b=qeCaZtyLG5cB7Hfi/uKXAq3SjFYBbdlQz96lys9NUvDaG1w5iNtYZo+LvRPdKIB5t5 g8AnPEVG8iTQXgJtp/pQmuZZYwCxh/3QmbD4dy7VsT67sEPXM7LxfN1tfRtQFiR5WopR WYg7xmw2535dHuV34jVdqZarySJLa6N6NXOk2tnXyXtrbAPOgvD4CJyCIUFohNGeEOxW W9hoHmEXAVDRBWDFrAmboTb5n/Eimarz51ykISmrg4/XIJA3d0WqO2rdh59wnU0N+jqD 7yK/78eu3K75t7GQy6QElsmKbQbACdgOV11McG7AuBRwtvBrNQkt380CXNewPcXUPzN5 EB8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=EujIakcl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c18si3310926pfe.335.2018.03.01.09.49.43; Thu, 01 Mar 2018 09:49:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=EujIakcl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033665AbeCARr4 (ORCPT + 99 others); Thu, 1 Mar 2018 12:47:56 -0500 Received: from mail-eopbgr40062.outbound.protection.outlook.com ([40.107.4.62]:49072 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1033504AbeCARrw (ORCPT ); Thu, 1 Mar 2018 12:47:52 -0500 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 Cc: stuyoder@gmail.com, ioana.ciornei@nxp.com, nipun.gupta@nxp.com, roy.pledge@nxp.com, horia.geanta@nxp.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bogdan Purcareata 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 Content-Type: text/plain 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-Micro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cdEWJQFHYK23htQf0sQkQNgaOIinhk919277LioqhkBTtpQgQGujcXg5n3O2XcvrFY+84lDM19Om5EZQAF+r6vsEHCaspMYxvUnk9WBPI9ROQiB2NUqe7ps3DtquYu6+0fRO7EHTkPNxrGpJYiye+TPNUjLjjOUJjs3iIz9dD212zsKXjR39yXrUGBVgHQ5txTH3vcpoZCPOXka/6kHzNOJXfDUclx19OvD2fPuZjknjJuEGeYPJDBaIWJ4nT/fJgVSYOXHrHgc3nx+3ex4eioRiUmOuHXZlW2+amqKB9XhnhBGqkAbEjbEwXopugqrHPFUC+0/m96mFtd0L2CtDRppLR6i7n0w+Zb+mVuHC1cXIgXywk9Yogf+e1B7nMkFPkVZ+d;4:zUvwb1IL0WcWLIDvxnF8iZyIyWfPzhYuv8QiTiW7vaEOKUE2eGsBsCqVsENY92PQZXUGyJ+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+WiCmyAXTA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K32aLhQUzscIRfyuQOQaZjLEQV5+MvUcIV4p5KgvW5zemceewm9l6euwdrjUbe8uX27mjh2iQiahgAmvN1iy1Db81yWorKb8Ox6v8c028fqeTiEZlmGwcUjqXEMei3uXo/POT5JAUdtUySQbu+NKIiz3Xasav8HqeSOX7uHpv82vbdDzhaVOba3MhXtg3sAD3PI21atVwyqBEtvVTOS5+YCFZEgwNrwGkGnmSIeCGFsJD+Gk=;5:cTKe86BhmBW+Ts4iZ0CPNeWN+nh9R0WmeCgZp/wY/2g25tAKzDcvfqsJRLHy1t61ZLJRN/mh/ecuo/oKdtClCnGNOLzYSfY9yK0COpICaTixXsI0T51v+XNepPkWFqI+r4sZ9iVfSCA8yNtbUQAGInNVQEed/D4v6iTJjJ4F95o=;24:rSCoA4rx2SyVp8eKZ37hmN08dFhMsX6F/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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 */ -- 2.7.4