Searched refs:ourchip (Results 1 – 2 of 2) sorted by relevance
307 static void samsung_pm_save_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_save_gpio() argument309 struct samsung_gpio_pm *pm = ourchip->pm; in samsung_pm_save_gpio()312 S3C_PMDBG("%s: no pm for %s\n", __func__, ourchip->chip.label); in samsung_pm_save_gpio()314 pm->save(ourchip); in samsung_pm_save_gpio()325 struct samsung_gpio_chip *ourchip; in samsung_pm_save_gpios() local329 ourchip = samsung_gpiolib_getchip(gpio_nr); in samsung_pm_save_gpios()330 if (!ourchip) { in samsung_pm_save_gpios()335 samsung_pm_save_gpio(ourchip); in samsung_pm_save_gpios()338 ourchip->chip.label, in samsung_pm_save_gpios()339 ourchip->pm_save[0], in samsung_pm_save_gpios()[all …]
431 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_2bit_input() local432 void __iomem *base = ourchip->base; in samsung_gpiolib_2bit_input()436 samsung_gpio_lock(ourchip, flags); in samsung_gpiolib_2bit_input()443 samsung_gpio_unlock(ourchip, flags); in samsung_gpiolib_2bit_input()450 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_2bit_output() local451 void __iomem *base = ourchip->base; in samsung_gpiolib_2bit_output()456 samsung_gpio_lock(ourchip, flags); in samsung_gpiolib_2bit_output()471 samsung_gpio_unlock(ourchip, flags); in samsung_gpiolib_2bit_output()494 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_4bit_input() local495 void __iomem *base = ourchip->base; in samsung_gpiolib_4bit_input()[all …]