Lines Matching refs:pxav2_host
103 struct sdhci_pxav2_host *pxav2_host = sdhci_pltfm_priv(sdhci_priv(host)); in pxav1_irq() local
106 if (pxav2_host->sdio_mrq && (intmask & SDHCI_INT_CMD_MASK)) { in pxav1_irq()
112 if (pxav2_host->pinctrl && pxav2_host->pins_default) in pxav1_irq()
113 pinctrl_select_state(pxav2_host->pinctrl, pxav2_host->pins_default); in pxav1_irq()
115 sdio_mrq = pxav2_host->sdio_mrq; in pxav1_irq()
116 pxav2_host->sdio_mrq = NULL; in pxav1_irq()
126 struct sdhci_pxav2_host *pxav2_host; in pxav1_request_done() local
138 pxav2_host = sdhci_pltfm_priv(sdhci_priv(host)); in pxav1_request_done()
139 pxav2_host->sdio_mrq = mrq; in pxav1_request_done()
142 if (pxav2_host->pinctrl && pxav2_host->pins_cmd_gpio) in pxav1_request_done()
143 pinctrl_select_state(pxav2_host->pinctrl, pxav2_host->pins_cmd_gpio); in pxav1_request_done()
256 struct sdhci_pxav2_host *pxav2_host; in sdhci_pxav2_probe() local
264 host = sdhci_pltfm_init(pdev, NULL, sizeof(*pxav2_host)); in sdhci_pxav2_probe()
269 pxav2_host = sdhci_pltfm_priv(pltfm_host); in sdhci_pxav2_probe()
321 pxav2_host->pinctrl = devm_pinctrl_get(dev); in sdhci_pxav2_probe()
322 if (!IS_ERR(pxav2_host->pinctrl)) { in sdhci_pxav2_probe()
323 pxav2_host->pins_cmd_gpio = pinctrl_lookup_state(pxav2_host->pinctrl, in sdhci_pxav2_probe()
325 if (IS_ERR(pxav2_host->pins_cmd_gpio)) in sdhci_pxav2_probe()
326 pxav2_host->pins_cmd_gpio = NULL; in sdhci_pxav2_probe()
327 pxav2_host->pins_default = pinctrl_lookup_state(pxav2_host->pinctrl, in sdhci_pxav2_probe()
329 if (IS_ERR(pxav2_host->pins_default)) in sdhci_pxav2_probe()
330 pxav2_host->pins_default = NULL; in sdhci_pxav2_probe()
332 pxav2_host->pinctrl = NULL; in sdhci_pxav2_probe()