Lines Matching refs:hp_dev
114 struct hpet_dev hp_dev[]; member
130 isr = 1 << (devp - devp->hd_hpets->hp_dev); in hpet_interrupt()
256 if (hpetp->hp_dev[i].hd_flags & HPET_OPEN) { in hpet_open()
259 devp = &hpetp->hp_dev[i]; in hpet_open()
483 isr = 1 << (devp - devp->hd_hpets->hp_dev); in hpet_ioctl_ieon()
487 sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev)); in hpet_ioctl_ieon()
539 isr = 1 << (devp - devp->hd_hpets->hp_dev); in hpet_ioctl_ieon()
606 info->hi_timer = devp - hpetp->hp_dev; in hpet_ioctl_common()
751 for (j = 0, devp = hpetp->hp_dev; j < hpetp->hp_ntimer; j++, devp++) in __hpet_calibrate()
823 hpetp = kzalloc(struct_size(hpetp, hp_dev, hdp->hd_nirqs), in hpet_alloc()
836 hpetp->hp_dev[i].hd_hdwirq = hdp->hd_irq[i]; in hpet_alloc()
887 for (i = 0, devp = hpetp->hp_dev; i < hpetp->hp_ntimer; i++, devp++) { in hpet_alloc()
890 timer = &hpet->hpet_timers[devp - hpetp->hp_dev]; in hpet_alloc()