Lines Matching refs:PRINTD

482   PRINTD (DBG_REGS, "CONTROL 0: %#x", rd_regl (dev, CONTROL_0_REG));  in dump_regs()
483 PRINTD (DBG_REGS, "RX CONFIG: %#x", rd_regw (dev, RX_CONFIG_OFF)); in dump_regs()
484 PRINTD (DBG_REGS, "TX CONFIG: %#x", rd_regw (dev, TX_CONFIG_OFF)); in dump_regs()
485 PRINTD (DBG_REGS, "TX STATUS: %#x", rd_regw (dev, TX_STATUS_OFF)); in dump_regs()
486 PRINTD (DBG_REGS, "IRQ ENBLE: %#x", rd_regl (dev, INT_ENABLE_REG_OFF)); in dump_regs()
487 PRINTD (DBG_REGS, "IRQ SORCE: %#x", rd_regl (dev, INT_SOURCE_REG_OFF)); in dump_regs()
603 PRINTD (DBG_QOS|DBG_FLOW, "make_rate b=%lu, c=%u, %s", br, c, in make_rate()
608 PRINTD (DBG_QOS|DBG_ERR, "zero rate is not allowed!"); in make_rate()
641 PRINTD (DBG_QOS, "A: p=%u, d=%u", pre, div); in make_rate()
665 PRINTD (DBG_QOS, "B: p=%u, d=%u", pre, div); in make_rate()
676 PRINTD (DBG_QOS, "C: p=%u, d=%u", pre, div); in make_rate()
680 PRINTD (DBG_QOS, "set_cr internal failure: d=%u p=%u", in make_rate()
688 PRINTD (DBG_QOS, "actual rate: %u", *actual); in make_rate()
698 PRINTD (DBG_QOS|DBG_FLOW, "make_rate_with_tolerance c=%u, %s, tol=%u", in make_rate_with_tolerance()
730 PRINTD (DBG_FLOW, "hrz_open_rx %x", channel); in hrz_open_rx()
738 PRINTD (DBG_ERR|DBG_VCC, "RX channel for VC already open"); in hrz_open_rx()
745 PRINTD (DBG_VCC, "using a spare buffer: %u", buf_ptr); in hrz_open_rx()
749 PRINTD (DBG_ERR|DBG_VCC, "bad spare buffer pointer, using IDLE"); in hrz_open_rx()
753 PRINTD (DBG_VCC, "using IDLE buffer pointer"); in hrz_open_rx()
770 PRINTD (DBG_FLOW, "hrz_open_rx ok"); in hrz_open_rx()
812 PRINTD (DBG_VCC, "closing VC: RX channel %u already disabled", vc); in hrz_close_rx()
887 PRINTD (DBG_VCC|DBG_RX, "r1 = %u, r2 = %u", r1, r2); in hrz_close_rx()
900 PRINTD (DBG_VCC|DBG_RX, "rd_ptr = %u, wr_ptr = %u", rd_ptr, wr_ptr); in hrz_close_rx()
908 PRINTD (DBG_RX|DBG_VCC|DBG_WARN, "marking a frame as dodgey"); in hrz_close_rx()
948 PRINTD (DBG_RX|DBG_WARN, "RX error: other PCI Bus Master RX still in progress!"); in rx_schedule()
950 PRINTD (DBG_RX|DBG_ERR, "spun out waiting PCI Bus Master RX completion"); in rx_schedule()
966 PRINTD (DBG_RX|DBG_BUS, "(pio)"); in rx_schedule()
970 PRINTD (DBG_RX|DBG_BUS, "(simple or last multi)"); in rx_schedule()
973 PRINTD (DBG_RX|DBG_BUS, "(continuing multi)"); in rx_schedule()
995 PRINTD (DBG_RX|DBG_BUS, "(pio)"); in rx_schedule()
999 PRINTD (DBG_RX|DBG_BUS, "(full region)"); in rx_schedule()
1002 PRINTD (DBG_RX|DBG_BUS, "(start multi region)"); in rx_schedule()
1017 PRINTD (DBG_RX|DBG_SKB, "push %p %u", skb->data, skb->len); in rx_schedule()
1047 PRINTD (DBG_RX, "cleared rx_busy for dev %p", dev); in rx_schedule()
1069 PRINTD (DBG_RX|DBG_ERR, "unexpected RX bus master completion"); in rx_bus_master_complete_handler()
1079 PRINTD (DBG_TX, "sleeping at tx lock %p %lu", dev, dev->flags); in tx_hold()
1081 PRINTD (DBG_TX, "woken at tx lock %p %lu", dev, dev->flags); in tx_hold()
1084 PRINTD (DBG_TX, "set tx_busy for dev %p", dev); in tx_hold()
1092 PRINTD (DBG_TX, "cleared tx_busy for dev %p", dev); in tx_release()
1114 PRINTD (DBG_TX|DBG_WARN, "TX error: other PCI Bus Master TX still in progress!"); in tx_schedule()
1116 PRINTD (DBG_TX|DBG_ERR, "spun out waiting PCI Bus Master TX completion"); in tx_schedule()
1128 PRINTD (DBG_TX|DBG_BUS, "(pio)"); in tx_schedule()
1132 PRINTD (DBG_TX|DBG_BUS, "(simple or last multi)"); in tx_schedule()
1139 PRINTD (DBG_TX|DBG_BUS, "(continuing multi)"); in tx_schedule()
1156 PRINTD (DBG_TX|DBG_BUS, "(pio)"); in tx_schedule()
1160 PRINTD (DBG_TX|DBG_BUS, "(full region)"); in tx_schedule()
1163 PRINTD (DBG_TX|DBG_BUS, "(start multi region)"); in tx_schedule()
1225 PRINTD (DBG_TX|DBG_ERR, "unexpected TX bus master completion"); in tx_bus_master_complete_handler()
1257 PRINTD (DBG_FLOW, "hrz_data_av_handler"); in rx_data_av_handler()
1261 PRINTD (DBG_RX, "locked out of rx lock"); in rx_data_av_handler()
1264 PRINTD (DBG_RX, "set rx_busy for dev %p", dev); in rx_data_av_handler()
1278 PRINTD (DBG_RX, "rx_queue_entry is: %#x", rx_queue_entry); in rx_data_av_handler()
1289 PRINTD (DBG_RX|DBG_ERR, "Simon's marker detected!"); in rx_data_av_handler()
1294 PRINTD (DBG_RX, "got a frame on rx_channel %x len %u", rx_channel, rx_len); in rx_data_av_handler()
1322 PRINTD (DBG_RX, "RX start simple transfer (addr %p, len %d)", in rx_data_av_handler()
1330 PRINTD (DBG_SKB|DBG_WARN, "failed to get skb"); in rx_data_av_handler()
1344 PRINTD (DBG_WARN|DBG_VCC|DBG_RX, "no VCC for this frame (VC closed)"); in rx_data_av_handler()
1369 PRINTD (DBG_FLOW, "interrupt_handler: %p", dev_id); in interrupt_handler()
1393 PRINTD (DBG_IRQ|DBG_BUS|DBG_RX, "rx_bus_master_complete asserted"); in interrupt_handler()
1398 PRINTD (DBG_IRQ|DBG_BUS|DBG_TX, "tx_bus_master_complete asserted"); in interrupt_handler()
1403 PRINTD (DBG_IRQ|DBG_RX, "rx_data_av asserted"); in interrupt_handler()
1408 PRINTD (DBG_IRQ, "work done: %u", irq_ok); in interrupt_handler()
1410 PRINTD (DBG_IRQ|DBG_WARN, "spurious interrupt source: %#x", int_source); in interrupt_handler()
1413 PRINTD (DBG_IRQ|DBG_FLOW, "interrupt_handler done: %p", dev_id); in interrupt_handler()
1443 PRINTD (DBG_FLOW|DBG_TX, "setup_idle_tx_channel %p", dev); in setup_idle_tx_channel()
1449 PRINTD (DBG_TX|DBG_WARN, "waiting for idle TX channel"); in setup_idle_tx_channel()
1452 PRINTD (DBG_TX|DBG_ERR, "spun out waiting for idle TX channel"); in setup_idle_tx_channel()
1522 PRINTD (DBG_TX|DBG_ERR, "TX buffer pointers are broken!"); in setup_idle_tx_channel()
1526 PRINTD (DBG_TX, "TX buffer pointers are: rd %x, wr %x.", in setup_idle_tx_channel()
1531 PRINTD (DBG_QOS|DBG_TX, "tx_channel: aal0"); in setup_idle_tx_channel()
1536 PRINTD (DBG_QOS|DBG_TX, "tx_channel: aal34"); in setup_idle_tx_channel()
1575 PRINTD (DBG_FLOW|DBG_TX, "hrz_send vc %x data %p len %u", in hrz_send()
1596 PRINTD (DBG_ERR|DBG_TX, "attempt to transmit on zero (rx_)channel"); in hrz_send()
1607 PRINTD (DBG_BUS|DBG_ERR, "Clearing PCI Master Abort (and cleaning up)"); in hrz_send()
1648 PRINTD (DBG_TX, "waiting for free TX buffers, got %d of %d", in hrz_send()
1655 PRINTD (DBG_TX|DBG_ERR, "spun out waiting for tx buffers, got %d of %d", in hrz_send()
1665 PRINTD (DBG_TX, "last vc hack: hit"); in hrz_send()
1668 PRINTD (DBG_TX, "last vc hack: miss"); in hrz_send()
1672 PRINTD (DBG_TX, "vc already on channel: hit"); in hrz_send()
1676 PRINTD (DBG_TX, "vc already on channel: miss"); in hrz_send()
1680 PRINTD (DBG_TX|DBG_ERR, "failed to get channel"); in hrz_send()
1686 PRINTD (DBG_TX, "got channel"); in hrz_send()
1693 PRINTD (DBG_TX, "using channel %u", tx_channel); in hrz_send()
1710 PRINTD (DBG_TX|DBG_BUS, "TX start scatter-gather transfer (iovec %p, len %d)", in hrz_send()
1721 PRINTD (DBG_TX|DBG_BUS, "TX start simple transfer (addr %p, len %d)", in hrz_send()
1841 PRINTD (DBG_INFO, "ctrl0reg is %#x", ctrl); in hrz_init()
2047 PRINTD (DBG_FLOW|DBG_QOS, "check_max_sdu"); in check_max_sdu()
2052 PRINTD (DBG_QOS, "defaulting max_sdu"); in check_max_sdu()
2055 PRINTD (DBG_QOS|DBG_ERR, "rejecting max_sdu"); in check_max_sdu()
2061 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu()
2067 PRINTD (DBG_QOS, "%sing max_sdu", tp->max_sdu ? "capp" : "default"); in check_max_sdu()
2081 PRINTD (DBG_QOS, "luser gave min_pcr = ATM_MAX_PCR"); in atm_pcr_check()
2083 PRINTD (DBG_QOS, "luser gave negative min_pcr"); in atm_pcr_check()
2085 PRINTD (DBG_QOS, "pcr less than min_pcr"); in atm_pcr_check()
2091 PRINTD (DBG_QOS, "luser gave max_pcr = ATM_MAX_PCR"); in atm_pcr_check()
2093 PRINTD (DBG_QOS, "luser gave negative max_pcr"); in atm_pcr_check()
2095 PRINTD (DBG_QOS, "pcr greater than max_pcr"); in atm_pcr_check()
2098 PRINTD (DBG_QOS, "xBR(pcr) OK"); in atm_pcr_check()
2101 PRINTD (DBG_QOS, "pcr=%u, tp: min_pcr=%d, pcr=%d, max_pcr=%d", in atm_pcr_check()
2122 PRINTD (DBG_FLOW|DBG_VCC, "hrz_open %x %x", vpi, vci); in hrz_open()
2134 PRINTD (DBG_WARN|DBG_VCC, "VPI/VCI out of range: %hd/%d", vpi, vci); in hrz_open()
2148 PRINTD (DBG_QOS|DBG_VCC, "AAL0"); in hrz_open()
2153 PRINTD (DBG_QOS|DBG_VCC, "AAL3/4"); in hrz_open()
2157 PRINTD (DBG_QOS|DBG_VCC, "AAL5"); in hrz_open()
2161 PRINTD (DBG_QOS|DBG_VCC, "Bad AAL!"); in hrz_open()
2199 PRINTD (DBG_QOS, "TX:"); in hrz_open()
2216 PRINTD (DBG_QOS, "TX max_sdu check failed"); in hrz_open()
2250 PRINTD (DBG_QOS, "snatching all remaining TX bandwidth"); in hrz_open()
2261 PRINTD (DBG_QOS, "could not make rate from TX PCR"); in hrz_open()
2267 PRINTD (DBG_QOS, "TX PCR failed consistency check"); in hrz_open()
2298 PRINTD (DBG_QOS, "snatching all remaining TX bandwidth"); in hrz_open()
2309 PRINTD (DBG_QOS, "could not make rate from TX SCR"); in hrz_open()
2315 PRINTD (DBG_QOS, "TX SCR failed consistency check"); in hrz_open()
2325 PRINTD (DBG_QOS, "shrinking bucket from %u to %u", in hrz_open()
2335 PRINTD (DBG_QOS, "unsupported TX traffic class"); in hrz_open()
2343 PRINTD (DBG_QOS, "RX:"); in hrz_open()
2353 PRINTD (DBG_QOS, "RX max_sdu check failed"); in hrz_open()
2373 PRINTD (DBG_QOS, "snatching all remaining RX bandwidth"); in hrz_open()
2382 PRINTD (DBG_QOS, "RX PCR failed consistency check"); in hrz_open()
2394 PRINTD (DBG_QOS, "snatching all remaining RX bandwidth"); in hrz_open()
2403 PRINTD (DBG_QOS, "RX SCR failed consistency check"); in hrz_open()
2410 PRINTD (DBG_QOS, "unsupported RX traffic class"); in hrz_open()
2419 PRINTD (DBG_QOS, "AAL not supported"); in hrz_open()
2436 PRINTD (DBG_QOS, "not enough TX PCR left"); in hrz_open()
2441 PRINTD (DBG_QOS, "not enough RX PCR left"); in hrz_open()
2449 PRINTD (DBG_QOS|DBG_VCC, "reserving %u TX PCR and %u RX PCR", in hrz_open()
2456 PRINTD (DBG_QOS|DBG_VCC, "insufficient cell rate resources"); in hrz_open()
2469 PRINTD (DBG_ERR|DBG_VCC, "VC already open for RX"); in hrz_open()
2497 PRINTD (DBG_VCC|DBG_FLOW, "hrz_close"); in hrz_close()
2533 PRINTD (DBG_QOS|DBG_VCC, "releasing %u TX PCR and %u RX PCR", in hrz_close()
2549 PRINTD (DBG_FLOW|DBG_VCC, "hrz_getsockopt");
2568 PRINTD (DBG_FLOW|DBG_VCC, "hrz_setsockopt");
2588 PRINTD (DBG_FLOW, "hrz_ioctl");
2594 PRINTD (DBG_FLOW, "hrz_phy_get");
2601 PRINTD (DBG_FLOW, "hrz_phy_put");
2606 PRINTD (DBG_FLOW, "hrz_change_qos");
2616 PRINTD (DBG_FLOW, "hrz_proc_read"); in hrz_proc_read()
2674 PRINTD (DBG_FLOW, "hrz_probe"); in hrz_probe()
2688 PRINTD(DBG_ERR, "out of memory"); in hrz_probe()
2702 PRINTD(DBG_WARN, "request IRQ failed!"); in hrz_probe()
2707 PRINTD(DBG_INFO, "found Madge ATM adapter (hrz) at: IO %x, IRQ %u, MEM %p", in hrz_probe()
2713 PRINTD(DBG_ERR, "failed to register Madge ATM adapter"); in hrz_probe()
2718 PRINTD(DBG_INFO, "registered Madge ATM adapter (no. %d) (%p) at %p", in hrz_probe()
2729 PRINTD(DBG_INFO, "%s PCI latency timer from %hu to %hu", in hrz_probe()
2783 PRINTD(DBG_WARN, "Buggy ASIC: no TX bus-mastering."); in hrz_probe()
2822 PRINTD(DBG_INFO, "closing %p (atm_dev = %p)", dev, dev->atm_dev); in hrz_remove_one()
2902 PRINTD (DBG_FLOW, "cleanup_module"); in hrz_module_exit()