Searched refs:int_cause (Results 1 – 2 of 2) sorted by relevance
2146 u32 int_cause; in mv643xx_eth_collect_events() local2149 int_cause = rdlp(mp, INT_CAUSE) & mp->int_mask; in mv643xx_eth_collect_events()2150 if (int_cause == 0) in mv643xx_eth_collect_events()2154 if (int_cause & INT_EXT) { in mv643xx_eth_collect_events()2155 int_cause &= ~INT_EXT; in mv643xx_eth_collect_events()2159 if (int_cause) { in mv643xx_eth_collect_events()2160 wrlp(mp, INT_CAUSE, ~int_cause); in mv643xx_eth_collect_events()2161 mp->work_tx_end |= ((int_cause & INT_TX_END) >> 19) & in mv643xx_eth_collect_events()2163 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()