Lines Matching refs:emac_dev
563 struct device *emac_dev = &priv->ndev->dev;
566 dev_info(emac_dev, "EMAC Basic registers\n");
568 dev_info(emac_dev, "EMAC: EWCTL: %08X, EWINTTCNT: %08X\n",
572 dev_info(emac_dev, "EMAC: TXID: %08X %s, RXID: %08X %s\n",
577 dev_info(emac_dev, "EMAC: TXIntRaw:%08X, TxIntMasked: %08X, "\
580 dev_info(emac_dev, "EMAC: RXIntRaw:%08X, RxIntMasked: %08X, "\
583 dev_info(emac_dev, "EMAC: MacIntRaw:%08X, MacIntMasked: %08X, "\
586 dev_info(emac_dev, "EMAC: EmuControl:%08X, FifoControl: %08X\n",
588 dev_info(emac_dev, "EMAC: MBPEnable:%08X, RXUnicastSet: %08X, "\
591 dev_info(emac_dev, "EMAC: MacControl:%08X, MacStatus: %08X, "\
594 dev_info(emac_dev, "EMAC: TXHDP[0]:%08X, RXHDP[0]: %08X\n",
596 dev_info(emac_dev, "EMAC Statistics\n");
597 dev_info(emac_dev, "EMAC: rx_good_frames:%d\n",
599 dev_info(emac_dev, "EMAC: rx_broadcast_frames:%d\n",
601 dev_info(emac_dev, "EMAC: rx_multicast_frames:%d\n",
603 dev_info(emac_dev, "EMAC: rx_pause_frames:%d\n",
605 dev_info(emac_dev, "EMAC: rx_crcerrors:%d\n",
607 dev_info(emac_dev, "EMAC: rx_align_code_errors:%d\n",
609 dev_info(emac_dev, "EMAC: rx_oversized_frames:%d\n",
611 dev_info(emac_dev, "EMAC: rx_jabber_frames:%d\n",
613 dev_info(emac_dev, "EMAC: rx_undersized_frames:%d\n",
615 dev_info(emac_dev, "EMAC: rx_fragments:%d\n",
617 dev_info(emac_dev, "EMAC: rx_filtered_frames:%d\n",
619 dev_info(emac_dev, "EMAC: rx_qos_filtered_frames:%d\n",
621 dev_info(emac_dev, "EMAC: rx_octets:%d\n",
623 dev_info(emac_dev, "EMAC: tx_goodframes:%d\n",
625 dev_info(emac_dev, "EMAC: tx_bcastframes:%d\n",
627 dev_info(emac_dev, "EMAC: tx_mcastframes:%d\n",
629 dev_info(emac_dev, "EMAC: tx_pause_frames:%d\n",
631 dev_info(emac_dev, "EMAC: tx_deferred_frames:%d\n",
633 dev_info(emac_dev, "EMAC: tx_collision_frames:%d\n",
635 dev_info(emac_dev, "EMAC: tx_single_coll_frames:%d\n",
637 dev_info(emac_dev, "EMAC: tx_mult_coll_frames:%d\n",
639 dev_info(emac_dev, "EMAC: tx_excessive_collisions:%d\n",
641 dev_info(emac_dev, "EMAC: tx_late_collisions:%d\n",
643 dev_info(emac_dev, "EMAC: tx_underrun:%d\n",
645 dev_info(emac_dev, "EMAC: tx_carrier_sense_errors:%d\n",
647 dev_info(emac_dev, "EMAC: tx_octets:%d\n",
649 dev_info(emac_dev, "EMAC: net_octets:%d\n",
651 dev_info(emac_dev, "EMAC: rx_sof_overruns:%d\n",
653 dev_info(emac_dev, "EMAC: rx_mof_overruns:%d\n",
655 dev_info(emac_dev, "EMAC: rx_dma_overruns:%d\n",
928 struct device *emac_dev = &priv->ndev->dev;
935 dev_err(emac_dev, "DaVinci EMAC: hash_add(): Invalid "\
1013 struct device *emac_dev = &priv->ndev->dev;
1038 dev_err(emac_dev, "DaVinci EMAC: add_mcast"\
1212 struct device *emac_dev = &priv->ndev->dev;
1220 dev_err(emac_dev, "DaVinci EMAC: TX Ch mem alloc failed");
1234 dev_err(emac_dev, "DaVinci EMAC: Tx service mem alloc failed");
1328 struct device *emac_dev = &priv->ndev->dev;
1339 dev_err(emac_dev, "EMAC: TX teardown aborted\n");
1349 dma_unmap_single(emac_dev, curr_bd->buff_ptr,
1403 struct device *emac_dev = &priv->ndev->dev;
1414 dev_err(emac_dev, "DaVinci EMAC:emac_tx_bdproc: "\
1446 dma_unmap_single(emac_dev, curr_bd->buff_ptr,
1566 struct device *emac_dev = &ndev->dev;
1575 dev_err(emac_dev, "DaVinci EMAC: No link to transmit");
1595 dev_err(emac_dev, "DaVinci EMAC: xmit() fatal"\
1619 struct device *emac_dev = &ndev->dev;
1622 dev_err(emac_dev, "DaVinci EMAC: xmit timeout, restarting TX");
1650 struct device *emac_dev = &ndev->dev;
1656 dev_err(emac_dev, "DaVinci EMAC: failed to alloc skb");
1680 struct device *emac_dev = &priv->ndev->dev;
1688 dev_err(emac_dev, "DaVinci EMAC: RX Ch mem alloc failed");
1723 dev_err(emac_dev, "DaVinci EMAC: RX buf mem alloc " \
1732 curr_bd->buff_ptr = dma_map_single(emac_dev, curr_bd->data_ptr,
1761 struct device *emac_dev = &priv->ndev->dev;
1770 dev_err(emac_dev, "EMAC: RX teardown aborted\n");
1922 struct device *emac_dev = &priv->ndev->dev;
1935 dev_err(emac_dev, "DaVinci EMAC: Wrong addressing\n");
1952 struct device *emac_dev = &priv->ndev->dev;
1970 dev_notice(emac_dev, "DaVinci EMAC: emac_dev_setmac_addr %pM\n",
2269 struct device *emac_dev = &ndev->dev;
2301 dev_err(emac_dev, "DaVinci EMAC: Fatal Hardware Error\n");
2312 dev_err(emac_dev, "TX Host error %s on ch=%d\n",
2322 dev_err(emac_dev, "RX Host error %s on ch=%d\n",
2500 struct device *emac_dev = &ndev->dev;
2532 dev_err(emac_dev, "DaVinci EMAC: emac_init_txch() failed");
2537 dev_err(emac_dev, "DaVinci EMAC: emac_init_rxch() failed");
2608 dev_notice(emac_dev, "DaVinci EMAC: Opened %s\n", ndev->name);
2617 dev_err(emac_dev, "DaVinci EMAC: request_irq() failed");
2643 struct device *emac_dev = &ndev->dev;
2668 dev_notice(emac_dev, "DaVinci EMAC: %s stopped\n", ndev->name);
2761 struct device *emac_dev;
2806 emac_dev = &ndev->dev;
2810 dev_err(emac_dev, "DaVinci EMAC: Error getting res\n");
2818 dev_err(emac_dev, "DaVinci EMAC: failed request_mem_region() for regs\n");
2825 dev_err(emac_dev, "Unable to map IO\n");
2845 dev_err(emac_dev, "DaVinci EMAC: Error getting irq res\n");
2868 dev_err(emac_dev, "DaVinci EMAC: Error in register_netdev\n");
2877 dev_err(emac_dev, "DaVinci EMAC: Error allocating mii_bus\n");
2901 dev_notice(emac_dev, "DaVinci EMAC Probe found device "\