SLI4_PORT_SEMAPHORE_IN_ERR
rc = (SLI4_PORT_SEMAPHORE_IN_ERR(sliport_semaphore) ? 1 : 0);
(!SLI4_PORT_SEMAPHORE_IN_ERR(val)) ? 1 : 0);