ocs_frame_next
frame = ocs_frame_next(pend_list, list_lock);
static ocs_hw_sequence_t *ocs_frame_next(ocs_list_t *pend_list, ocs_lock_t *list_lock);