Lines Matching defs:intrstatus
1465 * @intrstatus: The mask value containing the interrupt sources.
1469 static void xudc_startup_handler(struct xusb_udc *udc, u32 intrstatus)
1473 if (intrstatus & XUSB_STATUS_RESET_MASK) {
1477 if (intrstatus & XUSB_STATUS_HIGH_SPEED_MASK)
1496 if (intrstatus & XUSB_STATUS_SUSPEND_MASK) {
1514 if (intrstatus & XUSB_STATUS_RESUME_MASK) {
1536 if (intrstatus & XUSB_STATUS_DISCONNECT_MASK) {
1929 * @intrstatus: It's the mask value for the interrupt sources on endpoint 0.
1933 static void xudc_ctrl_ep_handler(struct xusb_udc *udc, u32 intrstatus)
1936 if (intrstatus & XUSB_STATUS_SETUP_PACKET_MASK) {
1939 if (intrstatus & XUSB_STATUS_FIFO_BUFF_RDY_MASK)
1941 else if (intrstatus & XUSB_STATUS_FIFO_BUFF_FREE_MASK)
1950 * @intrstatus: mask value for interrupt sources of endpoints other
1956 u32 intrstatus)
1964 if (intrstatus & (XUSB_STATUS_EP0_BUFF1_COMP_MASK << epnum))
1966 if (intrstatus & (XUSB_STATUS_EP0_BUFF2_COMP_MASK << epnum))
1990 u32 intrstatus;
2007 intrstatus = udc->read_fn(udc->addr + XUSB_STATUS_OFFSET);
2010 if (intrstatus & XUSB_STATUS_INTR_EVENT_MASK) {
2018 xudc_startup_handler(udc, intrstatus);
2022 if (intrstatus & XUSB_STATUS_INTR_BUFF_COMP_ALL_MASK) {
2028 if (intrstatus & XUSB_STATUS_EP0_BUFF1_COMP_MASK)
2029 xudc_ctrl_ep_handler(udc, intrstatus);
2032 bufintr = ((intrstatus &
2034 (index - 1))) || (intrstatus &
2039 intrstatus);