Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kernel/cpu/microcode/ !
Dintel.c69 int intel_cpu_collect_info(struct ucode_cpu_info *uci) in intel_cpu_collect_info() argument
76 memset(uci, 0, sizeof(*uci)); in intel_cpu_collect_info()
94 uci->cpu_sig = csig; in intel_cpu_collect_info()
273 static void save_microcode_patch(struct ucode_cpu_info *uci, void *data, unsigned int size) in save_microcode_patch() argument
319 if (!intel_find_matching_signature(p->data, uci->cpu_sig.sig, uci->cpu_sig.pf)) in save_microcode_patch()
338 scan_microcode(void *data, size_t size, struct ucode_cpu_info *uci, bool save) in scan_microcode() argument
358 if (!intel_find_matching_signature(data, uci->cpu_sig.sig, in scan_microcode()
359 uci->cpu_sig.pf)) { in scan_microcode()
365 save_microcode_patch(uci, data, mc_size); in scan_microcode()
372 uci->cpu_sig.sig, in scan_microcode()
[all …]
Dcore.c511 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in version_show() local
513 return sprintf(buf, "0x%x\n", uci->cpu_sig.rev); in version_show()
519 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in processor_flags_show() local
521 return sprintf(buf, "0x%x\n", uci->cpu_sig.pf); in processor_flags_show()
546 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in microcode_init_cpu() local
548 memset(uci, 0, sizeof(*uci)); in microcode_init_cpu()
550 microcode_ops->collect_cpu_info(cpu, &uci->cpu_sig); in microcode_init_cpu()
561 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in microcode_bsp_resume() local
563 if (uci->mc) in microcode_bsp_resume()
Damd.c517 struct ucode_cpu_info *uci; in find_blobs_in_containers() local
523 uci = (struct ucode_cpu_info *)__pa_nodebug(ucode_cpu_info); in find_blobs_in_containers()
527 uci = ucode_cpu_info; in find_blobs_in_containers()
536 uci->cpu_sig.sig = cpuid_1_eax; in find_blobs_in_containers()
631 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in find_patch() local
635 equiv_id = find_equiv_id(&equiv_table, uci->cpu_sig.sig); in find_patch()
667 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in collect_cpu_info_amd() local
679 uci->mc = p->data; in collect_cpu_info_amd()
690 struct ucode_cpu_info *uci; in apply_microcode_amd() local
697 uci = ucode_cpu_info + cpu; in apply_microcode_amd()
[all …]
/linux-6.6.21/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.6.21/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.6.21/drivers/hwtracing/coresight/ !
Dcoresight-priv.h197 #define CS_AMBA_UCI_ID(pid, uci) __CS_AMBA_UCI_ID(pid, 0x000fffff, uci) argument
210 #define CS_AMBA_MATCH_ALL_UCI(uci) \ argument
211 __CS_AMBA_UCI_ID(PID_PIDR2_JEDEC, PID_PIDR2_JEDEC, uci)
/linux-6.6.21/drivers/platform/x86/intel/ifs/ !
Dload.c230 struct ucode_cpu_info uci; in image_sanity_check() local
243 intel_cpu_collect_info(&uci); in image_sanity_check()
246 uci.cpu_sig.sig, in image_sanity_check()
247 uci.cpu_sig.pf)) { in image_sanity_check()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/arch/x86/include/asm/ !
Dcpu.h76 int intel_cpu_collect_info(struct ucode_cpu_info *uci);
/linux-6.6.21/include/linux/amba/ !
Dbus.h72 struct amba_cs_uci_id uci; member