Lines Matching refs:fsel
284 enum bcm2835_fsel fsel) in bcm2835_pinctrl_fsel_set() argument
292 if (cur == fsel) in bcm2835_pinctrl_fsel_set()
295 if (cur != BCM2835_FSEL_GPIO_IN && fsel != BCM2835_FSEL_GPIO_IN) { in bcm2835_pinctrl_fsel_set()
306 val |= fsel << FSEL_SHIFT(pin); in bcm2835_pinctrl_fsel_set()
309 bcm2835_functions[fsel]); in bcm2835_pinctrl_fsel_set()
328 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_gpio_get_direction() local
331 if (fsel > BCM2835_FSEL_GPIO_OUT) in bcm2835_gpio_get_direction()
334 if (fsel == BCM2835_FSEL_GPIO_IN) in bcm2835_gpio_get_direction()
711 enum bcm2835_fsel fsel = bcm2835_pinctrl_fsel_get(pc, offset); in bcm2835_pctl_pin_dbg_show() local
712 const char *fname = bcm2835_functions[fsel]; in bcm2835_pctl_pin_dbg_show()
951 enum bcm2835_fsel fsel = input ? in bcm2835_pmx_gpio_set_direction()
954 bcm2835_pinctrl_fsel_set(pc, offset, fsel); in bcm2835_pmx_gpio_set_direction()