Lines Matching full:dbg

97 #define DBG(n, dev, args...)			 \  macro
105 #define DBG(n, dev, args...) do { } while (0) macro
169 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_reset()
263 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_enable()
289 DBG(SMC_DEBUG_RX, dev, "Receiver already enabled\n"); in smc911x_enable()
320 DBG(SMC_DEBUG_FUNC, dev, "%s: --> %s\n", CARDNAME, __func__); in smc911x_shutdown()
339 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "%s: --> %s\n", in smc911x_drop_pkt()
373 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "--> %s\n", in smc911x_rcv()
376 DBG(SMC_DEBUG_RX, dev, "Rx pkt len %d status 0x%08x\n", in smc911x_rcv()
415 DBG(SMC_DEBUG_RX, dev, "Setting RX stat FIFO threshold to %d\n", in smc911x_rcv()
429 DBG(SMC_DEBUG_PKTS, dev, "Received packet\n"); in smc911x_rcv()
449 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", __func__); in smc911x_hardware_send_pkt()
474 DBG(SMC_DEBUG_TX, dev, "TX PKT LENGTH 0x%04x (%d) BUF 0x%p CMDA 0x%08x CMDB 0x%08x\n", in smc911x_hardware_send_pkt()
479 DBG(SMC_DEBUG_PKTS, dev, "Transmitted packet\n"); in smc911x_hardware_send_pkt()
511 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_hard_start_xmit()
519 DBG(SMC_DEBUG_TX, dev, "TX free space %d\n", free); in smc911x_hard_start_xmit()
523 DBG(SMC_DEBUG_TX, dev, "Disabling data flow due to low FIFO space (%d)\n", in smc911x_hard_start_xmit()
555 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Tx DMA running, deferring packet\n"); in smc911x_hard_start_xmit()
561 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Activating Tx DMA\n"); in smc911x_hard_start_xmit()
583 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_tx()
588 DBG(SMC_DEBUG_TX, dev, "Tx stat FIFO used 0x%04x\n", in smc911x_tx()
593 DBG(SMC_DEBUG_TX, dev, "Tx FIFO tag 0x%04x status 0x%04x\n", in smc911x_tx()
633 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%02x, phydata=0x%04x\n", in smc911x_phy_read()
647 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n", in smc911x_phy_write()
663 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_detect()
725 DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%x\n", in smc911x_phy_detect()
739 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_fixed()
786 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_reset()
845 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_check_media()
852 DBG(SMC_DEBUG_MISC, dev, "Configuring for full-duplex mode\n"); in smc911x_phy_check_media()
856 DBG(SMC_DEBUG_MISC, dev, "Configuring for half-duplex mode\n"); in smc911x_phy_check_media()
885 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_configure()
954 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()
955 DBG(SMC_DEBUG_MISC, dev, "phy advertised caps=0x%04x\n", my_ad_caps); in smc911x_phy_configure()
978 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_interrupt()
986 DBG(SMC_DEBUG_MISC, dev, "PHY interrupt status 0x%04x\n", in smc911x_phy_interrupt()
988 DBG(SMC_DEBUG_MISC, dev, "AFC_CFG 0x%08x\n", in smc911x_phy_interrupt()
1006 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_interrupt()
1027 DBG(SMC_DEBUG_MISC, dev, "INT 0x%08x MASK 0x%08x OUTSIDE MASK 0x%08x\n", in smc911x_interrupt()
1060 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1072 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1081 DBG(SMC_DEBUG_RX, dev, "RX irq\n"); in smc911x_interrupt()
1084 DBG(SMC_DEBUG_RX, dev, "Rx FIFO pkts %d, bytes %d\n", in smc911x_interrupt()
1090 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_interrupt()
1095 DBG(SMC_DEBUG_RX, dev, in smc911x_interrupt()
1107 DBG(SMC_DEBUG_TX, dev, "TX data FIFO space available irq\n"); in smc911x_interrupt()
1119 DBG(SMC_DEBUG_TX | SMC_DEBUG_MISC, dev, in smc911x_interrupt()
1129 DBG(SMC_DEBUG_TX, dev, "TX status FIFO limit (%d) irq\n", ?); in smc911x_interrupt()
1135 DBG(SMC_DEBUG_RX, dev, "IRQ_CFG 0x%08x FIFO_INT 0x%08x RX_CFG 0x%08x\n", in smc911x_interrupt()
1139 DBG(SMC_DEBUG_RX, dev, "Rx Stat FIFO Used 0x%02x Data FIFO Used 0x%04x Stat FIFO 0x%08x\n", in smc911x_interrupt()
1150 DBG(SMC_DEBUG_MISC, dev, "PHY irq\n"); in smc911x_interrupt()
1159 DBG(SMC_DEBUG_MISC, dev, "Interrupt done (%d loops)\n", in smc911x_interrupt()
1176 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_tx_dma_irq()
1178 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "TX DMA irq handler\n"); in smc911x_tx_dma_irq()
1187 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1197 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1209 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_rx_dma_irq()
1210 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, "RX DMA irq handler\n"); in smc911x_rx_dma_irq()
1228 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_rx_dma_irq()
1254 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_timeout()
1260 DBG(SMC_DEBUG_MISC, dev, "INT 0x%02x MASK 0x%02x\n", in smc911x_timeout()
1292 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_set_multicast_list()
1300 DBG(SMC_DEBUG_MISC, dev, "RCR_PRMS\n"); in smc911x_set_multicast_list()
1309 DBG(SMC_DEBUG_MISC, dev, "RCR_ALMUL\n"); in smc911x_set_multicast_list()
1349 DBG(SMC_DEBUG_MISC, dev, "~(MAC_CR_PRMS_|MAC_CR_MCPAS_)\n"); in smc911x_set_multicast_list()
1363 DBG(SMC_DEBUG_MISC, dev, in smc911x_set_multicast_list()
1383 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_open()
1410 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_close()
1446 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_ethtool_get_link_ksettings()
1706 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_findirq()
1789 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_probe()
1793 DBG(SMC_DEBUG_MISC, dev, "%s: endian probe returned 0x%04x\n", in smc911x_probe()
1807 DBG(SMC_DEBUG_MISC, dev, "%s: id probe returned 0x%04x\n", in smc911x_probe()
1820 DBG(SMC_DEBUG_MISC, dev, "%s: revision = 0x%04x\n", CARDNAME, revision); in smc911x_probe()
1823 DBG(SMC_DEBUG_MISC, dev, "%s: Found a %s\n", in smc911x_probe()
1885 DBG(SMC_DEBUG_MISC | SMC_DEBUG_TX | SMC_DEBUG_RX, dev, in smc911x_probe()
2048 DBG(SMC_DEBUG_FUNC, "--> %s\n", __func__); in smc911x_drv_probe()
2120 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_remove()
2147 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_suspend()
2165 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_resume()