Home
last modified time | relevance | path

Searched refs:wt_value (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/mmc/host/
Dsdhci-pci-gli.c115 u32 wt_value; in gl9750_wt_on() local
118 wt_value = sdhci_readl(host, SDHCI_GLI_9750_WT); in gl9750_wt_on()
119 wt_enable = FIELD_GET(SDHCI_GLI_9750_WT_EN, wt_value); in gl9750_wt_on()
124 wt_value &= ~SDHCI_GLI_9750_WT_EN; in gl9750_wt_on()
125 wt_value |= FIELD_PREP(SDHCI_GLI_9750_WT_EN, GLI_9750_WT_EN_ON); in gl9750_wt_on()
127 sdhci_writel(host, wt_value, SDHCI_GLI_9750_WT); in gl9750_wt_on()
132 u32 wt_value; in gl9750_wt_off() local
135 wt_value = sdhci_readl(host, SDHCI_GLI_9750_WT); in gl9750_wt_off()
136 wt_enable = FIELD_GET(SDHCI_GLI_9750_WT_EN, wt_value); in gl9750_wt_off()
141 wt_value &= ~SDHCI_GLI_9750_WT_EN; in gl9750_wt_off()
[all …]
/Linux-v5.10/drivers/i2c/busses/
Di2c-axxia.c530 unsigned int wt_value; in axxia_i2c_xfer_msg() local
559 wt_value = WT_VALUE(readl(idev->base + WAIT_TIMER_CONTROL)); in axxia_i2c_xfer_msg()
561 writel(wt_value, idev->base + WAIT_TIMER_CONTROL); in axxia_i2c_xfer_msg()
574 writel(WT_EN | wt_value, idev->base + WAIT_TIMER_CONTROL); in axxia_i2c_xfer_msg()