Lines Matching refs:fmt
19 #define dev_fmt(fmt) fmt argument
36 const char *fmt, va_list args);
38 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...);
42 const char *fmt, ...);
44 void _dev_emerg(const struct device *dev, const char *fmt, ...);
46 void _dev_alert(const struct device *dev, const char *fmt, ...);
48 void _dev_crit(const struct device *dev, const char *fmt, ...);
50 void _dev_err(const struct device *dev, const char *fmt, ...);
52 void _dev_warn(const struct device *dev, const char *fmt, ...);
54 void _dev_notice(const struct device *dev, const char *fmt, ...);
56 void _dev_info(const struct device *dev, const char *fmt, ...);
62 const char *fmt, va_list args) in dev_vprintk_emit() argument
65 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) in dev_printk_emit() argument
73 const char *fmt, ...) in dev_printk() argument
77 void _dev_emerg(const struct device *dev, const char *fmt, ...) in _dev_emerg() argument
80 void _dev_crit(const struct device *dev, const char *fmt, ...) in _dev_crit() argument
83 void _dev_alert(const struct device *dev, const char *fmt, ...) in _dev_alert() argument
86 void _dev_err(const struct device *dev, const char *fmt, ...) in _dev_err() argument
89 void _dev_warn(const struct device *dev, const char *fmt, ...) in _dev_warn() argument
92 void _dev_notice(const struct device *dev, const char *fmt, ...) in _dev_notice() argument
95 void _dev_info(const struct device *dev, const char *fmt, ...) in _dev_info() argument
105 #define dev_emerg(dev, fmt, ...) \ argument
106 _dev_emerg(dev, dev_fmt(fmt), ##__VA_ARGS__)
107 #define dev_crit(dev, fmt, ...) \ argument
108 _dev_crit(dev, dev_fmt(fmt), ##__VA_ARGS__)
109 #define dev_alert(dev, fmt, ...) \ argument
110 _dev_alert(dev, dev_fmt(fmt), ##__VA_ARGS__)
111 #define dev_err(dev, fmt, ...) \ argument
112 _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
113 #define dev_warn(dev, fmt, ...) \ argument
114 _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__)
115 #define dev_notice(dev, fmt, ...) \ argument
116 _dev_notice(dev, dev_fmt(fmt), ##__VA_ARGS__)
117 #define dev_info(dev, fmt, ...) \ argument
118 _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
122 #define dev_dbg(dev, fmt, ...) \ argument
123 dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
125 #define dev_dbg(dev, fmt, ...) \ argument
126 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__)
128 #define dev_dbg(dev, fmt, ...) \ argument
131 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
136 #define dev_level_once(dev_level, dev, fmt, ...) \ argument
142 dev_level(dev, fmt, ##__VA_ARGS__); \
146 #define dev_level_once(dev_level, dev, fmt, ...) \ argument
149 dev_level(dev, fmt, ##__VA_ARGS__); \
153 #define dev_emerg_once(dev, fmt, ...) \ argument
154 dev_level_once(dev_emerg, dev, fmt, ##__VA_ARGS__)
155 #define dev_alert_once(dev, fmt, ...) \ argument
156 dev_level_once(dev_alert, dev, fmt, ##__VA_ARGS__)
157 #define dev_crit_once(dev, fmt, ...) \ argument
158 dev_level_once(dev_crit, dev, fmt, ##__VA_ARGS__)
159 #define dev_err_once(dev, fmt, ...) \ argument
160 dev_level_once(dev_err, dev, fmt, ##__VA_ARGS__)
161 #define dev_warn_once(dev, fmt, ...) \ argument
162 dev_level_once(dev_warn, dev, fmt, ##__VA_ARGS__)
163 #define dev_notice_once(dev, fmt, ...) \ argument
164 dev_level_once(dev_notice, dev, fmt, ##__VA_ARGS__)
165 #define dev_info_once(dev, fmt, ...) \ argument
166 dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
167 #define dev_dbg_once(dev, fmt, ...) \ argument
168 dev_level_once(dev_dbg, dev, fmt, ##__VA_ARGS__)
170 #define dev_level_ratelimited(dev_level, dev, fmt, ...) \ argument
176 dev_level(dev, fmt, ##__VA_ARGS__); \
179 #define dev_emerg_ratelimited(dev, fmt, ...) \ argument
180 dev_level_ratelimited(dev_emerg, dev, fmt, ##__VA_ARGS__)
181 #define dev_alert_ratelimited(dev, fmt, ...) \ argument
182 dev_level_ratelimited(dev_alert, dev, fmt, ##__VA_ARGS__)
183 #define dev_crit_ratelimited(dev, fmt, ...) \ argument
184 dev_level_ratelimited(dev_crit, dev, fmt, ##__VA_ARGS__)
185 #define dev_err_ratelimited(dev, fmt, ...) \ argument
186 dev_level_ratelimited(dev_err, dev, fmt, ##__VA_ARGS__)
187 #define dev_warn_ratelimited(dev, fmt, ...) \ argument
188 dev_level_ratelimited(dev_warn, dev, fmt, ##__VA_ARGS__)
189 #define dev_notice_ratelimited(dev, fmt, ...) \ argument
190 dev_level_ratelimited(dev_notice, dev, fmt, ##__VA_ARGS__)
191 #define dev_info_ratelimited(dev, fmt, ...) \ argument
192 dev_level_ratelimited(dev_info, dev, fmt, ##__VA_ARGS__)
196 #define dev_dbg_ratelimited(dev, fmt, ...) \ argument
201 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \
204 __dynamic_dev_dbg(&descriptor, dev, dev_fmt(fmt), \
208 #define dev_dbg_ratelimited(dev, fmt, ...) \ argument
214 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
217 #define dev_dbg_ratelimited(dev, fmt, ...) \ argument
220 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \
227 #define dev_vdbg(dev, fmt, ...) \ argument
230 dev_printk(KERN_DEBUG, dev, dev_fmt(fmt), ##__VA_ARGS__); \