Source
93
93
int btintel_load_ddc_config(struct hci_dev *hdev, const char *ddc_name);
94
94
int btintel_set_event_mask(struct hci_dev *hdev, bool debug);
95
95
int btintel_set_event_mask_mfg(struct hci_dev *hdev, bool debug);
96
96
int btintel_read_version(struct hci_dev *hdev, struct intel_version *ver);
97
97
98
98
struct regmap *btintel_regmap_init(struct hci_dev *hdev, u16 opcode_read,
99
99
u16 opcode_write);
100
100
int btintel_send_intel_reset(struct hci_dev *hdev, u32 boot_param);
101
101
int btintel_read_boot_params(struct hci_dev *hdev,
102
102
struct intel_boot_params *params);
103
-
103
+
int btintel_download_firmware(struct hci_dev *dev, const struct firmware *fw,
104
+
u32 *boot_param);
104
105
#else
105
106
106
107
static inline int btintel_check_bdaddr(struct hci_dev *hdev)
107
108
{
108
109
return -EOPNOTSUPP;
109
110
}
110
111
111
112
static inline int btintel_enter_mfg(struct hci_dev *hdev)
112
113
{
113
114
return -EOPNOTSUPP;
181
182
u32 reset_param)
182
183
{
183
184
return -EOPNOTSUPP;
184
185
}
185
186
186
187
static inline int btintel_read_boot_params(struct hci_dev *hdev,
187
188
struct intel_boot_params *params)
188
189
{
189
190
return -EOPNOTSUPP;
190
191
}
192
+
193
+
static inline int btintel_download_firmware(struct hci_dev *dev,
194
+
const struct firmware *fw,
195
+
u32 *boot_param)
196
+
{
197
+
return -EOPNOTSUPP;
198
+
}
191
199
#endif