Lines Matching refs:sfp
77 static int jh7110_aon_set_one_pin_mux(struct jh7110_pinctrl *sfp, in jh7110_aon_set_one_pin_mux() argument
82 if (pin < sfp->gc.ngpio && func == 0) in jh7110_aon_set_one_pin_mux()
83 jh7110_set_gpiomux(sfp, pin, din, dout, doen); in jh7110_aon_set_one_pin_mux()
88 static int jh7110_aon_get_padcfg_base(struct jh7110_pinctrl *sfp, in jh7110_aon_get_padcfg_base() argument
99 struct jh7110_pinctrl *sfp = jh7110_from_irq_desc(desc); in jh7110_aon_irq_handler() local
106 mis = readl_relaxed(sfp->base + JH7110_AON_GPIOMIS); in jh7110_aon_irq_handler()
108 generic_handle_domain_irq(sfp->gc.irq.domain, pin); in jh7110_aon_irq_handler()
115 struct jh7110_pinctrl *sfp = container_of(gc, in jh7110_aon_init_hw() local
119 writel_relaxed(0, sfp->base + JH7110_AON_GPIOIE); in jh7110_aon_init_hw()
121 writel_relaxed(0, sfp->base + JH7110_AON_GPIOIC); in jh7110_aon_init_hw()
122 writel_relaxed(0x0f, sfp->base + JH7110_AON_GPIOIC); in jh7110_aon_init_hw()
124 writel_relaxed(1, sfp->base + JH7110_AON_GPIOEN); in jh7110_aon_init_hw()