Lines Matching refs:hpet_dev

47 struct hpet_dev {  struct
56 inline struct hpet_dev *EVT_TO_HPET_DEV(struct clock_event_device *evtdev) in EVT_TO_HPET_DEV() argument
58 return container_of(evtdev, struct hpet_dev, evt); in EVT_TO_HPET_DEV()
352 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_resume()
448 static DEFINE_PER_CPU(struct hpet_dev *, cpu_hpet_dev);
449 static struct hpet_dev *hpet_devs;
454 struct hpet_dev *hdev = irq_data_get_irq_handler_data(data); in hpet_msi_unmask()
465 struct hpet_dev *hdev = irq_data_get_irq_handler_data(data); in hpet_msi_mask()
474 void hpet_msi_write(struct hpet_dev *hdev, struct msi_msg *msg) in hpet_msi_write()
480 void hpet_msi_read(struct hpet_dev *hdev, struct msi_msg *msg) in hpet_msi_read()
489 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_msi_shutdown()
496 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_msi_set_oneshot()
503 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_msi_set_periodic()
510 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_msi_resume()
518 struct hpet_dev *hdev = EVT_TO_HPET_DEV(evt); in hpet_msi_next_event()
524 struct hpet_dev *dev = (struct hpet_dev *)data; in hpet_interrupt_handler()
537 static int hpet_setup_irq(struct hpet_dev *dev) in hpet_setup_irq()
556 static void init_one_hpet_msi_clockevent(struct hpet_dev *hdev, int cpu) in init_one_hpet_msi_clockevent()
616 hpet_devs = kzalloc(sizeof(struct hpet_dev) * num_timers, GFP_KERNEL); in hpet_msi_capability_lookup()
623 struct hpet_dev *hdev = &hpet_devs[num_timers_used]; in hpet_msi_capability_lookup()
661 struct hpet_dev *hdev = &hpet_devs[i]; in hpet_reserve_msi_timers()
672 static struct hpet_dev *hpet_get_unused_timer(void) in hpet_get_unused_timer()
680 struct hpet_dev *hdev = &hpet_devs[i]; in hpet_get_unused_timer()
699 struct hpet_dev *hdev; in hpet_work()
717 struct hpet_dev *hdev = per_cpu(cpu_hpet_dev, cpu); in hpet_cpuhp_notify()