Searched refs:sm501_gpio_to_dev (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/mfd/ |
D | sm501.c | 882 static inline struct sm501_devdata *sm501_gpio_to_dev(struct sm501_gpio *gpio) in sm501_gpio_to_dev() function 907 dev_info(sm501_gpio_to_dev(smchip->ourgpio)->dev, in sm501_gpio_ensure_gpio() 914 sm501_sync_regs(sm501_gpio_to_dev(smchip->ourgpio)); in sm501_gpio_ensure_gpio() 928 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_set() 938 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_set() 953 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_input() 961 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_input() 980 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d,%d)\n", in sm501_gpio_output() 995 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_output() 998 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_output()
|