Lines Matching refs:ndev

73 	netdev_dbg(cfhsi->ndev, "%s.\n",  in cfhsi_inactivity_tout()
150 cfhsi->ndev->stats.tx_errors++; in cfhsi_abort_tx()
151 cfhsi->ndev->stats.tx_dropped++; in cfhsi_abort_tx()
169 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_flush_fifo()
176 netdev_warn(cfhsi->ndev, in cfhsi_flush_fifo()
190 netdev_warn(cfhsi->ndev, in cfhsi_flush_fifo()
201 netdev_warn(cfhsi->ndev, in cfhsi_flush_fifo()
207 netdev_warn(cfhsi->ndev, in cfhsi_flush_fifo()
252 cfhsi->ndev->stats.tx_packets++; in cfhsi_tx_frm()
253 cfhsi->ndev->stats.tx_bytes += skb->len; in cfhsi_tx_frm()
294 cfhsi->ndev->stats.tx_packets++; in cfhsi_tx_frm()
295 cfhsi->ndev->stats.tx_bytes += skb->len; in cfhsi_tx_frm()
336 netdev_dbg(cfhsi->ndev, "%s.\n", __func__); in cfhsi_start_tx()
362 netdev_err(cfhsi->ndev, "%s: TX error %d.\n", in cfhsi_start_tx()
369 netdev_dbg(cfhsi->ndev, "%s.\n", __func__); in cfhsi_tx_done()
384 cfhsi->cfdev.flowctrl(cfhsi->ndev, ON); in cfhsi_tx_done()
404 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_tx_done_cb()
421 netdev_err(cfhsi->ndev, "%s: Invalid descriptor.\n", in cfhsi_rx_desc()
443 netdev_err(cfhsi->ndev, "%s: Invalid length.\n", in cfhsi_rx_desc()
451 netdev_err(cfhsi->ndev, "%s: Out of memory !\n", in cfhsi_rx_desc()
462 skb->dev = cfhsi->ndev; in cfhsi_rx_desc()
475 cfhsi->ndev->stats.rx_packets++; in cfhsi_rx_desc()
476 cfhsi->ndev->stats.rx_bytes += len; in cfhsi_rx_desc()
492 netdev_err(cfhsi->ndev, in cfhsi_rx_desc()
539 netdev_err(cfhsi->ndev, "%s: Invalid descriptor.\n", in cfhsi_rx_pld()
573 netdev_err(cfhsi->ndev, "%s: Invalid length.\n", in cfhsi_rx_pld()
581 netdev_err(cfhsi->ndev, "%s: Out of memory !\n", in cfhsi_rx_pld()
593 skb->dev = cfhsi->ndev; in cfhsi_rx_pld()
605 cfhsi->ndev->stats.rx_packets++; in cfhsi_rx_pld()
606 cfhsi->ndev->stats.rx_bytes += len; in cfhsi_rx_pld()
627 netdev_dbg(cfhsi->ndev, "%s\n", __func__); in cfhsi_rx_done()
695 netdev_dbg(cfhsi->ndev, "%s: Start RX.\n", in cfhsi_rx_done()
701 netdev_err(cfhsi->ndev, "%s: RX error %d.\n", in cfhsi_rx_done()
703 cfhsi->ndev->stats.rx_errors++; in cfhsi_rx_done()
704 cfhsi->ndev->stats.rx_dropped++; in cfhsi_rx_done()
738 netdev_err(cfhsi->ndev, "%s: Out of sync.\n", __func__); in cfhsi_rx_done()
748 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_rx_slowpath()
759 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_rx_done_cb()
794 netdev_dbg(cfhsi->ndev, "%s: Start waiting.\n", in cfhsi_wake_up()
804 netdev_err(cfhsi->ndev, "%s: Signalled: %ld.\n", in cfhsi_wake_up()
815 netdev_dbg(cfhsi->ndev, "%s: Timeout.\n", in cfhsi_wake_up()
822 netdev_dbg(cfhsi->ndev, "%s: Bytes in FIFO: %u.\n", in cfhsi_wake_up()
830 netdev_err(cfhsi->ndev, "%s: CA Wake missed !.\n", in cfhsi_wake_up()
845 netdev_dbg(cfhsi->ndev, "%s: Woken.\n", in cfhsi_wake_up()
853 netdev_dbg(cfhsi->ndev, "%s: Start RX.\n", __func__); in cfhsi_wake_up()
857 netdev_err(cfhsi->ndev, "%s: RX err %d.\n", __func__, res); in cfhsi_wake_up()
866 netdev_dbg(cfhsi->ndev, "%s: Peer wake, start timer.\n", in cfhsi_wake_up()
875 netdev_dbg(cfhsi->ndev, "%s: Host wake.\n", in cfhsi_wake_up()
887 netdev_err(cfhsi->ndev, "%s: TX error %d.\n", in cfhsi_wake_up()
892 netdev_err(cfhsi->ndev, in cfhsi_wake_up()
906 netdev_dbg(cfhsi->ndev, "%s.\n", __func__); in cfhsi_wake_down()
921 netdev_err(cfhsi->ndev, "%s: Signalled: %ld.\n", in cfhsi_wake_down()
928 netdev_err(cfhsi->ndev, "%s: Timeout.\n", __func__); in cfhsi_wake_down()
934 netdev_err(cfhsi->ndev, "%s: CA Wake missed !.\n", in cfhsi_wake_down()
952 netdev_err(cfhsi->ndev, "%s: FIFO Timeout.\n", __func__); in cfhsi_wake_down()
968 dev_close(cfhsi->ndev); in cfhsi_out_of_sync()
977 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_wake_up_cb()
996 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_wake_down_cb()
1008 netdev_dbg(cfhsi->ndev, "%s.\n", in cfhsi_aggregation_tout()
1064 cfhsi->cfdev.flowctrl(cfhsi->ndev, OFF); in cfhsi_xmit()
1100 netdev_err(cfhsi->ndev, "%s: TX error %d.\n", in cfhsi_xmit()
1132 cfhsi->ndev = dev; in cfhsi_setup()
1136 static int cfhsi_open(struct net_device *ndev) in cfhsi_open() argument
1138 struct cfhsi *cfhsi = netdev_priv(ndev); in cfhsi_open()
1204 cfhsi->wq = create_singlethread_workqueue(cfhsi->ndev->name); in cfhsi_open()
1206 netdev_err(cfhsi->ndev, "%s: Failed to create work queue.\n", in cfhsi_open()
1233 netdev_err(cfhsi->ndev, in cfhsi_open()
1242 netdev_err(cfhsi->ndev, "%s: Can't flush FIFO: %d.\n", in cfhsi_open()
1262 static int cfhsi_close(struct net_device *ndev) in cfhsi_close() argument
1264 struct cfhsi *cfhsi = netdev_priv(ndev); in cfhsi_close()
1470 unregister_netdev(cfhsi->ndev); in cfhsi_exit_module()