This source file includes following definitions.
- brcmf_dmi_probe
1
2
3
4
5 #ifndef BRCMFMAC_COMMON_H
6 #define BRCMFMAC_COMMON_H
7
8 #include <linux/platform_device.h>
9 #include <linux/platform_data/brcmfmac.h>
10 #include "fwil_types.h"
11
12 #define BRCMF_FW_ALTPATH_LEN 256
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 struct brcmf_mp_global_t {
28 char firmware_path[BRCMF_FW_ALTPATH_LEN];
29 };
30
31 extern struct brcmf_mp_global_t brcmf_mp_global;
32
33
34
35
36
37
38
39
40
41
42
43
44 struct brcmf_mp_device {
45 bool p2p_enable;
46 unsigned int feature_disable;
47 int fcmode;
48 bool roamoff;
49 bool iapp;
50 bool ignore_probe_fail;
51 struct brcmfmac_pd_cc *country_codes;
52 const char *board_type;
53 union {
54 struct brcmfmac_sdio_pd sdio;
55 } bus;
56 };
57
58 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp);
59
60 struct brcmf_mp_device *brcmf_get_module_param(struct device *dev,
61 enum brcmf_bus_type bus_type,
62 u32 chip, u32 chiprev);
63 void brcmf_release_module_param(struct brcmf_mp_device *module_param);
64
65
66 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp);
67
68 #ifdef CONFIG_DMI
69 void brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev);
70 #else
71 static inline void
72 brcmf_dmi_probe(struct brcmf_mp_device *settings, u32 chip, u32 chiprev) {}
73 #endif
74
75 #endif