Lines Matching refs:sr
120 static void usb_dc_sam_usbc_isr_sta_dbg(uint32_t ep_idx, uint32_t sr) in usb_dc_sam_usbc_isr_sta_dbg() argument
130 ((sr & USBC_UESTA0_RXSTPI) ? " STP" : "")); in usb_dc_sam_usbc_isr_sta_dbg()
149 #define usb_dc_sam_usbc_isr_sta_dbg(ep_idx, sr) argument
312 uint32_t sr = regs->UESTA[ep_idx]; in usb_dc_ep_isr_sta() local
314 usb_dc_sam_usbc_isr_sta_dbg(ep_idx, sr); in usb_dc_ep_isr_sta()
316 if (sr & USBC_UESTA0_RAMACERI) { in usb_dc_ep_isr_sta()
393 uint32_t sr = regs->UESTA[0]; in usb_dc_ep0_isr() local
401 if (sr & USBC_UESTA0_RXSTPI) { in usb_dc_ep0_isr()
413 if (sr & USBC_UESTA0_RXOUTI) { in usb_dc_ep0_isr()
442 if ((sr & USBC_UESTA0_TXINI) && in usb_dc_ep0_isr()
469 if (sr & USBC_UESTA0_NAKOUTI) { in usb_dc_ep0_isr()
489 if (sr & USBC_UESTA0_NAKINI) { in usb_dc_ep0_isr()
519 uint32_t sr = regs->UESTA[ep_idx]; in usb_dc_ep_isr() local
523 if (sr & USBC_UESTA0_RXOUTI) { in usb_dc_ep_isr()
531 if (sr & USBC_UESTA0_TXINI) { in usb_dc_ep_isr()
543 uint32_t sr = regs->UDINT; in usb_dc_sam_usbc_isr() local
547 if (sr & USBC_UDINT_SOF) { in usb_dc_sam_usbc_isr()
558 if (sr & USBC_UDINT_EP0INT) { in usb_dc_sam_usbc_isr()
565 if (sr & EP_UDINT_MASK) { in usb_dc_sam_usbc_isr()
567 if (sr & (USBC_UDINT_EP0INT << ep_idx)) { in usb_dc_sam_usbc_isr()
576 if (sr & USBC_UDINT_EORSM) { in usb_dc_sam_usbc_isr()
587 if (sr & USBC_UDINT_EORST) { in usb_dc_sam_usbc_isr()
608 if (sr & USBC_UDINT_SUSP && regs->UDINTE & USBC_UDINTE_SUSPE) { in usb_dc_sam_usbc_isr()
636 if (sr & USBC_UDINT_WAKEUP && regs->UDINTE & USBC_UDINTE_WAKEUPE) { in usb_dc_sam_usbc_isr()