Lines Matching refs:ver
104 struct mkhi_fw_ver_block ver[MEI_MAX_FW_VER_BLOCKS]; member
179 i, fwver->ver[i].platform, in mei_fwver()
180 fwver->ver[i].major, fwver->ver[i].minor, in mei_fwver()
181 fwver->ver[i].hotfix, fwver->ver[i].buildno); in mei_fwver()
183 cldev->bus->fw_ver[i].platform = fwver->ver[i].platform; in mei_fwver()
184 cldev->bus->fw_ver[i].major = fwver->ver[i].major; in mei_fwver()
185 cldev->bus->fw_ver[i].minor = fwver->ver[i].minor; in mei_fwver()
186 cldev->bus->fw_ver[i].hotfix = fwver->ver[i].hotfix; in mei_fwver()
187 cldev->bus->fw_ver[i].buildno = fwver->ver[i].buildno; in mei_fwver()
369 struct mei_nfc_if_version *ver) in mei_nfc_if_version() argument
394 if_version_length = sizeof(*reply) + sizeof(*ver); in mei_nfc_if_version()
409 memcpy(ver, reply->data, sizeof(*ver)); in mei_nfc_if_version()
412 ver->fw_ivn, ver->vendor_id, ver->radio_type); in mei_nfc_if_version()
426 static const char *mei_nfc_radio_name(struct mei_nfc_if_version *ver) in mei_nfc_radio_name() argument
429 if (ver->vendor_id == MEI_NFC_VENDOR_INSIDE) { in mei_nfc_radio_name()
430 if (ver->radio_type == MEI_NFC_VENDOR_INSIDE_UREAD) in mei_nfc_radio_name()
434 if (ver->vendor_id == MEI_NFC_VENDOR_NXP) { in mei_nfc_radio_name()
435 if (ver->radio_type == MEI_NFC_VENDOR_NXP_PN544) in mei_nfc_radio_name()
454 struct mei_nfc_if_version ver; in mei_nfc() local
486 ret = mei_nfc_if_version(cl, &ver); in mei_nfc()
490 radio_name = mei_nfc_radio_name(&ver); in mei_nfc()