Searched refs:GINTSTS_CURMODE_HOST (Results 1 – 2 of 2) sorted by relevance
385 return (dwc2_readl(hsotg->regs + GINTSTS) & GINTSTS_CURMODE_HOST) != 0; in dwc2_is_host_mode()389 return (dwc2_readl(hsotg->regs + GINTSTS) & GINTSTS_CURMODE_HOST) == 0; in dwc2_is_device_mode()
166 #define GINTSTS_CURMODE_HOST (1 << 0) macro