Lines Matching defs:hpet_channel
25 struct hpet_channel {
40 struct hpet_channel *channels;
56 static DEFINE_PER_CPU(struct hpet_channel *, cpu_hpet_channel);
72 struct hpet_channel *clockevent_to_channel(struct clock_event_device *evt)
74 return container_of(evt, struct hpet_channel, evt);
207 struct hpet_channel *hc = hpet_base.channels + i;
232 struct hpet_channel *hc = hpet_base.channels + i;
398 static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating)
417 static void __init hpet_legacy_clockevent_register(struct hpet_channel *hc)
475 struct hpet_channel *hc = irq_data_get_irq_handler_data(data);
485 struct hpet_channel *hc = irq_data_get_irq_handler_data(data);
493 static void hpet_msi_write(struct hpet_channel *hc, struct msi_msg *msg)
595 static int hpet_assign_irq(struct irq_domain *domain, struct hpet_channel *hc,
611 struct hpet_channel *hc = clockevent_to_channel(evt);
624 struct hpet_channel *hc = data;
636 static int hpet_setup_msi_irq(struct hpet_channel *hc)
653 static void init_one_hpet_msi_clockevent(struct hpet_channel *hc, int cpu)
668 static struct hpet_channel *hpet_get_unused_clockevent(void)
673 struct hpet_channel *hc = hpet_base.channels + i;
685 struct hpet_channel *hc = hpet_get_unused_clockevent();
694 struct hpet_channel *hc = per_cpu(cpu_hpet_channel, cpu);
721 struct hpet_channel *hc = hpet_base.channels + i;
1004 struct hpet_channel *hc;