blob: b9773e2f07064362187902c009f98105186e796d [file] [log] [blame]
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef __DWC_PCD_IRQ_H__
#define __DWC_PCD_IRQ_H__
int dwc_pcd_irq(void);
int dwc_otg_irq(void);
/**
* States of EP0.
*/
typedef enum ep0_state {
EP0_DISCONNECT, /* no host */
EP0_IDLE,
EP0_IN_DATA_PHASE,
EP0_OUT_DATA_PHASE,
EP0_STATUS,
EP0_STALL,
} ep0state_e;
extern int dwc_common_irq(void);
extern int cb_4_dis_connect_intr(void);
#endif