Searched refs:altfunc (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/pinctrl/nomadik/
H A Dpinctrl-abx500.h138 * @altfunc: altfunc setting to be used to enable GPIO on a pin in
144 int altfunc; member in struct:abx500_pinrange
147 #define ABX500_PINRANGE(a, b, c) { .offset = a, .npins = b, .altfunc = c }
H A Dpinctrl-abx500.c738 * what altfunc enables GPIO for a certain pin. abx500_gpio_request_enable()
752 dev_dbg(pct->dev, "enable GPIO by altfunc %d at gpio %d\n", abx500_gpio_request_enable()
753 p->altfunc, offset); abx500_gpio_request_enable()
756 offset, p->altfunc); abx500_gpio_request_enable()
758 dev_err(pct->dev, "%s setting altfunc failed\n", __func__); abx500_gpio_request_enable()
H A Dpinctrl-nomadik.c106 #define PIN_SLPM_ALTFUNC PIN_SLPM_WAKEUP_DISABLE /* In SLPM, pin is altfunc */
1684 * If we're setting altfunc C by setting both AFSLA and AFSLB to 1, nmk_pmx_set()
1737 * If the pin is switching to altfunc, and there was an nmk_pmx_set()
/linux-4.4.14/arch/mips/include/asm/mach-rc32434/
H A Dgpio.h19 * func[x]==1 bit = altfunc
/linux-4.4.14/drivers/pinctrl/intel/
H A Dpinctrl-cherryview.c88 * @altfunc: Alternate function applied to all pins in this group
97 struct chv_alternate_function altfunc; member in struct:chv_pingroup
198 .altfunc.mode = (m), \
199 .altfunc.invert_oe = (i), \
207 .altfunc.mode = (m), \
208 .altfunc.invert_oe = (i), \
805 const struct chv_alternate_function *altfunc = &grp->altfunc; chv_pinmux_set_mux() local
816 altfunc = &grp->overrides[j]; chv_pinmux_set_mux()
828 value |= altfunc->mode << CHV_PADCTRL0_PMODE_SHIFT; chv_pinmux_set_mux()
834 if (altfunc->invert_oe) chv_pinmux_set_mux()
839 pin, altfunc->mode, altfunc->invert_oe ? "" : "not "); chv_pinmux_set_mux()
/linux-4.4.14/drivers/mfd/
H A Dstmpe.h38 * enable and altfunc callbacks
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-st.c256 int altfunc; member in struct:st_pinconf
962 st_pctl_set_function(pc, conf[i].pin, conf[i].altfunc); st_pmx_set_mux()
974 * When a PIO bank is used in its primary function mode (altfunc = 0) st_pmx_set_gpio_direction()
1269 conf->altfunc = be32_to_cpup(list++); for_each_property_of_node()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dtosa.c912 /* We can't pass to gpio-keys since it will drop the Reset altfunc */ tosa_init()
/linux-4.4.14/include/linux/mfd/
H A Dsta2x11-mfd.h59 /* Pinconfig is set by the board definition: altfunc, pull-up, pull-down */

Completed in 432 milliseconds