libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
[pandora-kernel.git] / drivers / bcma / bcma_private.h
1 #ifndef LINUX_BCMA_PRIVATE_H_
2 #define LINUX_BCMA_PRIVATE_H_
3
4 #ifndef pr_fmt
5 #define pr_fmt(fmt)             KBUILD_MODNAME ": " fmt
6 #endif
7
8 #include <linux/bcma/bcma.h>
9 #include <linux/delay.h>
10
11 struct bcma_bus;
12
13 /* main.c */
14 int bcma_bus_register(struct bcma_bus *bus);
15 void bcma_bus_unregister(struct bcma_bus *bus);
16 int __init bcma_bus_early_register(struct bcma_bus *bus,
17                                    struct bcma_device *core_cc,
18                                    struct bcma_device *core_mips);
19 #ifdef CONFIG_PM
20 int bcma_bus_resume(struct bcma_bus *bus);
21 #endif
22
23 /* scan.c */
24 int bcma_bus_scan(struct bcma_bus *bus);
25 int __init bcma_bus_scan_early(struct bcma_bus *bus,
26                                struct bcma_device_id *match,
27                                struct bcma_device *core);
28 void bcma_init_bus(struct bcma_bus *bus);
29
30 /* sprom.c */
31 int bcma_sprom_get(struct bcma_bus *bus);
32
33 /* driver_chipcommon.c */
34 #ifdef CONFIG_BCMA_DRIVER_MIPS
35 void bcma_chipco_serial_init(struct bcma_drv_cc *cc);
36 #endif /* CONFIG_BCMA_DRIVER_MIPS */
37
38 /* driver_chipcommon_pmu.c */
39 u32 bcma_pmu_alp_clock(struct bcma_drv_cc *cc);
40 u32 bcma_pmu_get_clockcpu(struct bcma_drv_cc *cc);
41
42 #ifdef CONFIG_BCMA_HOST_PCI
43 /* host_pci.c */
44 extern int __init bcma_host_pci_init(void);
45 extern void __exit bcma_host_pci_exit(void);
46 #endif /* CONFIG_BCMA_HOST_PCI */
47
48 #ifdef CONFIG_BCMA_DRIVER_PCI_HOSTMODE
49 void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc);
50 #endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */
51
52 #endif