bcm_gpio_get_function
nfunc = bcm_gpio_get_function(sc, sc_sysctl->pin);
func = bcm_gpio_get_function(sc, j);