Searched refs:smgpio (Results 1 – 1 of 1) sorted by relevance
890 struct sm501_gpio_chip *smgpio = gpiochip_get_data(chip); in sm501_gpio_get() local893 result = smc501_readl(smgpio->regbase + SM501_GPIO_DATA_LOW); in sm501_gpio_get()922 struct sm501_gpio *smgpio = smchip->ourgpio; in sm501_gpio_set() local928 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() local953 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 …]