Lines Matching refs:etdev
91 * @etdev: pointer to our adapter structure
109 void EnablePhyComa(struct et131x_adapter *etdev)
114 GlobalPmCSR = readl(&etdev->regs->global.pm_csr);
119 etdev->PoMgmt.PowerDownSpeed = etdev->AiForceSpeed;
120 etdev->PoMgmt.PowerDownDuplex = etdev->AiForceDpx;
123 spin_lock_irqsave(&etdev->SendHWLock, flags);
124 etdev->Flags |= fMP_ADAPTER_LOWER_POWER;
125 spin_unlock_irqrestore(&etdev->SendHWLock, flags);
131 writel(GlobalPmCSR, &etdev->regs->global.pm_csr);
135 writel(GlobalPmCSR, &etdev->regs->global.pm_csr);
140 * @etdev: pointer to our adapter structure
142 void DisablePhyComa(struct et131x_adapter *etdev)
146 GlobalPmCSR = readl(&etdev->regs->global.pm_csr);
151 writel(GlobalPmCSR, &etdev->regs->global.pm_csr);
156 etdev->AiForceSpeed = etdev->PoMgmt.PowerDownSpeed;
157 etdev->AiForceDpx = etdev->PoMgmt.PowerDownDuplex;
160 et131x_init_send(etdev);
163 et131x_reset_recv(etdev);
169 et131x_soft_reset(etdev);
172 et131x_adapter_setup(etdev);
175 etdev->Flags &= ~fMP_ADAPTER_LOWER_POWER;
178 et131x_rx_dma_enable(etdev);