Lines Matching refs:qe_firmware_info
390 static struct qe_firmware_info qe_firmware_info; variable
526 memset(&qe_firmware_info, 0, sizeof(qe_firmware_info)); in qe_upload_firmware()
527 strlcpy(qe_firmware_info.id, firmware->id, sizeof(qe_firmware_info.id)); in qe_upload_firmware()
528 qe_firmware_info.extended_modes = be64_to_cpu(firmware->extended_modes); in qe_upload_firmware()
529 memcpy(qe_firmware_info.vtraps, firmware->vtraps, in qe_upload_firmware()
566 struct qe_firmware_info *qe_get_firmware_info(void) in qe_get_firmware_info()
578 return &qe_firmware_info; in qe_get_firmware_info()
602 strlcpy(qe_firmware_info.id, sprop, in qe_get_firmware_info()
603 sizeof(qe_firmware_info.id)); in qe_get_firmware_info()
606 &qe_firmware_info.extended_modes); in qe_get_firmware_info()
608 of_property_read_u32_array(fw, "virtual-traps", qe_firmware_info.vtraps, in qe_get_firmware_info()
609 ARRAY_SIZE(qe_firmware_info.vtraps)); in qe_get_firmware_info()
613 return &qe_firmware_info; in qe_get_firmware_info()