Lines Matching refs:DBG
110 #define DBG(n, dev, args...) \ macro
118 #define DBG(n, dev, args...) do { } while (0) macro
182 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_reset()
276 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_enable()
302 DBG(SMC_DEBUG_RX, dev, "Receiver already enabled\n"); in smc911x_enable()
333 DBG(SMC_DEBUG_FUNC, dev, "%s: --> %s\n", CARDNAME, __func__); in smc911x_shutdown()
352 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "%s: --> %s\n", in smc911x_drop_pkt()
386 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_RX, dev, "--> %s\n", in smc911x_rcv()
389 DBG(SMC_DEBUG_RX, dev, "Rx pkt len %d status 0x%08x\n", in smc911x_rcv()
428 DBG(SMC_DEBUG_RX, dev, "Setting RX stat FIFO threshold to %d\n", in smc911x_rcv()
442 DBG(SMC_DEBUG_PKTS, dev, "Received packet\n"); in smc911x_rcv()
462 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", __func__); in smc911x_hardware_send_pkt()
487 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()
492 DBG(SMC_DEBUG_PKTS, dev, "Transmitted packet\n"); in smc911x_hardware_send_pkt()
524 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_hard_start_xmit()
532 DBG(SMC_DEBUG_TX, dev, "TX free space %d\n", free); in smc911x_hard_start_xmit()
536 DBG(SMC_DEBUG_TX, dev, "Disabling data flow due to low FIFO space (%d)\n", in smc911x_hard_start_xmit()
568 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Tx DMA running, deferring packet\n"); in smc911x_hard_start_xmit()
574 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "Activating Tx DMA\n"); in smc911x_hard_start_xmit()
596 DBG(SMC_DEBUG_FUNC | SMC_DEBUG_TX, dev, "--> %s\n", in smc911x_tx()
601 DBG(SMC_DEBUG_TX, dev, "Tx stat FIFO used 0x%04x\n", in smc911x_tx()
606 DBG(SMC_DEBUG_TX, dev, "Tx FIFO tag 0x%04x status 0x%04x\n", in smc911x_tx()
646 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%02x, phydata=0x%04x\n", in smc911x_phy_read()
660 DBG(SMC_DEBUG_MISC, dev, "%s: phyaddr=0x%x, phyreg=0x%x, phydata=0x%x\n", in smc911x_phy_write()
676 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_detect()
737 DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%x\n", in smc911x_phy_detect()
751 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_fixed()
798 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_reset()
857 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_check_media()
864 DBG(SMC_DEBUG_MISC, dev, "Configuring for full-duplex mode\n"); in smc911x_phy_check_media()
868 DBG(SMC_DEBUG_MISC, dev, "Configuring for half-duplex mode\n"); in smc911x_phy_check_media()
897 DBG(SMC_DEBUG_FUNC, dev, "--> %s()\n", __func__); in smc911x_phy_configure()
966 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()
967 DBG(SMC_DEBUG_MISC, dev, "phy advertised caps=0x%04x\n", my_ad_caps); in smc911x_phy_configure()
990 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_phy_interrupt()
998 DBG(SMC_DEBUG_MISC, dev, "PHY interrupt status 0x%04x\n", in smc911x_phy_interrupt()
1000 DBG(SMC_DEBUG_MISC, dev, "AFC_CFG 0x%08x\n", in smc911x_phy_interrupt()
1018 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_interrupt()
1039 DBG(SMC_DEBUG_MISC, dev, "INT 0x%08x MASK 0x%08x OUTSIDE MASK 0x%08x\n", in smc911x_interrupt()
1072 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1084 DBG(SMC_DEBUG_RX, dev, "RX overrun\n"); in smc911x_interrupt()
1093 DBG(SMC_DEBUG_RX, dev, "RX irq\n"); in smc911x_interrupt()
1096 DBG(SMC_DEBUG_RX, dev, "Rx FIFO pkts %d, bytes %d\n", in smc911x_interrupt()
1102 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_interrupt()
1107 DBG(SMC_DEBUG_RX, dev, in smc911x_interrupt()
1119 DBG(SMC_DEBUG_TX, dev, "TX data FIFO space available irq\n"); in smc911x_interrupt()
1131 DBG(SMC_DEBUG_TX | SMC_DEBUG_MISC, dev, in smc911x_interrupt()
1141 DBG(SMC_DEBUG_TX, dev, "TX status FIFO limit (%d) irq\n", ?); in smc911x_interrupt()
1147 DBG(SMC_DEBUG_RX, dev, "IRQ_CFG 0x%08x FIFO_INT 0x%08x RX_CFG 0x%08x\n", in smc911x_interrupt()
1151 DBG(SMC_DEBUG_RX, dev, "Rx Stat FIFO Used 0x%02x Data FIFO Used 0x%04x Stat FIFO 0x%08x\n", in smc911x_interrupt()
1162 DBG(SMC_DEBUG_MISC, dev, "PHY irq\n"); in smc911x_interrupt()
1171 DBG(SMC_DEBUG_MISC, dev, "Interrupt done (%d loops)\n", in smc911x_interrupt()
1188 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_tx_dma_irq()
1190 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, "TX DMA irq handler\n"); in smc911x_tx_dma_irq()
1199 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1209 DBG(SMC_DEBUG_TX | SMC_DEBUG_DMA, dev, in smc911x_tx_dma_irq()
1221 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_rx_dma_irq()
1222 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, "RX DMA irq handler\n"); in smc911x_rx_dma_irq()
1240 DBG(SMC_DEBUG_RX | SMC_DEBUG_DMA, dev, in smc911x_rx_dma_irq()
1266 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_timeout()
1272 DBG(SMC_DEBUG_MISC, dev, "INT 0x%02x MASK 0x%02x\n", in smc911x_timeout()
1304 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_set_multicast_list()
1312 DBG(SMC_DEBUG_MISC, dev, "RCR_PRMS\n"); in smc911x_set_multicast_list()
1321 DBG(SMC_DEBUG_MISC, dev, "RCR_ALMUL\n"); in smc911x_set_multicast_list()
1361 DBG(SMC_DEBUG_MISC, dev, "~(MAC_CR_PRMS_|MAC_CR_MCPAS_)\n"); in smc911x_set_multicast_list()
1375 DBG(SMC_DEBUG_MISC, dev, in smc911x_set_multicast_list()
1395 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_open()
1422 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_close()
1458 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_ethtool_get_link_ksettings()
1718 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_findirq()
1802 DBG(SMC_DEBUG_FUNC, dev, "--> %s\n", __func__); in smc911x_probe()
1806 DBG(SMC_DEBUG_MISC, dev, "%s: endian probe returned 0x%04x\n", in smc911x_probe()
1820 DBG(SMC_DEBUG_MISC, dev, "%s: id probe returned 0x%04x\n", in smc911x_probe()
1833 DBG(SMC_DEBUG_MISC, dev, "%s: revision = 0x%04x\n", CARDNAME, revision); in smc911x_probe()
1836 DBG(SMC_DEBUG_MISC, dev, "%s: Found a %s\n", in smc911x_probe()
1898 DBG(SMC_DEBUG_MISC | SMC_DEBUG_TX | SMC_DEBUG_RX, dev, in smc911x_probe()
2068 DBG(SMC_DEBUG_FUNC, "--> %s\n", __func__); in smc911x_drv_probe()
2140 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_remove()
2167 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_suspend()
2185 DBG(SMC_DEBUG_FUNC, ndev, "--> %s\n", __func__); in smc911x_drv_resume()