Searched refs:sm501_gpio_to_dev (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/mfd/ |
D | sm501.c | 895 static inline struct sm501_devdata *sm501_gpio_to_dev(struct sm501_gpio *gpio) in sm501_gpio_to_dev() function 920 dev_info(sm501_gpio_to_dev(smchip->ourgpio)->dev, in sm501_gpio_ensure_gpio() 927 sm501_sync_regs(sm501_gpio_to_dev(smchip->ourgpio)); in sm501_gpio_ensure_gpio() 941 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_set() 951 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_set() 966 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d)\n", in sm501_gpio_input() 974 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_input() 993 dev_dbg(sm501_gpio_to_dev(smgpio)->dev, "%s(%p,%d,%d)\n", in sm501_gpio_output() 1008 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_output() 1011 sm501_sync_regs(sm501_gpio_to_dev(smgpio)); in sm501_gpio_output()
|