Searched refs:nmk_chip (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 286 static void __nmk_gpio_set_mode(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_mode() argument 291 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & ~BIT(offset); in __nmk_gpio_set_mode() 292 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & ~BIT(offset); in __nmk_gpio_set_mode() 297 writel(afunc, nmk_chip->addr + NMK_GPIO_AFSLA); in __nmk_gpio_set_mode() 298 writel(bfunc, nmk_chip->addr + NMK_GPIO_AFSLB); in __nmk_gpio_set_mode() 301 static void __nmk_gpio_set_slpm(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_slpm() argument 306 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm() 311 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm() 314 static void __nmk_gpio_set_pull(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_pull() argument 319 pdis = readl(nmk_chip in __nmk_gpio_set_pull() 338 __nmk_gpio_set_lowemi(struct nmk_gpio_chip *nmk_chip, unsigned offset, bool lowemi) __nmk_gpio_set_lowemi() argument 355 __nmk_gpio_make_input(struct nmk_gpio_chip *nmk_chip, unsigned offset) __nmk_gpio_make_input() argument 361 __nmk_gpio_set_output(struct nmk_gpio_chip *nmk_chip, unsigned offset, int val) __nmk_gpio_set_output() argument 370 __nmk_gpio_make_output(struct nmk_gpio_chip *nmk_chip, unsigned offset, int val) __nmk_gpio_make_output() argument 377 __nmk_gpio_set_mode_safe(struct nmk_gpio_chip *nmk_chip, unsigned offset, int gpio_mode, bool glitch) __nmk_gpio_set_mode_safe() argument 405 nmk_gpio_disable_lazy_irq(struct nmk_gpio_chip *nmk_chip, unsigned offset) nmk_gpio_disable_lazy_irq() argument 612 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_irq_ack() local 624 __nmk_gpio_irq_modify(struct nmk_gpio_chip *nmk_chip, int offset, enum nmk_gpio_irq_type which, bool enable) __nmk_gpio_irq_modify() argument 662 __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip, int offset, bool on) __nmk_gpio_set_wake() argument 680 struct nmk_gpio_chip *nmk_chip; nmk_gpio_irq_maskunmask() local 715 struct nmk_gpio_chip *nmk_chip; nmk_gpio_irq_set_wake() local 745 struct nmk_gpio_chip *nmk_chip; nmk_gpio_irq_set_type() local 787 struct nmk_gpio_chip *nmk_chip = irq_data_get_irq_chip_data(d); nmk_gpio_irq_startup() local 796 struct nmk_gpio_chip *nmk_chip = irq_data_get_irq_chip_data(d); nmk_gpio_irq_shutdown() local 806 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_irq_handler() local 829 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_get_dir() local 846 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_make_input() local 859 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_get_input() local 874 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_set_output() local 886 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_make_output() local 898 nmk_gpio_get_mode(struct nmk_gpio_chip *nmk_chip, int offset) nmk_gpio_get_mode() argument 919 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_dbg_show_one() local 1021 struct nmk_gpio_chip *nmk_chip; nmk_gpio_populate_chip() local 1084 struct nmk_gpio_chip *nmk_chip; nmk_gpio_probe() local 1575 struct nmk_gpio_chip *nmk_chip; nmk_pmx_set() local 1632 struct nmk_gpio_chip *nmk_chip; nmk_gpio_request_enable() local 1699 struct nmk_gpio_chip *nmk_chip; nmk_pin_config_set() local 1871 struct nmk_gpio_chip *nmk_chip; nmk_pinctrl_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 289 static void __nmk_gpio_set_mode(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_mode() argument 294 afunc = readl(nmk_chip->addr + NMK_GPIO_AFSLA) & ~BIT(offset); in __nmk_gpio_set_mode() 295 bfunc = readl(nmk_chip->addr + NMK_GPIO_AFSLB) & ~BIT(offset); in __nmk_gpio_set_mode() 300 writel(afunc, nmk_chip->addr + NMK_GPIO_AFSLA); in __nmk_gpio_set_mode() 301 writel(bfunc, nmk_chip->addr + NMK_GPIO_AFSLB); in __nmk_gpio_set_mode() 304 static void __nmk_gpio_set_slpm(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_slpm() argument 309 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm() 314 writel(slpm, nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm() 317 static void __nmk_gpio_set_pull(struct nmk_gpio_chip *nmk_chip, in __nmk_gpio_set_pull() argument 322 pdis = readl(nmk_chip in __nmk_gpio_set_pull() 341 __nmk_gpio_set_lowemi(struct nmk_gpio_chip *nmk_chip, unsigned offset, bool lowemi) __nmk_gpio_set_lowemi() argument 358 __nmk_gpio_make_input(struct nmk_gpio_chip *nmk_chip, unsigned offset) __nmk_gpio_make_input() argument 364 __nmk_gpio_set_output(struct nmk_gpio_chip *nmk_chip, unsigned offset, int val) __nmk_gpio_set_output() argument 373 __nmk_gpio_make_output(struct nmk_gpio_chip *nmk_chip, unsigned offset, int val) __nmk_gpio_make_output() argument 380 __nmk_gpio_set_mode_safe(struct nmk_gpio_chip *nmk_chip, unsigned offset, int gpio_mode, bool glitch) __nmk_gpio_set_mode_safe() argument 408 nmk_gpio_disable_lazy_irq(struct nmk_gpio_chip *nmk_chip, unsigned offset) nmk_gpio_disable_lazy_irq() argument 615 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_ack() local 627 __nmk_gpio_irq_modify(struct nmk_gpio_chip *nmk_chip, int offset, enum nmk_gpio_irq_type which, bool enable) __nmk_gpio_irq_modify() argument 665 __nmk_gpio_set_wake(struct nmk_gpio_chip *nmk_chip, int offset, bool on) __nmk_gpio_set_wake() argument 681 nmk_gpio_irq_maskunmask(struct nmk_gpio_chip *nmk_chip, struct irq_data *d, bool enable) nmk_gpio_irq_maskunmask() argument 703 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_mask() local 712 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_unmask() local 721 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_set_wake() local 746 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_set_type() local 788 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_startup() local 798 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_shutdown() local 808 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_irq_handler() local 831 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_get_dir() local 848 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_make_input() local 861 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_get_input() local 876 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_set_output() local 888 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_make_output() local 900 nmk_gpio_get_mode(struct nmk_gpio_chip *nmk_chip, int offset) nmk_gpio_get_mode() argument 919 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(chip); nmk_gpio_dbg_show_one() local 1021 struct nmk_gpio_chip *nmk_chip; nmk_gpio_populate_chip() local 1084 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc); nmk_gpio_irq_print_chip() local 1106 struct nmk_gpio_chip *nmk_chip; nmk_gpio_probe() local 1584 struct nmk_gpio_chip *nmk_chip; nmk_pmx_set() local 1641 struct nmk_gpio_chip *nmk_chip; nmk_gpio_request_enable() local 1708 struct nmk_gpio_chip *nmk_chip; nmk_pin_config_set() local 1874 struct nmk_gpio_chip *nmk_chip; nmk_pinctrl_probe() local [all...] |
Completed in 5 milliseconds