Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp423887rdb; Fri, 17 Nov 2023 02:51:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFft/U3mCrbEQLbYQyEuWuokTyZf9B52+r/URGZdiyRamahM20OK3Gye1n9Q5jOyCeh+thG X-Received: by 2002:a17:902:7881:b0:1ce:33b2:a1e0 with SMTP id q1-20020a170902788100b001ce33b2a1e0mr11307904pll.33.1700218305992; Fri, 17 Nov 2023 02:51:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700218305; cv=none; d=google.com; s=arc-20160816; b=ET4FgkRlbYT6Lgi8cVWQ+LFRcBgIL4f8BcJ0CscMrAZUDHZmuygWDdprjEqnpnlkNY ohPVxc+I7RBwbQHU3CMZxGLoUMbDflmSZq6vI5FBqAaMPE7xR6umWV5SvjsaoIcOD/pq zCgloT+95nH9cEYLOSrtWRAKMdg+PYlx1JY2dBnHFpP+Cu7rr2HxC7FlRZ6xl/WC8qn/ j/rPAxXuReRkzwf9VrHGvPDXE/vuSDwIMR0jCLg+0ZON1UnZnebWZmWrwoIiLQR/GoiH FJhCL105C3J25bv+561i0t9HPlslR6lFgCn94TB0soCv3EHW8WL4vP8Ng0+FbU+Skqa4 Xr0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=85ffUeEgqOgw2cJXcd7ymsGuDQHQOv46INPWS1MBGWQ=; fh=E9dRX3P9+1ACoiVN3TLqgt71N7WLrYiSbf3DtPzMktQ=; b=G5E1OUvaAcqQZ1o19reI95V10AUrIC1WUreLlavx7ZZiY88YlVz54mCA4i9ALUKESy 5pK7Wcxt/bauEhDI1E0auPweIGF3D0WluDlgzloBN4MScjad8siAbsIfP0LBWho3q69l aDBefHcYv+DfZjVy5ty5PwYh02GPtIwV7B/op9gWnGZQGFLl5FnAcH3QUpMsd7U9KonI 4hg63ScHDYLLv4LemquvI7CPbz6T42z/qGe6WCdfdhcCaVPTdJYNy4GGdSDTHrOxoXqb /Ktv9IItmizbzXhwpBqVkMQT9Pg/y5rU0jXgTMYLFU+WLRJq/Hu2U8lGwaC0qRI+58Fi fX7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UH+d1rnM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n11-20020a170902e54b00b001bf0916b665si1655484plf.393.2023.11.17.02.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 02:51:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UH+d1rnM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CF39D81EB0FC; Fri, 17 Nov 2023 02:51:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346029AbjKQKu2 (ORCPT + 99 others); Fri, 17 Nov 2023 05:50:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345922AbjKQKuU (ORCPT ); Fri, 17 Nov 2023 05:50:20 -0500 Received: from mail-vk1-xa35.google.com (mail-vk1-xa35.google.com [IPv6:2607:f8b0:4864:20::a35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3FA8D57; Fri, 17 Nov 2023 02:50:15 -0800 (PST) Received: by mail-vk1-xa35.google.com with SMTP id 71dfb90a1353d-495d687b138so633897e0c.3; Fri, 17 Nov 2023 02:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700218215; x=1700823015; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=85ffUeEgqOgw2cJXcd7ymsGuDQHQOv46INPWS1MBGWQ=; b=UH+d1rnMUAuzPoyO2zD9ZO2Wk69o+wmswi+vQjzmNfC7QnCRx2LrAr/LEqjahH0o8T ChKdgtg1p6Rhd/OEWatHo9FfITksJUSj4hyw0UfskgoFE7gvIF2rvvOe7fSG3Y2Z+Yxe dFuvLjhVsTpVTWWKa3EXidyZtrTez4anNJ5fr2/SpGkpdXn1hddBk1T1EcEMY/N2JHcS CE4o9QRFyVMN3SovsQZ1zEgnR3uUCwb/PpCDt37x3O5vCdBAxbRTxMLJqMEvY1w5Cezu nNB/GNqenHLaOW+yUEDVAnXq85dqZ68QVxnLFy6siM8axmVNJvCEZ+TEW64nFXnBM58M cTqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700218215; x=1700823015; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=85ffUeEgqOgw2cJXcd7ymsGuDQHQOv46INPWS1MBGWQ=; b=kYZz4RJ3NfP/Cxq6X/JCINz3ERAC8Rbzj5goidjKgX641D0IfH5I2u7qXsRXoqyvN5 heajytUJFTKJCTe+oX7dAEdZBqil+ZUfJTT43nI1XibrezRac2NkOXgkR6yy/pKlDU1w 2obGPNmF1RL5O1OrA9JuV/pdcatDR/r9itoCuWZ+1ujhwcL5Kp5IMRSPqRE9LqWtsR+M Uh0tKcChpy22ZkKZSDOqaTWxtFoCbQz9jRe0dFZDH1bxj7i5+PnmV0ZXPtJuXP9S5Jqs BMtNIra9kmn5dgG9SIFy3/LTzMOAEPXRW+DgwPvYkw5TMbcWE1ARsMqiyPraDWVP8esn 3j2A== X-Gm-Message-State: AOJu0Yz6mqMg0EtgdN5TZdTdu+aHc5ZZ/4Jg7QM9MaQdvIX1fPUkQc0R BXoquqBdbb9kfJ7hb6jwKrwtvmIXDgUsGDRpi58= X-Received: by 2002:a1f:df03:0:b0:4af:fd28:975 with SMTP id w3-20020a1fdf03000000b004affd280975mr731720vkg.5.1700218214597; Fri, 17 Nov 2023 02:50:14 -0800 (PST) MIME-Version: 1.0 References: <20230915094351.11120-1-victorshihgli@gmail.com> <20230915094351.11120-15-victorshihgli@gmail.com> In-Reply-To: From: Victor Shih Date: Fri, 17 Nov 2023 18:50:02 +0800 Message-ID: Subject: Re: [PATCH V12 14/23] mmc: sdhci-uhs2: add set_ios() To: Ulf Hansson Cc: adrian.hunter@intel.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, benchuanggli@gmail.com, HL.Liu@genesyslogic.com.tw, Greg.tu@genesyslogic.com.tw, takahiro.akashi@linaro.org, dlunev@chromium.org, Ben Chuang , Victor Shih Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 02:51:28 -0800 (PST) On Tue, Oct 3, 2023 at 6:42=E2=80=AFPM Ulf Hansson = wrote: > > On Fri, 15 Sept 2023 at 11:44, Victor Shih wrot= e: > > > > From: Victor Shih > > > > This is a sdhci version of mmc's set_ios operation. > > It covers both UHS-I and UHS-II. > > Looks like there is more than that happening in the $subject patch. > Again, please clarify why this is needed. > > Other than that, the patch looks good to me. > > Kind regards > Uffe > Hi, Ulf I will try to update this in version 13. Thanks, Victor Shih > > > > Signed-off-by: Ben Chuang > > Signed-off-by: AKASHI Takahiro > > Signed-off-by: Victor Shih > > Acked-by: Adrian Hunter > > --- > > > > Updates in V9: > > - Simplity the turning_on_clk in sdhci_set_ios(). > > > > Updates in V8: > > - Add the judgment formula for MMC_TIMING_SPEED_A_HD, MMC_TIMING_SPEED= _B > > and MMC_TIMING_SPEED_B_HD in __sdhci_uhs2_set_ios(). > > - Add the switch case for MMC_TIMING_SPEED_A_HD, MMC_TIMING_SPEED_B > > and MMC_TIMING_SPEED_B_HD in sdhci_get_preset_value(). > > - mmc_opt_regulator_set_ocr() to instead of mmc_regulator_set_ocr() > > in sdhci_uhs2_set_ios(). > > > > Updates in V7: > > - Remove unnecessary functions. > > > > Updates in V6: > > - Modify return value in some functions. > > - Remove unnecessary functions. > > > > --- > > > > drivers/mmc/host/sdhci-uhs2.c | 94 +++++++++++++++++++++++++++++++++++ > > drivers/mmc/host/sdhci-uhs2.h | 1 + > > drivers/mmc/host/sdhci.c | 55 ++++++++++++-------- > > drivers/mmc/host/sdhci.h | 2 + > > 4 files changed, 131 insertions(+), 21 deletions(-) > > > > diff --git a/drivers/mmc/host/sdhci-uhs2.c b/drivers/mmc/host/sdhci-uhs= 2.c > > index d519e6ce6199..ad791c48f681 100644 > > --- a/drivers/mmc/host/sdhci-uhs2.c > > +++ b/drivers/mmc/host/sdhci-uhs2.c > > @@ -214,6 +214,70 @@ void sdhci_uhs2_set_timeout(struct sdhci_host *hos= t, struct mmc_command *cmd) > > } > > EXPORT_SYMBOL_GPL(sdhci_uhs2_set_timeout); > > > > +/** > > + * sdhci_uhs2_clear_set_irqs - set Error Interrupt Status Enable regis= ter > > + * @host: SDHCI host > > + * @clear: bit-wise clear mask > > + * @set: bit-wise set mask > > + * > > + * Set/unset bits in UHS-II Error Interrupt Status Enable register > > + */ > > +void sdhci_uhs2_clear_set_irqs(struct sdhci_host *host, u32 clear, u32= set) > > +{ > > + u32 ier; > > + > > + ier =3D sdhci_readl(host, SDHCI_UHS2_INT_STATUS_ENABLE); > > + ier &=3D ~clear; > > + ier |=3D set; > > + sdhci_writel(host, ier, SDHCI_UHS2_INT_STATUS_ENABLE); > > + sdhci_writel(host, ier, SDHCI_UHS2_INT_SIGNAL_ENABLE); > > +} > > +EXPORT_SYMBOL_GPL(sdhci_uhs2_clear_set_irqs); > > + > > +static void __sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios = *ios) > > +{ > > + struct sdhci_host *host =3D mmc_priv(mmc); > > + u8 cmd_res, dead_lock; > > + u16 ctrl_2; > > + > > + /* UHS2 Timeout Control */ > > + sdhci_calc_timeout_uhs2(host, &cmd_res, &dead_lock); > > + > > + /* change to use calculate value */ > > + cmd_res |=3D FIELD_PREP(SDHCI_UHS2_TIMER_CTRL_DEADLOCK_MASK, de= ad_lock); > > + > > + sdhci_uhs2_clear_set_irqs(host, > > + SDHCI_UHS2_INT_CMD_TIMEOUT | > > + SDHCI_UHS2_INT_DEADLOCK_TIMEOUT, > > + 0); > > + sdhci_writeb(host, cmd_res, SDHCI_UHS2_TIMER_CTRL); > > + sdhci_uhs2_clear_set_irqs(host, 0, > > + SDHCI_UHS2_INT_CMD_TIMEOUT | > > + SDHCI_UHS2_INT_DEADLOCK_TIMEOUT); > > + > > + /* UHS2 timing. Note, UHS2 timing is disabled when powering off= */ > > + ctrl_2 =3D sdhci_readw(host, SDHCI_HOST_CONTROL2); > > + if (ios->timing =3D=3D MMC_TIMING_UHS2_SPEED_A || > > + ios->timing =3D=3D MMC_TIMING_UHS2_SPEED_A_HD || > > + ios->timing =3D=3D MMC_TIMING_UHS2_SPEED_B || > > + ios->timing =3D=3D MMC_TIMING_UHS2_SPEED_B_HD) > > + ctrl_2 |=3D SDHCI_CTRL_UHS2 | SDHCI_CTRL_UHS2_ENABLE; > > + else > > + ctrl_2 &=3D ~(SDHCI_CTRL_UHS2 | SDHCI_CTRL_UHS2_ENABLE)= ; > > + sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2); > > + host->timing =3D ios->timing; > > + > > + if (!(host->quirks2 & SDHCI_QUIRK2_PRESET_VALUE_BROKEN)) > > + sdhci_enable_preset_value(host, true); > > + > > + if (host->ops->set_power) > > + host->ops->set_power(host, ios->power_mode, ios->vdd); > > + else > > + sdhci_uhs2_set_power(host, ios->power_mode, ios->vdd); > > + > > + sdhci_set_clock(host, host->clock); > > +} > > + > > /*********************************************************************= ********\ > > * = * > > * MMC callbacks = * > > @@ -235,6 +299,36 @@ static int sdhci_uhs2_start_signal_voltage_switch(= struct mmc_host *mmc, > > return sdhci_start_signal_voltage_switch(mmc, ios); > > } > > > > +static int sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios *io= s) > > +{ > > + struct sdhci_host *host =3D mmc_priv(mmc); > > + > > + pr_debug("%s: clock %uHz powermode %u Vdd %u timing %u\n", > > + mmc_hostname(mmc), ios->clock, ios->power_mode, ios->v= dd, ios->timing); > > + > > + if (!sdhci_uhs2_mode(host)) { > > + sdhci_set_ios(mmc, ios); > > + return 0; > > + } > > + > > + if (ios->power_mode =3D=3D MMC_POWER_UNDEFINED) > > + return 0; > > + > > + if (host->flags & SDHCI_DEVICE_DEAD) { > > + if (ios->power_mode =3D=3D MMC_POWER_OFF) { > > + mmc_opt_regulator_set_ocr(mmc, mmc->supply.vmmc= , 0); > > + mmc_opt_regulator_set_ocr(mmc, mmc->supply.vmmc= 2, 0); > > + } > > + return -1; > > + } > > + > > + sdhci_set_ios_common(mmc, ios); > > + > > + __sdhci_uhs2_set_ios(mmc, ios); > > + > > + return 0; > > +} > > + > > /*********************************************************************= ********\ > > * = * > > * Driver init/exit = * > > diff --git a/drivers/mmc/host/sdhci-uhs2.h b/drivers/mmc/host/sdhci-uhs= 2.h > > index ccf4e1834c2d..a3641c5f8c77 100644 > > --- a/drivers/mmc/host/sdhci-uhs2.h > > +++ b/drivers/mmc/host/sdhci-uhs2.h > > @@ -181,5 +181,6 @@ void sdhci_uhs2_dump_regs(struct sdhci_host *host); > > bool sdhci_uhs2_mode(struct sdhci_host *host); > > void sdhci_uhs2_reset(struct sdhci_host *host, u16 mask); > > void sdhci_uhs2_set_timeout(struct sdhci_host *host, struct mmc_comman= d *cmd); > > +void sdhci_uhs2_clear_set_irqs(struct sdhci_host *host, u32 clear, u32= set); > > > > #endif /* __SDHCI_UHS2_H */ > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > > index eca54a16e7fc..57209accbb03 100644 > > --- a/drivers/mmc/host/sdhci.c > > +++ b/drivers/mmc/host/sdhci.c > > @@ -47,8 +47,6 @@ > > static unsigned int debug_quirks =3D 0; > > static unsigned int debug_quirks2; > > > > -static void sdhci_enable_preset_value(struct sdhci_host *host, bool en= able); > > - > > static bool sdhci_send_command(struct sdhci_host *host, struct mmc_com= mand *cmd); > > > > void sdhci_dumpregs(struct sdhci_host *host) > > @@ -1877,6 +1875,12 @@ static u16 sdhci_get_preset_value(struct sdhci_h= ost *host) > > case MMC_TIMING_MMC_HS400: > > preset =3D sdhci_readw(host, SDHCI_PRESET_FOR_HS400); > > break; > > + case MMC_TIMING_UHS2_SPEED_A: > > + case MMC_TIMING_UHS2_SPEED_A_HD: > > + case MMC_TIMING_UHS2_SPEED_B: > > + case MMC_TIMING_UHS2_SPEED_B_HD: > > + preset =3D sdhci_readw(host, SDHCI_PRESET_FOR_UHS2); > > + break; > > default: > > pr_warn("%s: Invalid UHS-I mode selected\n", > > mmc_hostname(host->mmc)); > > @@ -2323,24 +2327,9 @@ static bool sdhci_presetable_values_change(struc= t sdhci_host *host, struct mmc_i > > (sdhci_preset_needed(host, ios->timing) || host->drv_typ= e !=3D ios->drv_type); > > } > > > > -void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) > > +void sdhci_set_ios_common(struct mmc_host *mmc, struct mmc_ios *ios) > > { > > struct sdhci_host *host =3D mmc_priv(mmc); > > - bool reinit_uhs =3D host->reinit_uhs; > > - bool turning_on_clk =3D false; > > - u8 ctrl; > > - > > - host->reinit_uhs =3D false; > > - > > - if (ios->power_mode =3D=3D MMC_POWER_UNDEFINED) > > - return; > > - > > - if (host->flags & SDHCI_DEVICE_DEAD) { > > - if (!IS_ERR(mmc->supply.vmmc) && > > - ios->power_mode =3D=3D MMC_POWER_OFF) > > - mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0)= ; > > - return; > > - } > > > > /* > > * Reset the chip on each power off. > > @@ -2357,8 +2346,6 @@ void sdhci_set_ios(struct mmc_host *mmc, struct m= mc_ios *ios) > > sdhci_enable_preset_value(host, false); > > > > if (!ios->clock || ios->clock !=3D host->clock) { > > - turning_on_clk =3D ios->clock && !host->clock; > > - > > host->ops->set_clock(host, ios->clock); > > host->clock =3D ios->clock; > > > > @@ -2374,6 +2361,31 @@ void sdhci_set_ios(struct mmc_host *mmc, struct = mmc_ios *ios) > > mmc->max_busy_timeout /=3D host->timeout_clk; > > } > > } > > +} > > +EXPORT_SYMBOL_GPL(sdhci_set_ios_common); > > + > > +void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) > > +{ > > + struct sdhci_host *host =3D mmc_priv(mmc); > > + bool reinit_uhs =3D host->reinit_uhs; > > + bool turning_on_clk; > > + u8 ctrl; > > + > > + host->reinit_uhs =3D false; > > + > > + if (ios->power_mode =3D=3D MMC_POWER_UNDEFINED) > > + return; > > + > > + if (host->flags & SDHCI_DEVICE_DEAD) { > > + if (!IS_ERR(mmc->supply.vmmc) && > > + ios->power_mode =3D=3D MMC_POWER_OFF) > > + mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0)= ; > > + return; > > + } > > + > > + turning_on_clk =3D ios->clock !=3D host->clock && ios->clock &&= !host->clock; > > + > > + sdhci_set_ios_common(mmc, ios); > > > > if (host->ops->set_power) > > host->ops->set_power(host, ios->power_mode, ios->vdd); > > @@ -2957,7 +2969,7 @@ int sdhci_execute_tuning(struct mmc_host *mmc, u3= 2 opcode) > > } > > EXPORT_SYMBOL_GPL(sdhci_execute_tuning); > > > > -static void sdhci_enable_preset_value(struct sdhci_host *host, bool en= able) > > +void sdhci_enable_preset_value(struct sdhci_host *host, bool enable) > > { > > /* Host Controller v3.00 defines preset value registers */ > > if (host->version < SDHCI_SPEC_300) > > @@ -2985,6 +2997,7 @@ static void sdhci_enable_preset_value(struct sdhc= i_host *host, bool enable) > > host->preset_enabled =3D enable; > > } > > } > > +EXPORT_SYMBOL_GPL(sdhci_enable_preset_value); > > > > static void sdhci_post_req(struct mmc_host *mmc, struct mmc_request *m= rq, > > int err) > > diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h > > index f3bd558b337f..03d29423a678 100644 > > --- a/drivers/mmc/host/sdhci.h > > +++ b/drivers/mmc/host/sdhci.h > > @@ -847,6 +847,8 @@ void sdhci_set_bus_width(struct sdhci_host *host, i= nt width); > > void sdhci_reset(struct sdhci_host *host, u8 mask); > > void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing)= ; > > int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode); > > +void sdhci_enable_preset_value(struct sdhci_host *host, bool enable); > > +void sdhci_set_ios_common(struct mmc_host *mmc, struct mmc_ios *ios); > > void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios); > > int sdhci_start_signal_voltage_switch(struct mmc_host *mmc, > > struct mmc_ios *ios); > > -- > > 2.25.1 > >