Lines Matching refs:DBG

97 #define DBG(n, dev, args...)			 \  macro
105 #define DBG(n, dev, args...) \ macro
172 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_reset()
266 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_enable()
292 DBG(SMC_DEBUG_RX, dev, "Receiver already enabled\n"); in smc911x_enable()
323 DBG(SMC_DEBUG_FUNC, dev, "%s: --> %s\n", CARDNAME, __func__); in smc911x_shutdown()
342 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "%s: --> %s\n", in smc911x_drop_pkt()
376 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "--> %s\n", in smc911x_rcv()
379 DBG(SMC_DEBUG_RX, dev, "Rx pkt len %d status 0x%08x\n", in smc911x_rcv()
418 DBG(SMC_DEBUG_RX, dev, "Setting RX stat FIFO threshold to %d\n", in smc911x_rcv()
432 DBG(SMC_DEBUG_PKTS, dev, "Received packet\n"); in smc911x_rcv()
452 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", __func__); in smc911x_hardware_send_pkt()
477 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()
482 DBG(SMC_DEBUG_PKTS, dev, "Transmitted packet\n"); in smc911x_hardware_send_pkt()
514 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_hard_start_xmit()
522 DBG(SMC_DEBUG_TX, dev, "TX free space %d\n", free); in smc911x_hard_start_xmit()
526 DBG(SMC_DEBUG_TX, dev, "Disabling data flow due to low FIFO space (%d)\n", in smc911x_hard_start_xmit()
558 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Tx DMA running, deferring packet\n"); in smc911x_hard_start_xmit()
564 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Activating Tx DMA\n"); in smc911x_hard_start_xmit()
586 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_tx()
591 DBG(SMC_DEBUG_TX, dev, "Tx stat FIFO used 0x%04x\n", in smc911x_tx()
596 DBG(SMC_DEBUG_TX, dev, "Tx FIFO tag 0x%04x status 0x%04x\n", in smc911x_tx()
636 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%02x, phydata=0x%04x\n", in smc911x_phy_read()
650 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n", in smc911x_phy_write()
666 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_detect()
728 DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%x\n", in smc911x_phy_detect()
742 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_fixed()
789 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_reset()
848 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_check_media()
855 DBG(SMC_DEBUG_MISC, dev, "Configuring for full-duplex mode\n"); in smc911x_phy_check_media()
859 DBG(SMC_DEBUG_MISC, dev, "Configuring for half-duplex mode\n"); in smc911x_phy_check_media()
888 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_configure()
957 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()
958 DBG(SMC_DEBUG_MISC, dev, "phy advertised caps=0x%04x\n", my_ad_caps); in smc911x_phy_configure()
981 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_interrupt()
989 DBG(SMC_DEBUG_MISC, dev, "PHY interrupt status 0x%04x\n", in smc911x_phy_interrupt()
991 DBG(SMC_DEBUG_MISC, dev, "AFC_CFG 0x%08x\n", in smc911x_phy_interrupt()
1009 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_interrupt()
1030 DBG(SMC_DEBUG_MISC, dev, "INT 0x%08x MASK 0x%08x OUTSIDE MASK 0x%08x\n", in smc911x_interrupt()
1063 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1075 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1084 DBG(SMC_DEBUG_RX, dev, "RX irq\n"); in smc911x_interrupt()
1087 DBG(SMC_DEBUG_RX, dev, "Rx FIFO pkts %d, bytes %d\n", in smc911x_interrupt()
1093 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_interrupt()
1098 DBG(SMC_DEBUG_RX, dev, in smc911x_interrupt()
1110 DBG(SMC_DEBUG_TX, dev, "TX data FIFO space available irq\n"); in smc911x_interrupt()
1122 DBG(SMC_DEBUG_TX | SMC_DEBUG_MISC, dev, in smc911x_interrupt()
1132 DBG(SMC_DEBUG_TX, dev, "TX status FIFO limit (%d) irq\n", ?); in smc911x_interrupt()
1138 DBG(SMC_DEBUG_RX, dev, "IRQ_CFG 0x%08x FIFO_INT 0x%08x RX_CFG 0x%08x\n", in smc911x_interrupt()
1142 DBG(SMC_DEBUG_RX, dev, "Rx Stat FIFO Used 0x%02x Data FIFO Used 0x%04x Stat FIFO 0x%08x\n", in smc911x_interrupt()
1153 DBG(SMC_DEBUG_MISC, dev, "PHY irq\n"); in smc911x_interrupt()
1162 DBG(SMC_DEBUG_MISC, dev, "Interrupt done (%d loops)\n", in smc911x_interrupt()
1179 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_tx_dma_irq()
1181 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "TX DMA irq handler\n"); in smc911x_tx_dma_irq()
1190 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1200 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1212 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_rx_dma_irq()
1213 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, "RX DMA irq handler\n"); in smc911x_rx_dma_irq()
1231 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_rx_dma_irq()
1257 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_timeout()
1263 DBG(SMC_DEBUG_MISC, dev, "INT 0x%02x MASK 0x%02x\n", in smc911x_timeout()
1295 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_set_multicast_list()
1303 DBG(SMC_DEBUG_MISC, dev, "RCR_PRMS\n"); in smc911x_set_multicast_list()
1312 DBG(SMC_DEBUG_MISC, dev, "RCR_ALMUL\n"); in smc911x_set_multicast_list()
1352 DBG(SMC_DEBUG_MISC, dev, "~(MAC_CR_PRMS_|MAC_CR_MCPAS_)\n"); in smc911x_set_multicast_list()
1366 DBG(SMC_DEBUG_MISC, dev, in smc911x_set_multicast_list()
1386 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_open()
1413 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_close()
1449 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_ethtool_get_link_ksettings()
1709 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_findirq()
1793 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_probe()
1797 DBG(SMC_DEBUG_MISC, dev, "%s: endian probe returned 0x%04x\n", in smc911x_probe()
1811 DBG(SMC_DEBUG_MISC, dev, "%s: id probe returned 0x%04x\n", in smc911x_probe()
1824 DBG(SMC_DEBUG_MISC, dev, "%s: revision = 0x%04x\n", CARDNAME, revision); in smc911x_probe()
1827 DBG(SMC_DEBUG_MISC, dev, "%s: Found a %s\n", in smc911x_probe()
1889 DBG(SMC_DEBUG_MISC | SMC_DEBUG_TX | SMC_DEBUG_RX, dev, in smc911x_probe()
2128 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_remove()
2155 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_suspend()
2173 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_resume()