Lines Matching refs:fsel
285 enum bcm2835_fsel fsel) in bcm2835_pinctrl_fsel_set() argument
293 if (cur == fsel) in bcm2835_pinctrl_fsel_set()
296 if (cur != BCM2835_FSEL_GPIO_IN && fsel != BCM2835_FSEL_GPIO_IN) { in bcm2835_pinctrl_fsel_set()
307 val |= fsel << FSEL_SHIFT(pin); in bcm2835_pinctrl_fsel_set()
310 bcm2835_functions[fsel]); in bcm2835_pinctrl_fsel_set()
332 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_gpio_get_direction() local
335 if (fsel > BCM2835_FSEL_GPIO_OUT) in bcm2835_gpio_get_direction()
338 if (fsel == BCM2835_FSEL_GPIO_IN) in bcm2835_gpio_get_direction()
737 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pctl_pin_dbg_show() local
738 const char *fname = bcm2835_functions[fsel]; in bcm2835_pctl_pin_dbg_show()
977 enum bcm2835_fsel fsel = input ? in bcm2835_pmx_gpio_set_direction()
980 bcm2835_pinctrl_fsel_set(pc, offset, fsel); in bcm2835_pmx_gpio_set_direction()