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