Lines Matching refs:intr_status

1584 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota)  in sh_eth_rx()  argument
1705 if (intr_status & EESR_RDE && !mdp->cd->no_xdfar) { in sh_eth_rx()
1767 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error() argument
1772 if (intr_status & EESR_TWB) { in sh_eth_error()
1774 if (intr_status & EESR_TABT) { /* Transmit Abort int */ in sh_eth_error()
1780 if (intr_status & EESR_RABT) { in sh_eth_error()
1782 if (intr_status & EESR_RFRMER) { in sh_eth_error()
1788 if (intr_status & EESR_TDE) { in sh_eth_error()
1794 if (intr_status & EESR_TFE) { in sh_eth_error()
1800 if (intr_status & EESR_RDE) { in sh_eth_error()
1805 if (intr_status & EESR_RFE) { in sh_eth_error()
1810 if (!mdp->cd->no_ade && (intr_status & EESR_ADE)) { in sh_eth_error()
1819 if (intr_status & mask) { in sh_eth_error()
1825 intr_status, mdp->cur_tx, mdp->dirty_tx, in sh_eth_error()
1846 u32 intr_status, intr_enable; in sh_eth_interrupt() local
1851 intr_status = sh_eth_read(ndev, EESR); in sh_eth_interrupt()
1859 intr_status &= intr_enable | EESIPR_ECIIP; in sh_eth_interrupt()
1860 if (intr_status & (EESR_RX_CHECK | cd->tx_check | EESR_ECI | in sh_eth_interrupt()
1871 if (intr_status & EESR_RX_CHECK) { in sh_eth_interrupt()
1880 intr_status, intr_enable); in sh_eth_interrupt()
1885 if (intr_status & cd->tx_check) { in sh_eth_interrupt()
1887 sh_eth_write(ndev, intr_status & cd->tx_check, EESR); in sh_eth_interrupt()
1894 if (intr_status & EESR_ECI) in sh_eth_interrupt()
1897 if (intr_status & cd->eesr_err_check) { in sh_eth_interrupt()
1899 sh_eth_write(ndev, intr_status & cd->eesr_err_check, EESR); in sh_eth_interrupt()
1901 sh_eth_error(ndev, intr_status); in sh_eth_interrupt()
1916 u32 intr_status; in sh_eth_poll() local
1919 intr_status = sh_eth_read(ndev, EESR); in sh_eth_poll()
1920 if (!(intr_status & EESR_RX_CHECK)) in sh_eth_poll()
1923 sh_eth_write(ndev, intr_status & EESR_RX_CHECK, EESR); in sh_eth_poll()
1925 if (sh_eth_rx(ndev, intr_status, &quota)) in sh_eth_poll()