ASoC: Remove redundant snd_soc_dapm_sync() calls from machine drivers
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / htirq.h
blob70a1dbbf209350836f97743363fadfe4f6f95b36
1 #ifndef LINUX_HTIRQ_H
2 #define LINUX_HTIRQ_H
4 struct ht_irq_msg {
5 u32 address_lo; /* low 32 bits of the ht irq message */
6 u32 address_hi; /* high 32 bits of the it irq message */
7 };
9 /* Helper functions.. */
10 void fetch_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
11 void write_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
12 struct irq_data;
13 void mask_ht_irq(struct irq_data *data);
14 void unmask_ht_irq(struct irq_data *data);
16 /* The arch hook for getting things started */
17 int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
19 /* For drivers of buggy hardware */
20 typedef void (ht_irq_update_t)(struct pci_dev *dev, int irq,
21 struct ht_irq_msg *msg);
22 int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update);
24 #endif /* LINUX_HTIRQ_H */