Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/plat-samsung/
Dpm-gpio.c307 static void samsung_pm_save_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_save_gpio() argument
309 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() local
329 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 …]
Dgpio-samsung.c430 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_2bit_input() local
431 void __iomem *base = ourchip->base; in samsung_gpiolib_2bit_input()
435 samsung_gpio_lock(ourchip, flags); in samsung_gpiolib_2bit_input()
442 samsung_gpio_unlock(ourchip, flags); in samsung_gpiolib_2bit_input()
449 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_2bit_output() local
450 void __iomem *base = ourchip->base; in samsung_gpiolib_2bit_output()
455 samsung_gpio_lock(ourchip, flags); in samsung_gpiolib_2bit_output()
470 samsung_gpio_unlock(ourchip, flags); in samsung_gpiolib_2bit_output()
493 struct samsung_gpio_chip *ourchip = to_samsung_gpio(chip); in samsung_gpiolib_4bit_input() local
494 void __iomem *base = ourchip->base; in samsung_gpiolib_4bit_input()
[all …]