/* When called from the interrupthandler only isp1362_hcd->irqenb is modified, since the interrupt handler will write isp1362_hcd->irqenb to HCuPINT upon completion. We don't need a 'disable' counterpart, since interrupts will be disabled only by the interrupt handler.  */
static void isp1362_enable_int(struct isp1362_hcd *isp1362_hcd, u16 mask)
/* When called from the interrupthandler only isp1362_hcd->irqenb is modified, since the interrupt handler will write isp1362_hcd->irqenb to HCuPINT upon completion. We don't need a 'disable' counterpart, since interrupts will be disabled only by the interrupt handler.  */
static void isp1362_enable_int(struct isp1362_hcd *isp1362_hcd, u16 mask)
{
	if ((isp1362_hcd->irqenb | mask) == isp1362_hcd->irqenb)
		return;
	if (mask & ~isp1362_hcd->irqenb)
		isp1362_write_reg16(isp1362_hcd, HCuPINT, mask & ~isp1362_hcd->irqenb);
	isp1362_hcd->irqenb |= mask;
	if (isp1362_hcd->irq_active)
		return;
	isp1362_write_reg16(isp1362_hcd, HCuPINTENB, isp1362_hcd->irqenb);
}