Searched refs:int_cause (Results 1 – 2 of 2) sorted by relevance
2145 u32 int_cause; in mv643xx_eth_collect_events() local2148 int_cause = rdlp(mp, INT_CAUSE) & mp->int_mask; in mv643xx_eth_collect_events()2149 if (int_cause == 0) in mv643xx_eth_collect_events()2153 if (int_cause & INT_EXT) { in mv643xx_eth_collect_events()2154 int_cause &= ~INT_EXT; in mv643xx_eth_collect_events()2158 if (int_cause) { in mv643xx_eth_collect_events()2159 wrlp(mp, INT_CAUSE, ~int_cause); in mv643xx_eth_collect_events()2160 mp->work_tx_end |= ((int_cause & INT_TX_END) >> 19) & in mv643xx_eth_collect_events()2162 mp->work_rx |= (int_cause & INT_RX) >> 2; in mv643xx_eth_collect_events()
816 u32 int_cause; in thc_int_cause_read() local819 THC_M_PRT_DEV_INT_CAUSE_REG_VAL_OFFSET, &int_cause); in thc_int_cause_read()821 return int_cause; in thc_int_cause_read()