Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4773956rdh; Wed, 29 Nov 2023 10:12:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEb5rwVx14SL97At6Jf9CN3nNVu4o9MbVtGziWOyboRlJa9EmmCWWAIB9ef72JPrFNxRVrl X-Received: by 2002:a05:6808:1246:b0:3b2:e25d:9768 with SMTP id o6-20020a056808124600b003b2e25d9768mr24905724oiv.53.1701281528661; Wed, 29 Nov 2023 10:12:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701281528; cv=none; d=google.com; s=arc-20160816; b=vN1y5o9mESBuKCajbjYDdGQIO961BuHDi8TmmM5QYU0bR6qR9F/lMWD4j0YIZcQJa6 kFC7ffk00tdu72eca9RRDumaSsRcmUCq52ur4Cw0f75sVoBepRALumqBs24GTeWt/5Hc CvOenPg2EykpfVPnxfy5cT6GpzaCeSmc4nDEYlCvkx5CMvMxdbnMP2ateHgkMRMTVCMA Cy0icU9HMp/OricozCCXqFKh5rHW5+y36Rw/cwVK2+bkO1xqgo9Fk5f5yhkjaX2fnDJS B+vJVsjV2lk69XqA6QK3IFtD5xp57KZWUYxYMQtLLUIpyS49ThcqNoMt8Swmbw6XQ+64 ZzKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=4gLDX8cWt3JEEqgRokj5ykqsN5muXxo/Ge+Xctz4FUg=; fh=7vaDozqbbBAWXQB7m1WgAKZSb3GLQR7cGW53p0VQ474=; b=VpEBxGGl0Xi4w1gLopf2+8CbIvjIXYfos2rrVknOgchVU/2ViPfkq//eu6fTebVKdr /8q0kMr1dkJkPJMtoOVPoHKvsetv5OXpmUnteNa5YLxbNgFGQ6N3i9663Im38Xzyo86+ pe+ARCUrEgJ4yqtD3F8gYS0uCfLMOLSCle4PTCg7aFz0IsmS39C4hHlVWKpksHM+aHLW ga5wBIEo2cK3W1oQpAYxKIm31Sp7ORemLRdGan6YBD0Wxdx4nso3DXshTWgxWcpCb7RQ IU21E1BRrGXSrxRPX1x6BBcS3A82AQEYLefd7NqnWMCiYDccRuoFahbd2MK61eCIknK6 iomQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j36-20020a63fc24000000b005c5e24d4364si4568441pgi.428.2023.11.29.10.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 10:12:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id A85C18095881; Wed, 29 Nov 2023 10:11:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231304AbjK2SLg (ORCPT + 99 others); Wed, 29 Nov 2023 13:11:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbjK2SLf (ORCPT ); Wed, 29 Nov 2023 13:11:35 -0500 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C1B5120; Wed, 29 Nov 2023 10:11:42 -0800 (PST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6cb74a527ceso17672b3a.2; Wed, 29 Nov 2023 10:11:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701281501; x=1701886301; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4gLDX8cWt3JEEqgRokj5ykqsN5muXxo/Ge+Xctz4FUg=; b=aEV/etGefOoxFxJpyfpe/BJ9/3bIUh7vcvKsG4AM0pMsRd96l4Tr+o6o9z3Pie6GlR Kg2z+I9A6WHY3aLpKOMDwfxd5M7bHrn8bQVtJIYnLYU/ItcZCUMxmgUgM2XX6m27Kayi gGFtjwBzedabiMRok7kUV/KE+RQfZhlB884Lvce7Kh9+Kms4wsHiolnlZBp6rtOnchQd UFIT0brXj7npTB4+lCwpLx6X/F9JY7cginbktC8RzmxfrUwP2EeDLPBHPO7ffZyxlxRa 7i+nZJ9bv4HOjymbGLywVwzeL4GC+jfG2FfB0MsCfMiitlHBcvFDzPAmi/JF+apUN1Hj HwQQ== X-Gm-Message-State: AOJu0YwPSDX6XGxiUiOxhDIfuMvw+nkS2R5+CNGn9qrTcVTK/QXX1XIB CznU0AA9slbbVwMb3CqVPRw= X-Received: by 2002:a05:6a20:e68c:b0:18b:d344:6acd with SMTP id mz12-20020a056a20e68c00b0018bd3446acdmr19899607pzb.10.1701281501391; Wed, 29 Nov 2023 10:11:41 -0800 (PST) Received: from ?IPV6:2620:0:1000:8411:af8d:714d:9855:3f9d? ([2620:0:1000:8411:af8d:714d:9855:3f9d]) by smtp.gmail.com with ESMTPSA id a9-20020a170902ee8900b001b7f40a8959sm12648546pld.76.2023.11.29.10.11.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 10:11:40 -0800 (PST) Message-ID: <0cc74796-2369-4c02-a78f-4f1d5e8337dc@acm.org> Date: Wed, 29 Nov 2023 10:11:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 01/10] scsi: ufs: host: Rename structure ufs_dev_params to ufs_host_params Content-Language: en-US To: Can Guo , mani@kernel.org, adrian.hunter@intel.com, cmd4@qualcomm.com, beanhuo@micron.com, avri.altman@wdc.com, junwoo80.lee@samsung.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, Alim Akhtar , "James E.J. Bottomley" , Krzysztof Kozlowski , Stanley Chu , Andy Gross , Bjorn Andersson , Konrad Dybcio , Matthias Brugger , AngeloGioacchino Del Regno , Nitin Rawat , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Brian Masney , "moderated list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , "open list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , open list , "moderated list:UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER..." References: <1701246516-11626-1-git-send-email-quic_cang@quicinc.com> <1701246516-11626-2-git-send-email-quic_cang@quicinc.com> From: Bart Van Assche In-Reply-To: <1701246516-11626-2-git-send-email-quic_cang@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 29 Nov 2023 10:11:56 -0800 (PST) On 11/29/23 00:28, Can Guo wrote: > Structure ufs_dev_params is actually used in UFS host vendor drivers to > declare host specific power mode parameters, like ufs__params or > host_cap, which makes the code not very straightforward to read. Rename the > structure ufs_dev_params to ufs_host_params and unify the declarations in > all vendor drivers to host_params. > > In addition, rename the two functions ufshcd_init_pwr_dev_param() and > ufshcd_get_pwr_dev_param() which work based on the ufs_host_params to > ufshcd_init_host_params() and ufshcd_negotiate_pwr_params() respectively to > avoid confusions. > > This change does not change any functionalities or logic. Reviewed-by: Bart Van Assche