Lines Matching defs:intrstatus
1469 * @intrstatus: The mask value containing the interrupt sources.
1473 static void xudc_startup_handler(struct xusb_udc *udc, u32 intrstatus)
1477 if (intrstatus & XUSB_STATUS_RESET_MASK) {
1481 if (intrstatus & XUSB_STATUS_HIGH_SPEED_MASK)
1500 if (intrstatus & XUSB_STATUS_SUSPEND_MASK) {
1518 if (intrstatus & XUSB_STATUS_RESUME_MASK) {
1540 if (intrstatus & XUSB_STATUS_DISCONNECT_MASK) {
1935 * @intrstatus: It's the mask value for the interrupt sources on endpoint 0.
1939 static void xudc_ctrl_ep_handler(struct xusb_udc *udc, u32 intrstatus)
1942 if (intrstatus & XUSB_STATUS_SETUP_PACKET_MASK) {
1945 if (intrstatus & XUSB_STATUS_FIFO_BUFF_RDY_MASK)
1947 else if (intrstatus & XUSB_STATUS_FIFO_BUFF_FREE_MASK)
1956 * @intrstatus: mask value for interrupt sources of endpoints other
1962 u32 intrstatus)
1970 if (intrstatus & (XUSB_STATUS_EP0_BUFF1_COMP_MASK << epnum))
1972 if (intrstatus & (XUSB_STATUS_EP0_BUFF2_COMP_MASK << epnum))
1996 u32 intrstatus;
2013 intrstatus = udc->read_fn(udc->addr + XUSB_STATUS_OFFSET);
2016 if (intrstatus & XUSB_STATUS_INTR_EVENT_MASK) {
2024 xudc_startup_handler(udc, intrstatus);
2028 if (intrstatus & XUSB_STATUS_INTR_BUFF_COMP_ALL_MASK) {
2034 if (intrstatus & XUSB_STATUS_EP0_BUFF1_COMP_MASK)
2035 xudc_ctrl_ep_handler(udc, intrstatus);
2038 bufintr = ((intrstatus &
2040 (index - 1))) || (intrstatus &
2045 intrstatus);