• Home
  • Raw
  • Download

Lines Matching refs:version

367 void btintel_version_info_tlv(struct hci_dev *hdev, struct intel_version_tlv *version)  in btintel_version_info_tlv()  argument
371 switch (version->img_type) { in btintel_version_info_tlv()
374 bt_dev_info(hdev, "Device revision is %u", version->dev_rev_id); in btintel_version_info_tlv()
376 version->secure_boot ? "enabled" : "disabled"); in btintel_version_info_tlv()
378 version->otp_lock ? "enabled" : "disabled"); in btintel_version_info_tlv()
380 version->api_lock ? "enabled" : "disabled"); in btintel_version_info_tlv()
382 version->debug_lock ? "enabled" : "disabled"); in btintel_version_info_tlv()
384 version->min_fw_build_nn, version->min_fw_build_cw, in btintel_version_info_tlv()
385 2000 + version->min_fw_build_yy); in btintel_version_info_tlv()
391 bt_dev_err(hdev, "Unsupported image type(%02x)", version->img_type); in btintel_version_info_tlv()
396 2000 + (version->timestamp >> 8), version->timestamp & 0xff, in btintel_version_info_tlv()
397 version->build_type, version->build_num); in btintel_version_info_tlv()
404 int btintel_read_version_tlv(struct hci_dev *hdev, struct intel_version_tlv *version) in btintel_read_version_tlv() argument
409 if (!version) in btintel_read_version_tlv()
440 version->cnvi_top = get_unaligned_le32(tlv->val); in btintel_read_version_tlv()
443 version->cnvr_top = get_unaligned_le32(tlv->val); in btintel_read_version_tlv()
446 version->cnvi_bt = get_unaligned_le32(tlv->val); in btintel_read_version_tlv()
449 version->cnvr_bt = get_unaligned_le32(tlv->val); in btintel_read_version_tlv()
452 version->dev_rev_id = get_unaligned_le16(tlv->val); in btintel_read_version_tlv()
455 version->img_type = tlv->val[0]; in btintel_read_version_tlv()
458 version->timestamp = get_unaligned_le16(tlv->val); in btintel_read_version_tlv()
461 version->build_type = tlv->val[0]; in btintel_read_version_tlv()
464 version->build_num = get_unaligned_le32(tlv->val); in btintel_read_version_tlv()
467 version->secure_boot = tlv->val[0]; in btintel_read_version_tlv()
470 version->otp_lock = tlv->val[0]; in btintel_read_version_tlv()
473 version->api_lock = tlv->val[0]; in btintel_read_version_tlv()
476 version->debug_lock = tlv->val[0]; in btintel_read_version_tlv()
479 version->min_fw_build_nn = tlv->val[0]; in btintel_read_version_tlv()
480 version->min_fw_build_cw = tlv->val[1]; in btintel_read_version_tlv()
481 version->min_fw_build_yy = tlv->val[2]; in btintel_read_version_tlv()
484 version->limited_cce = tlv->val[0]; in btintel_read_version_tlv()
487 version->sbe_type = tlv->val[0]; in btintel_read_version_tlv()
490 memcpy(&version->otp_bd_addr, tlv->val, tlv->len); in btintel_read_version_tlv()