FreeBSD kernel BXE device code
bxe_debug.c File Reference
#include <sys/cdefs.h>
#include "bxe.h"
#include "ddb/ddb.h"
#include "ddb/db_sym.h"
#include "ddb/db_lex.h"
Include dependency graph for bxe_debug.c:

Go to the source code of this file.

Functions

 __FBSDID ("$FreeBSD$")
 
void elink_cb_dbg (struct bxe_softc *sc, char *fmt)
 
void elink_cb_dbg1 (struct bxe_softc *sc, char *fmt, uint32_t arg1)
 
void elink_cb_dbg2 (struct bxe_softc *sc, char *fmt, uint32_t arg1, uint32_t arg2)
 
void elink_cb_dbg3 (struct bxe_softc *sc, char *fmt, uint32_t arg1, uint32_t arg2, uint32_t arg3)
 
void bxe_dump_mem (struct bxe_softc *sc, char *tag, uint8_t *mem, uint32_t len)
 
void bxe_dump_mbuf_data (struct bxe_softc *sc, char *tag, struct mbuf *m, uint8_t contents)
 

Variables

struct mtx bxe_prev_mtx
 

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ bxe_dump_mbuf_data()

void bxe_dump_mbuf_data ( struct bxe_softc sc,
char *  tag,
struct mbuf *  m,
uint8_t  contents 
)

Definition at line 230 of file bxe_debug.c.

References BLOGI, and bxe_prev_mtx.

Referenced by bxe_dump_mbuf().

Here is the caller graph for this function:

◆ bxe_dump_mem()

void bxe_dump_mem ( struct bxe_softc sc,
char *  tag,
uint8_t *  mem,
uint32_t  len 
)

Definition at line 192 of file bxe_debug.c.

References BLOGI, and bxe_prev_mtx.

◆ elink_cb_dbg()

void elink_cb_dbg ( struct bxe_softc sc,
char *  fmt 
)

Definition at line 135 of file bxe_debug.c.

References DBG_PHY, bxe_softc::debug, and bxe_softc::dev.

◆ elink_cb_dbg1()

void elink_cb_dbg1 ( struct bxe_softc sc,
char *  fmt,
uint32_t  arg1 
)

Definition at line 146 of file bxe_debug.c.

References DBG_PHY, bxe_softc::debug, and bxe_softc::dev.

◆ elink_cb_dbg2()

void elink_cb_dbg2 ( struct bxe_softc sc,
char *  fmt,
uint32_t  arg1,
uint32_t  arg2 
)

Definition at line 159 of file bxe_debug.c.

References DBG_PHY, bxe_softc::debug, and bxe_softc::dev.

◆ elink_cb_dbg3()

void elink_cb_dbg3 ( struct bxe_softc sc,
char *  fmt,
uint32_t  arg1,
uint32_t  arg2,
uint32_t  arg3 
)

Definition at line 173 of file bxe_debug.c.

References DBG_PHY, bxe_softc::debug, and bxe_softc::dev.

Variable Documentation

◆ bxe_prev_mtx

struct mtx bxe_prev_mtx
extern