Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dsm501.c906 if (smc501_readl(smchip->control) & bit) { in sm501_gpio_ensure_gpio()
910 ctrl = smc501_readl(smchip->control); in sm501_gpio_ensure_gpio()
912 smc501_writel(ctrl, smchip->control); in sm501_gpio_ensure_gpio()
922 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_set()
924 void __iomem *regs = smchip->regbase; in sm501_gpio_set()
939 sm501_gpio_ensure_gpio(smchip, bit); in sm501_gpio_set()
947 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_input()
948 void __iomem *regs = smchip->regbase; in sm501_gpio_input()
962 sm501_gpio_ensure_gpio(smchip, bit); in sm501_gpio_input()
973 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_output()
[all …]