Lines Matching refs:hcint

704 	uint32_t hcint;  in dwc_otg_clear_hcint()  local
707 hcint = DWC_OTG_READ_4(sc, DOTG_HCINT(x)); in dwc_otg_clear_hcint()
708 DWC_OTG_WRITE_4(sc, DOTG_HCINT(x), hcint); in dwc_otg_clear_hcint()
711 sc->sc_chan_state[x].hcint = 0; in dwc_otg_clear_hcint()
887 uint32_t hcint; in dwc_otg_host_setup_tx() local
894 hcint = sc->sc_chan_state[td->channel[0]].hcint; in dwc_otg_host_setup_tx()
897 td->channel[0], td->state, hcint, in dwc_otg_host_setup_tx()
901 hcint = 0; in dwc_otg_host_setup_tx()
905 if (hcint & (HCINT_RETRY | in dwc_otg_host_setup_tx()
908 } else if (hcint & HCINT_STALL) { in dwc_otg_host_setup_tx()
913 } else if (hcint & HCINT_ERRORS) { in dwc_otg_host_setup_tx()
922 if (hcint & (HCINT_ERRORS | HCINT_RETRY | in dwc_otg_host_setup_tx()
924 if (!(hcint & HCINT_ERRORS)) in dwc_otg_host_setup_tx()
934 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_setup_tx()
938 } else if (hcint & (HCINT_ACK | HCINT_NYET)) { in dwc_otg_host_setup_tx()
948 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_setup_tx()
952 } else if (hcint & (HCINT_ACK | HCINT_NYET)) { in dwc_otg_host_setup_tx()
958 if (hcint & HCINT_NYET) { in dwc_otg_host_setup_tx()
960 } else if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_setup_tx()
964 } else if (hcint & HCINT_ACK) { in dwc_otg_host_setup_tx()
1274 if (sc->sc_chan_state[channel].hcint & HCINT_SOFTWARE_ONLY) { in dwc_otg_host_data_rx_sub()
1337 sc->sc_chan_state[channel].hcint |= HCINT_SOFTWARE_ONLY; in dwc_otg_host_data_rx_sub()
1353 uint32_t hcint = 0; in dwc_otg_host_data_rx() local
1363 hcint |= sc->sc_chan_state[channel].hcint; in dwc_otg_host_data_rx()
1366 channel, td->state, hcint, in dwc_otg_host_data_rx()
1371 if (hcint & (HCINT_RETRY | in dwc_otg_host_data_rx()
1374 } else if (hcint & HCINT_STALL) { in dwc_otg_host_data_rx()
1379 } else if (hcint & HCINT_ERRORS) { in dwc_otg_host_data_rx()
1395 hcint |= sc->sc_chan_state[channel].hcint; in dwc_otg_host_data_rx()
1397 if (hcint & (HCINT_ERRORS | HCINT_RETRY | in dwc_otg_host_data_rx()
1399 if (!(hcint & HCINT_ERRORS)) in dwc_otg_host_data_rx()
1412 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_data_rx()
1422 if (hcint & HCINT_DATATGLERR) { in dwc_otg_host_data_rx()
1450 } else if (hcint & HCINT_NYET) { in dwc_otg_host_data_rx()
1459 } else if (hcint & HCINT_ACK) { in dwc_otg_host_data_rx()
1461 if (!(hcint & HCINT_SOFTWARE_ONLY)) in dwc_otg_host_data_rx()
1500 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_data_rx()
1504 } else if (hcint & HCINT_NYET) { in dwc_otg_host_data_rx()
1507 } else if (hcint & HCINT_ACK) { in dwc_otg_host_data_rx()
1792 uint32_t hcint; in dwc_otg_host_data_tx() local
1804 hcint = sc->sc_chan_state[channel].hcint; in dwc_otg_host_data_tx()
1807 channel, td->state, hcint, in dwc_otg_host_data_tx()
1811 if (hcint & (HCINT_RETRY | in dwc_otg_host_data_tx()
1814 } else if (hcint & HCINT_STALL) { in dwc_otg_host_data_tx()
1819 } else if (hcint & HCINT_ERRORS) { in dwc_otg_host_data_tx()
1828 if (hcint & (HCINT_ERRORS | HCINT_RETRY | in dwc_otg_host_data_tx()
1830 if (!(hcint & HCINT_ERRORS)) in dwc_otg_host_data_tx()
1834 hcint = 0; in dwc_otg_host_data_tx()
1842 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_data_tx()
1846 } else if (hcint & (HCINT_ACK | HCINT_NYET)) { in dwc_otg_host_data_tx()
1851 if (hcint & HCINT_NYET) in dwc_otg_host_data_tx()
1872 if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_data_tx()
1876 } else if (hcint & (HCINT_ACK | HCINT_NYET)) { in dwc_otg_host_data_tx()
1883 if (hcint & HCINT_NYET) { in dwc_otg_host_data_tx()
1885 } else if (hcint & (HCINT_RETRY | HCINT_ERRORS)) { in dwc_otg_host_data_tx()
1889 } else if (hcint & HCINT_ACK) { in dwc_otg_host_data_tx()
1912 if ((hcint & HCINT_HCH_DONE_MASK) == 0) in dwc_otg_host_data_tx()
2710 sc->sc_chan_state[x].hcint |= temp; in dwc_otg_interrupt_poll_locked()