Lines Matching refs:hpet_channel
23 struct hpet_channel { struct
38 struct hpet_channel *channels; argument
54 static DEFINE_PER_CPU(struct hpet_channel *, cpu_hpet_channel);
70 struct hpet_channel *clockevent_to_channel(struct clock_event_device *evt) in clockevent_to_channel()
72 return container_of(evt, struct hpet_channel, evt); in clockevent_to_channel()
205 struct hpet_channel *hc = hpet_base.channels + i; in hpet_reserve_platform_timers()
230 struct hpet_channel *hc = hpet_base.channels + i; in hpet_select_device_channel()
396 static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating) in hpet_init_clockevent()
415 static void __init hpet_legacy_clockevent_register(struct hpet_channel *hc) in hpet_legacy_clockevent_register()
474 struct hpet_channel *hc = irq_data_get_irq_handler_data(data); in hpet_msi_unmask()
484 struct hpet_channel *hc = irq_data_get_irq_handler_data(data); in hpet_msi_mask()
492 void hpet_msi_write(struct hpet_channel *hc, struct msi_msg *msg) in hpet_msi_write()
500 struct hpet_channel *hc = clockevent_to_channel(evt); in hpet_clkevt_msi_resume()
513 struct hpet_channel *hc = data; in hpet_msi_interrupt_handler()
525 static int hpet_setup_msi_irq(struct hpet_channel *hc) in hpet_setup_msi_irq()
542 static void init_one_hpet_msi_clockevent(struct hpet_channel *hc, int cpu) in init_one_hpet_msi_clockevent()
557 static struct hpet_channel *hpet_get_unused_clockevent(void) in hpet_get_unused_clockevent()
562 struct hpet_channel *hc = hpet_base.channels + i; in hpet_get_unused_clockevent()
574 struct hpet_channel *hc = hpet_get_unused_clockevent(); in hpet_cpuhp_online()
583 struct hpet_channel *hc = per_cpu(cpu_hpet_channel, cpu); in hpet_cpuhp_dead()
610 struct hpet_channel *hc = hpet_base.channels + i; in hpet_select_clockevents()
816 struct hpet_channel *hc; in hpet_enable()