drm/nouveau/i2c/anx9805: add debugging to aux transactions
[deliverable/linux.git] / drivers / gpu / drm / nouveau / core / subdev / i2c / port.h
1 #ifndef __NVKM_I2C_PORT_H__
2 #define __NVKM_I2C_PORT_H__
3
4 #include "priv.h"
5
6 #ifndef MSG
7 #define MSG(l,f,a...) do { \
8 struct nouveau_i2c_port *_port = (void *)port; \
9 nv_##l(nv_object(_port)->engine, "PORT:%02x: "f, _port->index, ##a); \
10 } while(0)
11 #define DBG(f,a...) MSG(debug, f, ##a)
12 #define ERR(f,a...) MSG(error, f, ##a)
13 #endif
14
15 #endif
This page took 0.045582 seconds and 5 git commands to generate.