Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
deb_defs.h File Reference
#include <linux/spinlock.h>

Go to the source code of this file.

Macros

#define DRV_NAME   "libertas_tf"
 
#define LBTF_DEB_ENTER   0x00000001
 
#define LBTF_DEB_LEAVE   0x00000002
 
#define LBTF_DEB_MAIN   0x00000004
 
#define LBTF_DEB_NET   0x00000008
 
#define LBTF_DEB_MESH   0x00000010
 
#define LBTF_DEB_WEXT   0x00000020
 
#define LBTF_DEB_IOCTL   0x00000040
 
#define LBTF_DEB_SCAN   0x00000080
 
#define LBTF_DEB_ASSOC   0x00000100
 
#define LBTF_DEB_JOIN   0x00000200
 
#define LBTF_DEB_11D   0x00000400
 
#define LBTF_DEB_DEBUGFS   0x00000800
 
#define LBTF_DEB_ETHTOOL   0x00001000
 
#define LBTF_DEB_HOST   0x00002000
 
#define LBTF_DEB_CMD   0x00004000
 
#define LBTF_DEB_RX   0x00008000
 
#define LBTF_DEB_TX   0x00010000
 
#define LBTF_DEB_USB   0x00020000
 
#define LBTF_DEB_CS   0x00040000
 
#define LBTF_DEB_FW   0x00080000
 
#define LBTF_DEB_THREAD   0x00100000
 
#define LBTF_DEB_HEX   0x00200000
 
#define LBTF_DEB_SDIO   0x00400000
 
#define LBTF_DEB_MACOPS   0x00800000
 
#define LBTF_DEB_LL(grp, grpnam, fmt, args...)   do {} while (0)
 
#define lbtf_deb_enter(grp)   LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s()\n", __func__);
 
#define lbtf_deb_enter_args(grp, fmt, args...)   LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args);
 
#define lbtf_deb_leave(grp)   LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s()\n", __func__);
 
#define lbtf_deb_leave_args(grp, fmt, args...)
 
#define lbtf_deb_main(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args)
 
#define lbtf_deb_net(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args)
 
#define lbtf_deb_mesh(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args)
 
#define lbtf_deb_wext(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_WEXT, " wext", fmt, ##args)
 
#define lbtf_deb_ioctl(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_IOCTL, " ioctl", fmt, ##args)
 
#define lbtf_deb_scan(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_SCAN, " scan", fmt, ##args)
 
#define lbtf_deb_assoc(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_ASSOC, " assoc", fmt, ##args)
 
#define lbtf_deb_join(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_JOIN, " join", fmt, ##args)
 
#define lbtf_deb_11d(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_11D, " 11d", fmt, ##args)
 
#define lbtf_deb_debugfs(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_DEBUGFS, " debugfs", fmt, ##args)
 
#define lbtf_deb_ethtool(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_ETHTOOL, " ethtool", fmt, ##args)
 
#define lbtf_deb_host(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_HOST, " host", fmt, ##args)
 
#define lbtf_deb_cmd(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_CMD, " cmd", fmt, ##args)
 
#define lbtf_deb_rx(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_RX, " rx", fmt, ##args)
 
#define lbtf_deb_tx(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_TX, " tx", fmt, ##args)
 
#define lbtf_deb_fw(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_FW, " fw", fmt, ##args)
 
#define lbtf_deb_usb(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_USB, " usb", fmt, ##args)
 
#define lbtf_deb_usbd(dev, fmt, args...)   LBTF_DEB_LL(LBTF_DEB_USB, " usbd", "%s:" fmt, dev_name(dev), ##args)
 
#define lbtf_deb_cs(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_CS, " cs", fmt, ##args)
 
#define lbtf_deb_thread(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_THREAD, " thread", fmt, ##args)
 
#define lbtf_deb_sdio(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_SDIO, " thread", fmt, ##args)
 
#define lbtf_deb_macops(fmt, args...)   LBTF_DEB_LL(LBTF_DEB_MACOPS, " thread", fmt, ##args)
 
#define lbtf_deb_hex(grp, prompt, buf, len)   do {} while (0)
 

Variables

unsigned int lbtf_debug
 

Macro Definition Documentation

#define DRV_NAME   "libertas_tf"

This header file contains global constant/enum definitions, global variable declaration.

Definition at line 9 of file deb_defs.h.

#define LBTF_DEB_11D   0x00000400

Definition at line 29 of file deb_defs.h.

#define lbtf_deb_11d (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_11D, " 11d", fmt, ##args)

Definition at line 73 of file deb_defs.h.

#define LBTF_DEB_ASSOC   0x00000100

Definition at line 27 of file deb_defs.h.

#define lbtf_deb_assoc (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_ASSOC, " assoc", fmt, ##args)

Definition at line 71 of file deb_defs.h.

#define LBTF_DEB_CMD   0x00004000

Definition at line 33 of file deb_defs.h.

#define lbtf_deb_cmd (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_CMD, " cmd", fmt, ##args)

Definition at line 77 of file deb_defs.h.

#define LBTF_DEB_CS   0x00040000

Definition at line 37 of file deb_defs.h.

#define lbtf_deb_cs (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_CS, " cs", fmt, ##args)

Definition at line 83 of file deb_defs.h.

#define LBTF_DEB_DEBUGFS   0x00000800

Definition at line 30 of file deb_defs.h.

#define lbtf_deb_debugfs (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_DEBUGFS, " debugfs", fmt, ##args)

Definition at line 74 of file deb_defs.h.

#define LBTF_DEB_ENTER   0x00000001

Definition at line 19 of file deb_defs.h.

#define lbtf_deb_enter (   grp)    LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s()\n", __func__);

Definition at line 56 of file deb_defs.h.

#define lbtf_deb_enter_args (   grp,
  fmt,
  args... 
)    LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args);

Definition at line 58 of file deb_defs.h.

#define LBTF_DEB_ETHTOOL   0x00001000

Definition at line 31 of file deb_defs.h.

#define lbtf_deb_ethtool (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_ETHTOOL, " ethtool", fmt, ##args)

Definition at line 75 of file deb_defs.h.

#define LBTF_DEB_FW   0x00080000

Definition at line 38 of file deb_defs.h.

#define lbtf_deb_fw (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_FW, " fw", fmt, ##args)

Definition at line 80 of file deb_defs.h.

#define LBTF_DEB_HEX   0x00200000

Definition at line 40 of file deb_defs.h.

#define lbtf_deb_hex (   grp,
  prompt,
  buf,
  len 
)    do {} while (0)

Definition at line 101 of file deb_defs.h.

#define LBTF_DEB_HOST   0x00002000

Definition at line 32 of file deb_defs.h.

#define lbtf_deb_host (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_HOST, " host", fmt, ##args)

Definition at line 76 of file deb_defs.h.

#define LBTF_DEB_IOCTL   0x00000040

Definition at line 25 of file deb_defs.h.

#define lbtf_deb_ioctl (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_IOCTL, " ioctl", fmt, ##args)

Definition at line 69 of file deb_defs.h.

#define LBTF_DEB_JOIN   0x00000200

Definition at line 28 of file deb_defs.h.

#define lbtf_deb_join (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_JOIN, " join", fmt, ##args)

Definition at line 72 of file deb_defs.h.

#define LBTF_DEB_LEAVE   0x00000002

Definition at line 20 of file deb_defs.h.

#define lbtf_deb_leave (   grp)    LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s()\n", __func__);

Definition at line 60 of file deb_defs.h.

#define lbtf_deb_leave_args (   grp,
  fmt,
  args... 
)
Value:
LBTF_DEB_LL(grp | LBTF_DEB_LEAVE, " leave", "%s(), " fmt "\n", \
__func__, ##args);

Definition at line 62 of file deb_defs.h.

#define LBTF_DEB_LL (   grp,
  grpnam,
  fmt,
  args... 
)    do {} while (0)

Definition at line 53 of file deb_defs.h.

#define LBTF_DEB_MACOPS   0x00800000

Definition at line 42 of file deb_defs.h.

#define lbtf_deb_macops (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_MACOPS, " thread", fmt, ##args)

Definition at line 86 of file deb_defs.h.

#define LBTF_DEB_MAIN   0x00000004

Definition at line 21 of file deb_defs.h.

#define lbtf_deb_main (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args)

Definition at line 65 of file deb_defs.h.

#define LBTF_DEB_MESH   0x00000010

Definition at line 23 of file deb_defs.h.

#define lbtf_deb_mesh (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args)

Definition at line 67 of file deb_defs.h.

#define LBTF_DEB_NET   0x00000008

Definition at line 22 of file deb_defs.h.

#define lbtf_deb_net (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args)

Definition at line 66 of file deb_defs.h.

#define LBTF_DEB_RX   0x00008000

Definition at line 34 of file deb_defs.h.

#define lbtf_deb_rx (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_RX, " rx", fmt, ##args)

Definition at line 78 of file deb_defs.h.

#define LBTF_DEB_SCAN   0x00000080

Definition at line 26 of file deb_defs.h.

#define lbtf_deb_scan (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_SCAN, " scan", fmt, ##args)

Definition at line 70 of file deb_defs.h.

#define LBTF_DEB_SDIO   0x00400000

Definition at line 41 of file deb_defs.h.

#define lbtf_deb_sdio (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_SDIO, " thread", fmt, ##args)

Definition at line 85 of file deb_defs.h.

#define LBTF_DEB_THREAD   0x00100000

Definition at line 39 of file deb_defs.h.

#define lbtf_deb_thread (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_THREAD, " thread", fmt, ##args)

Definition at line 84 of file deb_defs.h.

#define LBTF_DEB_TX   0x00010000

Definition at line 35 of file deb_defs.h.

#define lbtf_deb_tx (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_TX, " tx", fmt, ##args)

Definition at line 79 of file deb_defs.h.

#define LBTF_DEB_USB   0x00020000

Definition at line 36 of file deb_defs.h.

#define lbtf_deb_usb (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_USB, " usb", fmt, ##args)

Definition at line 81 of file deb_defs.h.

#define lbtf_deb_usbd (   dev,
  fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_USB, " usbd", "%s:" fmt, dev_name(dev), ##args)

Definition at line 82 of file deb_defs.h.

#define LBTF_DEB_WEXT   0x00000020

Definition at line 24 of file deb_defs.h.

#define lbtf_deb_wext (   fmt,
  args... 
)    LBTF_DEB_LL(LBTF_DEB_WEXT, " wext", fmt, ##args)

Definition at line 68 of file deb_defs.h.

Variable Documentation

unsigned int lbtf_debug

Definition at line 26 of file main.c.