Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Chipidea Device Mode Trace Support
0004  *
0005  * Copyright (C) 2020 NXP
0006  *
0007  * Author: Peter Chen <peter.chen@nxp.com>
0008  */
0009 
0010 #define CREATE_TRACE_POINTS
0011 #include "trace.h"
0012 
0013 void ci_log(struct ci_hdrc *ci, const char *fmt, ...)
0014 {
0015     struct va_format vaf;
0016     va_list args;
0017 
0018     va_start(args, fmt);
0019     vaf.fmt = fmt;
0020     vaf.va = &args;
0021     trace_ci_log(ci, &vaf);
0022     va_end(args);
0023 }