#define __DM_EVENT_LOG_H__
-#define EVENT_LOG_I2CAUX_READ(transType, dcc, address, status, len, data)
-#define EVENT_LOG_I2CAUX_WRITE(transType, dcc, address, status, len, data)
#define EVENT_LOG_AUX_REQ(dcc, type, action, address, len, data)
#define EVENT_LOG_AUX_Reply(dcc, type, swStatus, replyStatus, len, data)
if (request->payload.address_space ==
I2CAUX_TRANSACTION_ADDRESS_SPACE_DPCD) {
- EVENT_LOG_I2CAUX_READ(request->payload.address_space,
- engine->base.ddc->pin_data->en,
- request->payload.address,
- request->status,
- request->payload.length,
- request->payload.data);
DC_LOG_I2C_AUX("READ: addr:0x%x value:0x%x Result:%d",
request->payload.address,
request->payload.data[0],
if (request->payload.address_space ==
I2CAUX_TRANSACTION_ADDRESS_SPACE_DPCD) {
- EVENT_LOG_I2CAUX_WRITE(request->payload.address_space,
- engine->base.ddc->pin_data->en,
- request->payload.address,
- request->status,
- request->payload.length,
- request->payload.data);
DC_LOG_I2C_AUX("WRITE: addr:0x%x value:0x%x Result:%d",
request->payload.address,
request->payload.data[0],
process_channel_reply(&hw_engine->base, &reply);
}
- if (i2caux_request->operation == I2CAUX_TRANSACTION_READ) {
- EVENT_LOG_I2CAUX_READ(i2caux_request->payload.address_space,
- engine->ddc->pin_data->en,
- i2caux_request->payload.address,
- i2caux_request->status,
- i2caux_request->payload.length,
- i2caux_request->payload.data);
- } else if (i2caux_request->operation == I2CAUX_TRANSACTION_WRITE) {
- EVENT_LOG_I2CAUX_WRITE(i2caux_request->payload.address_space,
- engine->ddc->pin_data->en,
- i2caux_request->payload.address,
- i2caux_request->status,
- i2caux_request->payload.length,
- i2caux_request->payload.data);
- }
return result;