/* This file is autogenerated by tracetool, do not edit. */

#ifndef TRACE_HW_XBOX_MCPX_NVNET_GENERATED_TRACERS_H
#define TRACE_HW_XBOX_MCPX_NVNET_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_NVNET_PHY_REG_READ_EVENT;
extern TraceEvent _TRACE_NVNET_PHY_REG_WRITE_EVENT;
extern TraceEvent _TRACE_NVNET_REG_READ_EVENT;
extern TraceEvent _TRACE_NVNET_REG_WRITE_EVENT;
extern TraceEvent _TRACE_NVNET_IO_READ_EVENT;
extern TraceEvent _TRACE_NVNET_IO_WRITE_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_BCAST_MATCH_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_MCAST_MATCH_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_MCAST_MISMATCH_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_UCAST_MATCH_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_UCAST_MISMATCH_EVENT;
extern TraceEvent _TRACE_NVNET_RX_OVERSIZED_EVENT;
extern TraceEvent _TRACE_NVNET_RX_FILTER_DROPPED_EVENT;
extern TraceEvent _TRACE_NVNET_LINK_NEGOTIATION_START_EVENT;
extern TraceEvent _TRACE_NVNET_LINK_NEGOTIATION_DONE_EVENT;
extern TraceEvent _TRACE_NVNET_LINK_STATUS_CHANGED_EVENT;
extern TraceEvent _TRACE_NVNET_CANT_RX_EVENT;
extern TraceEvent _TRACE_NVNET_CANT_TX_EVENT;
extern TraceEvent _TRACE_NVNET_UPDATE_IRQ_EVENT;
extern TraceEvent _TRACE_NVNET_DESC_STORE_EVENT;
extern TraceEvent _TRACE_NVNET_RX_DMA_EVENT;
extern TraceEvent _TRACE_NVNET_TX_DMA_EVENT;
extern TraceEvent _TRACE_NVNET_PACKET_TX_EVENT;
extern uint16_t _TRACE_NVNET_PHY_REG_READ_DSTATE;
extern uint16_t _TRACE_NVNET_PHY_REG_WRITE_DSTATE;
extern uint16_t _TRACE_NVNET_REG_READ_DSTATE;
extern uint16_t _TRACE_NVNET_REG_WRITE_DSTATE;
extern uint16_t _TRACE_NVNET_IO_READ_DSTATE;
extern uint16_t _TRACE_NVNET_IO_WRITE_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_BCAST_MATCH_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_MCAST_MATCH_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_MCAST_MISMATCH_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_UCAST_MATCH_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_UCAST_MISMATCH_DSTATE;
extern uint16_t _TRACE_NVNET_RX_OVERSIZED_DSTATE;
extern uint16_t _TRACE_NVNET_RX_FILTER_DROPPED_DSTATE;
extern uint16_t _TRACE_NVNET_LINK_NEGOTIATION_START_DSTATE;
extern uint16_t _TRACE_NVNET_LINK_NEGOTIATION_DONE_DSTATE;
extern uint16_t _TRACE_NVNET_LINK_STATUS_CHANGED_DSTATE;
extern uint16_t _TRACE_NVNET_CANT_RX_DSTATE;
extern uint16_t _TRACE_NVNET_CANT_TX_DSTATE;
extern uint16_t _TRACE_NVNET_UPDATE_IRQ_DSTATE;
extern uint16_t _TRACE_NVNET_DESC_STORE_DSTATE;
extern uint16_t _TRACE_NVNET_RX_DMA_DSTATE;
extern uint16_t _TRACE_NVNET_TX_DMA_DSTATE;
extern uint16_t _TRACE_NVNET_PACKET_TX_DSTATE;
#define TRACE_NVNET_PHY_REG_READ_ENABLED 1
#define TRACE_NVNET_PHY_REG_WRITE_ENABLED 1
#define TRACE_NVNET_REG_READ_ENABLED 1
#define TRACE_NVNET_REG_WRITE_ENABLED 1
#define TRACE_NVNET_IO_READ_ENABLED 1
#define TRACE_NVNET_IO_WRITE_ENABLED 1
#define TRACE_NVNET_RX_FILTER_BCAST_MATCH_ENABLED 1
#define TRACE_NVNET_RX_FILTER_MCAST_MATCH_ENABLED 1
#define TRACE_NVNET_RX_FILTER_MCAST_MISMATCH_ENABLED 1
#define TRACE_NVNET_RX_FILTER_UCAST_MATCH_ENABLED 1
#define TRACE_NVNET_RX_FILTER_UCAST_MISMATCH_ENABLED 1
#define TRACE_NVNET_RX_OVERSIZED_ENABLED 1
#define TRACE_NVNET_RX_FILTER_DROPPED_ENABLED 1
#define TRACE_NVNET_LINK_NEGOTIATION_START_ENABLED 1
#define TRACE_NVNET_LINK_NEGOTIATION_DONE_ENABLED 1
#define TRACE_NVNET_LINK_STATUS_CHANGED_ENABLED 1
#define TRACE_NVNET_CANT_RX_ENABLED 1
#define TRACE_NVNET_CANT_TX_ENABLED 1
#define TRACE_NVNET_UPDATE_IRQ_ENABLED 1
#define TRACE_NVNET_DESC_STORE_ENABLED 1
#define TRACE_NVNET_RX_DMA_ENABLED 1
#define TRACE_NVNET_TX_DMA_ENABLED 1
#define TRACE_NVNET_PACKET_TX_ENABLED 1
#include "qemu/log-for-trace.h"
#include "qemu/error-report.h"


#define TRACE_NVNET_PHY_REG_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_PHY_REG_READ) || \
    false)

static inline void _nocheck__trace_nvnet_phy_reg_read(unsigned int phy_addr, uint8_t addr, const char * name, uint16_t val)
{
    if (trace_event_get_state(TRACE_NVNET_PHY_REG_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 4 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_phy_reg_read " "phy %d addr 0x%"PRIx8" %s val 0x%"PRIx16 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , phy_addr, addr, name, val);
#line 97 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 4 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_phy_reg_read " "phy %d addr 0x%"PRIx8" %s val 0x%"PRIx16 "\n", phy_addr, addr, name, val);
#line 101 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_phy_reg_read(unsigned int phy_addr, uint8_t addr, const char * name, uint16_t val)
{
    if (true) {
        _nocheck__trace_nvnet_phy_reg_read(phy_addr, addr, name, val);
    }
}

#define TRACE_NVNET_PHY_REG_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_PHY_REG_WRITE) || \
    false)

static inline void _nocheck__trace_nvnet_phy_reg_write(unsigned int phy_addr, uint8_t addr, const char * name, uint16_t val)
{
    if (trace_event_get_state(TRACE_NVNET_PHY_REG_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 5 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_phy_reg_write " "phy %d addr 0x%"PRIx8" %s val 0x%"PRIx16 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , phy_addr, addr, name, val);
#line 128 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 5 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_phy_reg_write " "phy %d addr 0x%"PRIx8" %s val 0x%"PRIx16 "\n", phy_addr, addr, name, val);
#line 132 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_phy_reg_write(unsigned int phy_addr, uint8_t addr, const char * name, uint16_t val)
{
    if (true) {
        _nocheck__trace_nvnet_phy_reg_write(phy_addr, addr, name, val);
    }
}

#define TRACE_NVNET_REG_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_REG_READ) || \
    false)

static inline void _nocheck__trace_nvnet_reg_read(uint32_t addr, const char * name, unsigned int size, uint64_t val)
{
    if (trace_event_get_state(TRACE_NVNET_REG_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 6 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_reg_read " "addr 0x%"PRIx32" %s size %d val 0x%"PRIx64 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, name, size, val);
#line 159 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 6 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_reg_read " "addr 0x%"PRIx32" %s size %d val 0x%"PRIx64 "\n", addr, name, size, val);
#line 163 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_reg_read(uint32_t addr, const char * name, unsigned int size, uint64_t val)
{
    if (true) {
        _nocheck__trace_nvnet_reg_read(addr, name, size, val);
    }
}

#define TRACE_NVNET_REG_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_REG_WRITE) || \
    false)

static inline void _nocheck__trace_nvnet_reg_write(uint32_t addr, const char * name, unsigned int size, uint64_t val)
{
    if (trace_event_get_state(TRACE_NVNET_REG_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 7 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_reg_write " "addr 0x%"PRIx32" %s size %d val 0x%"PRIx64 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, name, size, val);
#line 190 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 7 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_reg_write " "addr 0x%"PRIx32" %s size %d val 0x%"PRIx64 "\n", addr, name, size, val);
#line 194 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_reg_write(uint32_t addr, const char * name, unsigned int size, uint64_t val)
{
    if (true) {
        _nocheck__trace_nvnet_reg_write(addr, name, size, val);
    }
}

#define TRACE_NVNET_IO_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_IO_READ) || \
    false)

static inline void _nocheck__trace_nvnet_io_read(uint32_t addr, unsigned int size, uint64_t val)
{
    if (trace_event_get_state(TRACE_NVNET_IO_READ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 8 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_io_read " "addr 0x%"PRIx32" size %d val 0x%"PRIx64 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, size, val);
#line 221 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 8 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_io_read " "addr 0x%"PRIx32" size %d val 0x%"PRIx64 "\n", addr, size, val);
#line 225 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_io_read(uint32_t addr, unsigned int size, uint64_t val)
{
    if (true) {
        _nocheck__trace_nvnet_io_read(addr, size, val);
    }
}

#define TRACE_NVNET_IO_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_IO_WRITE) || \
    false)

static inline void _nocheck__trace_nvnet_io_write(uint32_t addr, unsigned int size, uint64_t val)
{
    if (trace_event_get_state(TRACE_NVNET_IO_WRITE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 9 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_io_write " "addr 0x%"PRIx32" size %d val 0x%"PRIx64 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, size, val);
#line 252 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 9 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_io_write " "addr 0x%"PRIx32" size %d val 0x%"PRIx64 "\n", addr, size, val);
#line 256 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_io_write(uint32_t addr, unsigned int size, uint64_t val)
{
    if (true) {
        _nocheck__trace_nvnet_io_write(addr, size, val);
    }
}

#define TRACE_NVNET_RX_FILTER_BCAST_MATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_BCAST_MATCH) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_bcast_match(void)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_BCAST_MATCH) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 10 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_bcast_match " "broadcast match" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 283 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 10 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_bcast_match " "broadcast match" "\n");
#line 287 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_bcast_match(void)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_bcast_match();
    }
}

#define TRACE_NVNET_RX_FILTER_MCAST_MATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_MCAST_MATCH) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_mcast_match(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_MCAST_MATCH) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 11 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_mcast_match " "multicast match: %02x:%02x:%02x:%02x:%02x:%02x" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , b0, b1, b2, b3, b4, b5);
#line 314 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 11 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_mcast_match " "multicast match: %02x:%02x:%02x:%02x:%02x:%02x" "\n", b0, b1, b2, b3, b4, b5);
#line 318 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_mcast_match(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_mcast_match(b0, b1, b2, b3, b4, b5);
    }
}

#define TRACE_NVNET_RX_FILTER_MCAST_MISMATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_MCAST_MISMATCH) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_mcast_mismatch(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_MCAST_MISMATCH) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 12 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_mcast_mismatch " "multicast mismatch: %02x:%02x:%02x:%02x:%02x:%02x" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , b0, b1, b2, b3, b4, b5);
#line 345 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 12 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_mcast_mismatch " "multicast mismatch: %02x:%02x:%02x:%02x:%02x:%02x" "\n", b0, b1, b2, b3, b4, b5);
#line 349 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_mcast_mismatch(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_mcast_mismatch(b0, b1, b2, b3, b4, b5);
    }
}

#define TRACE_NVNET_RX_FILTER_UCAST_MATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_UCAST_MATCH) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_ucast_match(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_UCAST_MATCH) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 13 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_ucast_match " "unicast match: %02x:%02x:%02x:%02x:%02x:%02x" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , b0, b1, b2, b3, b4, b5);
#line 376 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 13 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_ucast_match " "unicast match: %02x:%02x:%02x:%02x:%02x:%02x" "\n", b0, b1, b2, b3, b4, b5);
#line 380 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_ucast_match(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_ucast_match(b0, b1, b2, b3, b4, b5);
    }
}

#define TRACE_NVNET_RX_FILTER_UCAST_MISMATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_UCAST_MISMATCH) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_ucast_mismatch(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_UCAST_MISMATCH) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 14 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_ucast_mismatch " "unicast mismatch: %02x:%02x:%02x:%02x:%02x:%02x" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , b0, b1, b2, b3, b4, b5);
#line 407 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 14 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_ucast_mismatch " "unicast mismatch: %02x:%02x:%02x:%02x:%02x:%02x" "\n", b0, b1, b2, b3, b4, b5);
#line 411 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_ucast_mismatch(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4, uint8_t b5)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_ucast_mismatch(b0, b1, b2, b3, b4, b5);
    }
}

#define TRACE_NVNET_RX_OVERSIZED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_OVERSIZED) || \
    false)

static inline void _nocheck__trace_nvnet_rx_oversized(size_t size)
{
    if (trace_event_get_state(TRACE_NVNET_RX_OVERSIZED) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 15 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_oversized " "Received packet dropped because it was oversized (%zu bytes)" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , size);
#line 438 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 15 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_oversized " "Received packet dropped because it was oversized (%zu bytes)" "\n", size);
#line 442 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_oversized(size_t size)
{
    if (true) {
        _nocheck__trace_nvnet_rx_oversized(size);
    }
}

#define TRACE_NVNET_RX_FILTER_DROPPED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_FILTER_DROPPED) || \
    false)

static inline void _nocheck__trace_nvnet_rx_filter_dropped(void)
{
    if (trace_event_get_state(TRACE_NVNET_RX_FILTER_DROPPED) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 16 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_filter_dropped " "Received packet dropped by RX filter" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 469 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 16 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_filter_dropped " "Received packet dropped by RX filter" "\n");
#line 473 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_filter_dropped(void)
{
    if (true) {
        _nocheck__trace_nvnet_rx_filter_dropped();
    }
}

#define TRACE_NVNET_LINK_NEGOTIATION_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_LINK_NEGOTIATION_START) || \
    false)

static inline void _nocheck__trace_nvnet_link_negotiation_start(void)
{
    if (trace_event_get_state(TRACE_NVNET_LINK_NEGOTIATION_START) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 17 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_link_negotiation_start " "Start link auto negotiation" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 500 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 17 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_link_negotiation_start " "Start link auto negotiation" "\n");
#line 504 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_link_negotiation_start(void)
{
    if (true) {
        _nocheck__trace_nvnet_link_negotiation_start();
    }
}

#define TRACE_NVNET_LINK_NEGOTIATION_DONE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_LINK_NEGOTIATION_DONE) || \
    false)

static inline void _nocheck__trace_nvnet_link_negotiation_done(void)
{
    if (trace_event_get_state(TRACE_NVNET_LINK_NEGOTIATION_DONE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 18 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_link_negotiation_done " "Auto negotiation is completed" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     );
#line 531 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 18 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_link_negotiation_done " "Auto negotiation is completed" "\n");
#line 535 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_link_negotiation_done(void)
{
    if (true) {
        _nocheck__trace_nvnet_link_negotiation_done();
    }
}

#define TRACE_NVNET_LINK_STATUS_CHANGED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_LINK_STATUS_CHANGED) || \
    false)

static inline void _nocheck__trace_nvnet_link_status_changed(bool status)
{
    if (trace_event_get_state(TRACE_NVNET_LINK_STATUS_CHANGED) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 19 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_link_status_changed " "New link status: %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , status);
#line 562 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 19 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_link_status_changed " "New link status: %d" "\n", status);
#line 566 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_link_status_changed(bool status)
{
    if (true) {
        _nocheck__trace_nvnet_link_status_changed(status);
    }
}

#define TRACE_NVNET_CANT_RX_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_CANT_RX) || \
    false)

static inline void _nocheck__trace_nvnet_cant_rx(bool rx_en, bool dma_en, bool link_up, bool buf_avail)
{
    if (trace_event_get_state(TRACE_NVNET_CANT_RX) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 20 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_cant_rx " "rx_en:%d dma_en:%d link_up:%d buf_avail:%d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , rx_en, dma_en, link_up, buf_avail);
#line 593 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 20 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_cant_rx " "rx_en:%d dma_en:%d link_up:%d buf_avail:%d" "\n", rx_en, dma_en, link_up, buf_avail);
#line 597 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_cant_rx(bool rx_en, bool dma_en, bool link_up, bool buf_avail)
{
    if (true) {
        _nocheck__trace_nvnet_cant_rx(rx_en, dma_en, link_up, buf_avail);
    }
}

#define TRACE_NVNET_CANT_TX_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_CANT_TX) || \
    false)

static inline void _nocheck__trace_nvnet_cant_tx(bool tx_en, bool dma_en, bool link_up)
{
    if (trace_event_get_state(TRACE_NVNET_CANT_TX) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 21 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_cant_tx " "tx_en:%d dma_en:%d link_up:%d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , tx_en, dma_en, link_up);
#line 624 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 21 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_cant_tx " "tx_en:%d dma_en:%d link_up:%d" "\n", tx_en, dma_en, link_up);
#line 628 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_cant_tx(bool tx_en, bool dma_en, bool link_up)
{
    if (true) {
        _nocheck__trace_nvnet_cant_tx(tx_en, dma_en, link_up);
    }
}

#define TRACE_NVNET_UPDATE_IRQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_UPDATE_IRQ) || \
    false)

static inline void _nocheck__trace_nvnet_update_irq(uint32_t status, uint32_t mask)
{
    if (trace_event_get_state(TRACE_NVNET_UPDATE_IRQ) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 22 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_update_irq " "status 0x%"PRIx32" mask 0x%"PRIx32 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , status, mask);
#line 655 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 22 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_update_irq " "status 0x%"PRIx32" mask 0x%"PRIx32 "\n", status, mask);
#line 659 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_update_irq(uint32_t status, uint32_t mask)
{
    if (true) {
        _nocheck__trace_nvnet_update_irq(status, mask);
    }
}

#define TRACE_NVNET_DESC_STORE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_DESC_STORE) || \
    false)

static inline void _nocheck__trace_nvnet_desc_store(uint32_t desc_addr, uint32_t buf_addr, uint16_t length, uint16_t flags)
{
    if (trace_event_get_state(TRACE_NVNET_DESC_STORE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 23 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_desc_store " "addr 0x%"PRIx32" buf 0x%"PRIx32" length 0x%"PRIx16" flags 0x%"PRIx16 "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , desc_addr, buf_addr, length, flags);
#line 686 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 23 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_desc_store " "addr 0x%"PRIx32" buf 0x%"PRIx32" length 0x%"PRIx16" flags 0x%"PRIx16 "\n", desc_addr, buf_addr, length, flags);
#line 690 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_desc_store(uint32_t desc_addr, uint32_t buf_addr, uint16_t length, uint16_t flags)
{
    if (true) {
        _nocheck__trace_nvnet_desc_store(desc_addr, buf_addr, length, flags);
    }
}

#define TRACE_NVNET_RX_DMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_RX_DMA) || \
    false)

static inline void _nocheck__trace_nvnet_rx_dma(uint32_t addr, size_t size)
{
    if (trace_event_get_state(TRACE_NVNET_RX_DMA) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 24 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_rx_dma " "addr 0x%"PRIx32" size 0x%zx" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, size);
#line 717 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 24 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_rx_dma " "addr 0x%"PRIx32" size 0x%zx" "\n", addr, size);
#line 721 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_rx_dma(uint32_t addr, size_t size)
{
    if (true) {
        _nocheck__trace_nvnet_rx_dma(addr, size);
    }
}

#define TRACE_NVNET_TX_DMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_TX_DMA) || \
    false)

static inline void _nocheck__trace_nvnet_tx_dma(uint32_t addr, size_t size)
{
    if (trace_event_get_state(TRACE_NVNET_TX_DMA) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 25 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_tx_dma " "addr 0x%"PRIx32" size 0x%zx" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , addr, size);
#line 748 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 25 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_tx_dma " "addr 0x%"PRIx32" size 0x%zx" "\n", addr, size);
#line 752 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_tx_dma(uint32_t addr, size_t size)
{
    if (true) {
        _nocheck__trace_nvnet_tx_dma(addr, size);
    }
}

#define TRACE_NVNET_PACKET_TX_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_NVNET_PACKET_TX) || \
    false)

static inline void _nocheck__trace_nvnet_packet_tx(size_t size)
{
    if (trace_event_get_state(TRACE_NVNET_PACKET_TX) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 26 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("%d@%zu.%06zu:nvnet_packet_tx " "size 0x%zx" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , size);
#line 779 "trace/trace-hw_xbox_mcpx_nvnet.h"
        } else {
#line 26 "../xemu/hw/xbox/mcpx/nvnet/trace-events"
            qemu_log("nvnet_packet_tx " "size 0x%zx" "\n", size);
#line 783 "trace/trace-hw_xbox_mcpx_nvnet.h"
        }
    }
}

static inline void trace_nvnet_packet_tx(size_t size)
{
    if (true) {
        _nocheck__trace_nvnet_packet_tx(size);
    }
}
#endif /* TRACE_HW_XBOX_MCPX_NVNET_GENERATED_TRACERS_H */
