Lines Matching refs:hd_flags
99 unsigned int hd_flags; member
132 if ((devp->hd_flags & HPET_SHARED_IRQ) && in hpet_interrupt()
143 if ((devp->hd_flags & (HPET_IE | HPET_PERIODIC)) == HPET_IE) { in hpet_interrupt()
172 if (devp->hd_flags & HPET_SHARED_IRQ) in hpet_interrupt()
256 if (hpetp->hp_dev[i].hd_flags & HPET_OPEN) { in hpet_open()
271 devp->hd_flags |= HPET_OPEN; in hpet_open()
419 if (devp->hd_flags & HPET_PERIODIC in hpet_release()
428 devp->hd_flags &= ~(HPET_OPEN | HPET_IE | HPET_PERIODIC); in hpet_release()
456 if (devp->hd_flags & HPET_IE) { in hpet_ioctl_ieon()
461 devp->hd_flags |= HPET_IE; in hpet_ioctl_ieon()
464 devp->hd_flags |= HPET_SHARED_IRQ; in hpet_ioctl_ieon()
472 if (devp->hd_flags & HPET_SHARED_IRQ) { in hpet_ioctl_ieon()
488 irq_flags = devp->hd_flags & HPET_SHARED_IRQ ? IRQF_SHARED : 0; in hpet_ioctl_ieon()
498 devp->hd_flags ^= HPET_IE; in hpet_ioctl_ieon()
512 if (devp->hd_flags & HPET_PERIODIC) { in hpet_ioctl_ieon()
538 if (devp->hd_flags & HPET_SHARED_IRQ) { in hpet_ioctl_ieon()
586 if ((devp->hd_flags & HPET_IE) == 0) in hpet_ioctl_common()
595 devp->hd_flags ^= HPET_IE; in hpet_ioctl_common()
615 devp->hd_flags |= HPET_PERIODIC; in hpet_ioctl_common()
623 if (devp->hd_flags & HPET_PERIODIC && in hpet_ioctl_common()
629 devp->hd_flags &= ~HPET_PERIODIC; in hpet_ioctl_common()
752 if ((devp->hd_flags & HPET_OPEN) == 0) { in __hpet_calibrate()
901 devp->hd_flags = HPET_OPEN; in hpet_alloc()