Lines Matching defs:etdev
277 struct et131x_adapter *etdev = netdev_priv(netdev);
282 data->phy_id = etdev->Stats.xcvr_addr;
289 status = MiRead(etdev,
297 status = MiWrite(etdev, data->reg_num,
502 struct et131x_adapter *etdev = netdev_priv(netdev);
507 if (etdev->Flags & fMP_ADAPTER_LINK_DETECTION)
513 if (etdev->Flags & fMP_ADAPTER_NON_RECOVER_ERROR)
517 if (etdev->Flags & fMP_ADAPTER_HARDWARE_ERROR) {
518 dev_err(&etdev->pdev->dev, "hardware error - reset\n");
523 spin_lock_irqsave(&etdev->TCBSendQLock, flags);
525 tcb = etdev->tx_ring.send_head;
531 spin_unlock_irqrestore(&etdev->TCBSendQLock,
534 dev_warn(&etdev->pdev->dev,
546 spin_unlock_irqrestore(&etdev->TCBSendQLock, flags);