Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mfd/
Dsm501.c890 struct sm501_gpio_chip *smgpio = gpiochip_get_data(chip); in sm501_gpio_get() local
893 result = smc501_readl(smgpio->regbase + SM501_GPIO_DATA_LOW); in sm501_gpio_get()
922 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_set() local
928 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_set()
931 spin_lock_irqsave(&smgpio->lock, save); in sm501_gpio_set()
938 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_set()
941 spin_unlock_irqrestore(&smgpio->lock, save); in sm501_gpio_set()
947 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_input() local
953 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_input()
956 spin_lock_irqsave(&smgpio->lock, save); in sm501_gpio_input()
[all …]