Split spimux functions from knc-asic.c