diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-09 10:10:34 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 07:01:45 -0500 |
commit | 83a18912b0e8d275001bca6fc9c0fe519d98f280 (patch) | |
tree | d63c40c62eb6964f84a2200a8ed9710772032b19 /include/linux/msi.h | |
parent | 891d4a48f7da39de2be17a59b47df62dccf0f3d5 (diff) |
PCI/MSI: Rename write_msi_msg() to pci_write_msi_msg()
Rename write_msi_msg() to pci_write_msi_msg() to mark it as PCI
specific.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r-- | include/linux/msi.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h index f36c37b46f10..301adecbc34d 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h | |||
@@ -17,9 +17,7 @@ struct msi_desc; | |||
17 | void mask_msi_irq(struct irq_data *data); | 17 | void mask_msi_irq(struct irq_data *data); |
18 | void unmask_msi_irq(struct irq_data *data); | 18 | void unmask_msi_irq(struct irq_data *data); |
19 | void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg); | 19 | void __get_cached_msi_msg(struct msi_desc *entry, struct msi_msg *msg); |
20 | void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg); | ||
21 | void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg); | 20 | void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg); |
22 | void write_msi_msg(unsigned int irq, struct msi_msg *msg); | ||
23 | 21 | ||
24 | u32 __msix_mask_irq(struct msi_desc *desc, u32 flag); | 22 | u32 __msix_mask_irq(struct msi_desc *desc, u32 flag); |
25 | u32 __msi_mask_irq(struct msi_desc *desc, u32 mask, u32 flag); | 23 | u32 __msi_mask_irq(struct msi_desc *desc, u32 mask, u32 flag); |
@@ -51,6 +49,18 @@ struct msi_desc { | |||
51 | }; | 49 | }; |
52 | 50 | ||
53 | void __pci_read_msi_msg(struct msi_desc *entry, struct msi_msg *msg); | 51 | void __pci_read_msi_msg(struct msi_desc *entry, struct msi_msg *msg); |
52 | void __pci_write_msi_msg(struct msi_desc *entry, struct msi_msg *msg); | ||
53 | void pci_write_msi_msg(unsigned int irq, struct msi_msg *msg); | ||
54 | |||
55 | /* Conversion helpers. Should be removed after merging */ | ||
56 | static inline void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) | ||
57 | { | ||
58 | __pci_write_msi_msg(entry, msg); | ||
59 | } | ||
60 | static inline void write_msi_msg(int irq, struct msi_msg *msg) | ||
61 | { | ||
62 | pci_write_msi_msg(irq, msg); | ||
63 | } | ||
54 | 64 | ||
55 | /* | 65 | /* |
56 | * The arch hooks to setup up msi irqs. Those functions are | 66 | * The arch hooks to setup up msi irqs. Those functions are |