Lines Matching refs:config
115 static void qca_tlv_check_data(struct rome_config *config, in qca_tlv_check_data() argument
134 config->dnld_mode = ROME_SKIP_EVT_NONE; in qca_tlv_check_data()
136 switch (config->type) { in qca_tlv_check_data()
146 config->dnld_mode = tlv_patch->download_mode; in qca_tlv_check_data()
191 tlv_nvm->data[2] = config->user_baud_rate; in qca_tlv_check_data()
209 BT_ERR("Unknown TLV type %d", config->type); in qca_tlv_check_data()
268 struct rome_config *config) in qca_download_firmware() argument
274 bt_dev_info(hdev, "QCA Downloading %s", config->fwname); in qca_download_firmware()
276 ret = request_firmware(&fw, config->fwname, &hdev->dev); in qca_download_firmware()
279 config->fwname, ret); in qca_download_firmware()
283 qca_tlv_check_data(config, fw); in qca_download_firmware()
295 config->dnld_mode = ROME_SKIP_EVT_NONE; in qca_download_firmware()
298 config->dnld_mode); in qca_download_firmware()
337 struct rome_config config; in qca_uart_setup() local
343 config.user_baud_rate = baudrate; in qca_uart_setup()
346 config.type = TLV_TYPE_PATCH; in qca_uart_setup()
353 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
356 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
360 err = qca_download_firmware(hdev, &config); in qca_uart_setup()
370 config.type = TLV_TYPE_NVM; in qca_uart_setup()
372 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
375 snprintf(config.fwname, sizeof(config.fwname), in qca_uart_setup()
378 err = qca_download_firmware(hdev, &config); in qca_uart_setup()