Hi,
What device are you using? I suppose it's one of the C66x.
I think that there's not examples, but if you look at:
PDK_C66xxxx_DIR/packages/ti/platform/evmc66xxl/platform_lib/src
You will find a file called evmc66xx_gpio.c, there you will find the functions definitions. Those functions use the gpio functions defined in PDK_C66xxxx_DIR/packages/ti/csl/csl_gpioAux.h. There are examples for the functions defined in csl_gpioAux.h in the doxygen comments of the functions.
Regards
J