Home
last modified time | relevance | path

Searched refs:ifsd (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/x86/intel/ifs/
H A Druntest.c27 struct ifs_data *ifsd; member
33 struct ifs_data *ifsd; member
79 struct ifs_data *ifsd = ifs_get_data(dev); in message_not_tested() local
88 cpumask_pr_args(cpu_smt_mask(cpu)), ifsd->cur_batch, ifsd->loaded_version); in message_not_tested()
111 struct ifs_data *ifsd = ifs_get_data(dev); in message_fail() local
122 cpumask_pr_args(cpu_smt_mask(cpu)), ifsd->cur_batch, ifsd->loaded_version); in message_fail()
186 struct ifs_data *ifsd; in doscan() local
189 ifsd = params->ifsd; in doscan()
191 if (ifsd->generation) { in doscan()
215 trace_ifs_status(ifsd->cur_batch, start, stop, status.data); in doscan()
[all …]
H A Dload.c123 struct ifs_data *ifsd; in copy_hashes_authenticate_chunks() local
127 ifsd = ifs_get_data(dev); in copy_hashes_authenticate_chunks()
139 ifsd->loading_error = true; in copy_hashes_authenticate_chunks()
155 ifsd->valid_chunks = chunk_status.valid_chunks; in copy_hashes_authenticate_chunks()
159 ifsd->loading_error = true; in copy_hashes_authenticate_chunks()
173 static bool need_copy_scan_hashes(struct ifs_data *ifsd) in need_copy_scan_hashes() argument
175 return !ifsd->loaded || in need_copy_scan_hashes()
176 ifsd->generation < IFS_GEN_STRIDE_AWARE || in need_copy_scan_hashes()
177 ifsd->loaded_version != ifs_header_ptr->rev; in need_copy_scan_hashes()
189 struct ifs_data *ifsd; in copy_hashes_authenticate_chunks_gen2() local
[all …]
H A Dsysfs.c26 struct ifs_data *ifsd = ifs_get_data(dev); in details_show() local
28 return sysfs_emit(buf, "%#llx\n", ifsd->scan_details); in details_show()
48 struct ifs_data *ifsd = ifs_get_data(dev); in status_show() local
50 return sysfs_emit(buf, "%s\n", status_msg[ifsd->status]); in status_show()
90 struct ifs_data *ifsd = ifs_get_data(dev); in current_batch_store() local
101 ifsd->cur_batch = cur_batch; in current_batch_store()
113 struct ifs_data *ifsd = ifs_get_data(dev); in current_batch_show() local
115 if (!ifsd->loaded) in current_batch_show()
118 return sysfs_emit(buf, "0x%02x\n", ifsd->cur_batch); in current_batch_show()
129 struct ifs_data *ifsd = ifs_get_data(dev); in image_version_show() local
[all …]