Home
last modified time | relevance | path

Searched refs:uci (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/arch/x86/kernel/cpu/microcode/
Dintel.c106 static void save_microcode_patch(struct ucode_cpu_info *uci, void *data, unsigned int size) in save_microcode_patch() argument
152 if (!find_matching_signature(p->data, uci->cpu_sig.sig, uci->cpu_sig.pf)) in save_microcode_patch()
269 scan_microcode(void *data, size_t size, struct ucode_cpu_info *uci, bool save) in scan_microcode() argument
289 if (!find_matching_signature(data, uci->cpu_sig.sig, in scan_microcode()
290 uci->cpu_sig.pf)) { in scan_microcode()
296 save_microcode_patch(uci, data, mc_size); in scan_microcode()
303 uci->cpu_sig.sig, in scan_microcode()
304 uci->cpu_sig.pf, in scan_microcode()
305 uci->cpu_sig.rev)) in scan_microcode()
336 struct ucode_cpu_info uci; in show_saved_mc() local
[all …]
Dcore.c344 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in collect_cpu_info() local
347 memset(uci, 0, sizeof(*uci)); in collect_cpu_info()
349 ret = collect_cpu_info_on_target(cpu, &uci->cpu_sig); in collect_cpu_info()
351 uci->valid = 1; in collect_cpu_info()
559 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in version_show() local
561 return sprintf(buf, "0x%x\n", uci->cpu_sig.rev); in version_show()
567 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in pf_show() local
569 return sprintf(buf, "0x%x\n", uci->cpu_sig.pf); in pf_show()
605 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in microcode_init_cpu() local
607 if (uci->valid) in microcode_init_cpu()
[all …]
Damd.c486 struct ucode_cpu_info *uci; in __load_ucode_amd() local
492 uci = (struct ucode_cpu_info *)__pa_nodebug(ucode_cpu_info); in __load_ucode_amd()
496 uci = ucode_cpu_info; in __load_ucode_amd()
505 uci->cpu_sig.sig = cpuid_1_eax; in __load_ucode_amd()
600 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in __find_equiv_id() local
601 return find_equiv_id(&equiv_table, uci->cpu_sig.sig); in __find_equiv_id()
665 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in collect_cpu_info_amd() local
677 uci->mc = p->data; in collect_cpu_info_amd()
688 struct ucode_cpu_info *uci; in apply_microcode_amd() local
695 uci = ucode_cpu_info + cpu; in apply_microcode_amd()
[all …]
/linux-6.1.9/drivers/mtd/
Dnftlmount.c306 struct nftl_uci1 uci; in NFTL_formatblock() local
312 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
315 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock()
318 uci.EraseMark = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
319 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
320 uci.WearInfo = cpu_to_le32(0); in NFTL_formatblock()
334 nb_erases = le32_to_cpu(uci.WearInfo); in NFTL_formatblock()
348 uci.WearInfo = le32_to_cpu(nb_erases); in NFTL_formatblock()
350 8, 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
552 struct nftl_uci2 uci; in get_fold_mark() local
[all …]
Dinftlmount.c364 struct inftl_unittail uci; in INFTL_formatblock() local
402 uci.EraseMark = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
403 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
404 uci.Reserved[0] = 0; in INFTL_formatblock()
405 uci.Reserved[1] = 0; in INFTL_formatblock()
406 uci.Reserved[2] = 0; in INFTL_formatblock()
407 uci.Reserved[3] = 0; in INFTL_formatblock()
409 if (inftl_write_oob(mtd, instr->addr + 8, 8, &retlen, (char *)&uci) < 0) in INFTL_formatblock()
/linux-6.1.9/drivers/platform/x86/intel/ifs/
Dload.c204 static bool find_ifs_matching_signature(struct device *dev, struct ucode_cpu_info *uci, in find_ifs_matching_signature() argument
216 if (!intel_cpu_signatures_match(uci->cpu_sig.sig, uci->cpu_sig.pf, shdr->sig, shdr->pf)) { in find_ifs_matching_signature()
226 struct ucode_cpu_info uci; in ifs_image_sanity_check() local
228 intel_cpu_collect_info(&uci); in ifs_image_sanity_check()
230 return find_ifs_matching_signature(dev, &uci, data); in ifs_image_sanity_check()
/linux-6.1.9/drivers/amba/
Dbus.c35 struct amba_cs_uci_id *uci; in amba_cs_uci_id_match() local
37 uci = table->data; in amba_cs_uci_id_match()
40 if (!uci || (uci->devarch_mask == 0)) in amba_cs_uci_id_match()
44 ret = (dev->uci.devtype == uci->devtype) && in amba_cs_uci_id_match()
45 ((dev->uci.devarch & uci->devarch_mask) == uci->devarch); in amba_cs_uci_id_match()
185 dev->uci.devarch = readl(csbase + UCI_REG_DEVARCH_OFFSET); in amba_read_periphid()
186 dev->uci.devtype = readl(csbase + UCI_REG_DEVTYPE_OFFSET) & 0xff; in amba_read_periphid()
/linux-6.1.9/net/bluetooth/cmtp/
Dsock.c151 u32 uci; in cmtp_sock_compat_ioctl() local
154 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in cmtp_sock_compat_ioctl()
157 cl.ci = compat_ptr(uci); in cmtp_sock_compat_ioctl()
/linux-6.1.9/net/bluetooth/bnep/
Dsock.c149 u32 uci; in bnep_sock_compat_ioctl() local
152 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in bnep_sock_compat_ioctl()
155 cl.ci = compat_ptr(uci); in bnep_sock_compat_ioctl()
/linux-6.1.9/net/bluetooth/hidp/
Dsock.c156 u32 uci; in hidp_sock_compat_ioctl() local
158 if (get_user(cl.cnum, p) || get_user(uci, p + 1)) in hidp_sock_compat_ioctl()
161 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()
/linux-6.1.9/arch/x86/include/asm/
Dcpu.h81 int intel_cpu_collect_info(struct ucode_cpu_info *uci);
/linux-6.1.9/arch/x86/kernel/cpu/
Dintel.c187 int intel_cpu_collect_info(struct ucode_cpu_info *uci) in intel_cpu_collect_info() argument
194 memset(uci, 0, sizeof(*uci)); in intel_cpu_collect_info()
212 uci->cpu_sig = csig; in intel_cpu_collect_info()
213 uci->valid = 1; in intel_cpu_collect_info()
/linux-6.1.9/include/linux/amba/
Dbus.h72 struct amba_cs_uci_id uci; member