There must be declaration of this function according to hardware configuration. You can set or analyse hardware pinmux by using pinmux utlility provided by ti.
for more info please visit : http://processors.wiki.ti.com/index.php/Pin_Mux_Utility_for_ARM_MPU_Processors
best luck