Source
66
66
67
67
#if IS_ENABLED(CONFIG_BT_BCM)
68
68
69
69
int btbcm_check_bdaddr(struct hci_dev *hdev);
70
70
int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
71
71
int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw);
72
72
73
73
int btbcm_setup_patchram(struct hci_dev *hdev);
74
74
int btbcm_setup_apple(struct hci_dev *hdev);
75
75
76
-
int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len);
76
+
int btbcm_initialize(struct hci_dev *hdev, char *fw_name, size_t len,
77
+
bool reinit);
77
78
int btbcm_finalize(struct hci_dev *hdev);
78
79
79
80
#else
80
81
81
82
static inline int btbcm_check_bdaddr(struct hci_dev *hdev)
82
83
{
83
84
return -EOPNOTSUPP;
84
85
}
85
86
86
87
static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr)
97
98
{
98
99
return 0;
99
100
}
100
101
101
102
static inline int btbcm_setup_apple(struct hci_dev *hdev)
102
103
{
103
104
return 0;
104
105
}
105
106
106
107
static inline int btbcm_initialize(struct hci_dev *hdev, char *fw_name,
107
-
size_t len)
108
+
size_t len, bool reinit)
108
109
{
109
110
return 0;
110
111
}
111
112
112
113
static inline int btbcm_finalize(struct hci_dev *hdev)
113
114
{
114
115
return 0;
115
116
}
116
117
117
118
#endif