Searched refs:btrtl_dev (Results 1 – 3 of 3) sorted by relevance
206 struct btrtl_device_info *btrtl_dev, in rtlbt_parse_firmware() argument234 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()237 fwptr = btrtl_dev->fw_data + btrtl_dev->fw_len - sizeof(extension_sig); in rtlbt_parse_firmware()249 while (fwptr >= btrtl_dev->fw_data + (sizeof(*epatch_info) + 3)) { in rtlbt_parse_firmware()288 if (btrtl_dev->ic_info->lmp_subver != in rtlbt_parse_firmware()292 btrtl_dev->ic_info->lmp_subver); in rtlbt_parse_firmware()296 epatch_info = (struct rtl_epatch_header *)btrtl_dev->fw_data; in rtlbt_parse_firmware()313 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware()316 chip_id_base = btrtl_dev->fw_data + sizeof(struct rtl_epatch_header); in rtlbt_parse_firmware()322 if (chip_id == btrtl_dev->rom_version + 1) { in rtlbt_parse_firmware()[all …]
64 void btrtl_free(struct btrtl_device_info *btrtl_dev);66 struct btrtl_device_info *btrtl_dev);69 struct btrtl_device_info *btrtl_dev,81 static inline void btrtl_free(struct btrtl_device_info *btrtl_dev) in btrtl_free() argument86 struct btrtl_device_info *btrtl_dev) in btrtl_download_firmware() argument97 struct btrtl_device_info *btrtl_dev, in btrtl_get_uart_settings() argument
847 struct btrtl_device_info *btrtl_dev; in h5_btrtl_setup() local855 btrtl_dev = btrtl_initialize(h5->hu->hdev, h5->id); in h5_btrtl_setup()856 if (IS_ERR(btrtl_dev)) in h5_btrtl_setup()857 return PTR_ERR(btrtl_dev); in h5_btrtl_setup()859 err = btrtl_get_uart_settings(h5->hu->hdev, btrtl_dev, in h5_btrtl_setup()881 err = btrtl_download_firmware(h5->hu->hdev, btrtl_dev); in h5_btrtl_setup()886 btrtl_free(btrtl_dev); in h5_btrtl_setup()