Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kernel/cpu/microcode/
Dintel.c330 scan_microcode(void *data, size_t size, struct ucode_cpu_info *uci, bool save) in scan_microcode() argument
350 if (!microcode_matches(mc_header, uci->cpu_sig.sig)) { in scan_microcode()
363 uci->cpu_sig.sig, in scan_microcode()
364 uci->cpu_sig.pf, in scan_microcode()
365 uci->cpu_sig.rev)) in scan_microcode()
391 static int collect_cpu_info_early(struct ucode_cpu_info *uci) in collect_cpu_info_early() argument
398 memset(uci, 0, sizeof(*uci)); in collect_cpu_info_early()
416 uci->cpu_sig = csig; in collect_cpu_info_early()
417 uci->valid = 1; in collect_cpu_info_early()
427 struct ucode_cpu_info uci; in show_saved_mc() local
[all …]
Dcore.c372 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in collect_cpu_info() local
375 memset(uci, 0, sizeof(*uci)); in collect_cpu_info()
377 ret = collect_cpu_info_on_target(cpu, &uci->cpu_sig); in collect_cpu_info()
379 uci->valid = 1; in collect_cpu_info()
411 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in do_microcode_update() local
414 if (!uci->valid) in do_microcode_update()
655 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in version_show() local
657 return sprintf(buf, "0x%x\n", uci->cpu_sig.rev); in version_show()
663 struct ucode_cpu_info *uci = ucode_cpu_info + dev->id; in pf_show() local
665 return sprintf(buf, "0x%x\n", uci->cpu_sig.pf); in pf_show()
[all …]
Damd.c256 struct ucode_cpu_info *uci; in __load_ucode_amd() local
262 uci = (struct ucode_cpu_info *)__pa_nodebug(ucode_cpu_info); in __load_ucode_amd()
266 uci = ucode_cpu_info; in __load_ucode_amd()
275 uci->cpu_sig.sig = cpuid_1_eax; in __load_ucode_amd()
366 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in __find_equiv_id() local
367 return find_equiv_id(equiv_cpu_table, uci->cpu_sig.sig); in __find_equiv_id()
445 struct ucode_cpu_info *uci = ucode_cpu_info + cpu; in collect_cpu_info_amd() local
457 uci->mc = p->data; in collect_cpu_info_amd()
505 struct ucode_cpu_info *uci; in apply_microcode_amd() local
512 uci = ucode_cpu_info + cpu; in apply_microcode_amd()
[all …]
/Linux-v4.19/drivers/mtd/
Dnftlmount.c322 struct nftl_uci1 uci; in NFTL_formatblock() local
328 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
331 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock()
334 uci.EraseMark = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
335 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in NFTL_formatblock()
336 uci.WearInfo = cpu_to_le32(0); in NFTL_formatblock()
350 nb_erases = le32_to_cpu(uci.WearInfo); in NFTL_formatblock()
363 uci.WearInfo = le32_to_cpu(nb_erases); in NFTL_formatblock()
365 8, 8, &retlen, (char *)&uci) < 0) in NFTL_formatblock()
567 struct nftl_uci2 uci; in get_fold_mark() local
[all …]
Dinftlmount.c384 struct inftl_unittail uci; in INFTL_formatblock() local
422 uci.EraseMark = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
423 uci.EraseMark1 = cpu_to_le16(ERASE_MARK); in INFTL_formatblock()
424 uci.Reserved[0] = 0; in INFTL_formatblock()
425 uci.Reserved[1] = 0; in INFTL_formatblock()
426 uci.Reserved[2] = 0; in INFTL_formatblock()
427 uci.Reserved[3] = 0; in INFTL_formatblock()
429 if (inftl_write_oob(mtd, instr->addr + 8, 8, &retlen, (char *)&uci) < 0) in INFTL_formatblock()
/Linux-v4.19/net/bluetooth/bnep/
Dsock.c142 u32 uci; in bnep_sock_compat_ioctl() local
146 get_user(uci, (u32 __user *) (arg + 4))) in bnep_sock_compat_ioctl()
149 cl.ci = compat_ptr(uci); in bnep_sock_compat_ioctl()
/Linux-v4.19/net/bluetooth/cmtp/
Dsock.c145 u32 uci; in cmtp_sock_compat_ioctl() local
149 get_user(uci, (u32 __user *) (arg + 4))) in cmtp_sock_compat_ioctl()
152 cl.ci = compat_ptr(uci); in cmtp_sock_compat_ioctl()
/Linux-v4.19/net/bluetooth/hidp/
Dsock.c146 u32 uci; in hidp_sock_compat_ioctl() local
150 get_user(uci, (u32 __user *) (arg + 4))) in hidp_sock_compat_ioctl()
153 cl.ci = compat_ptr(uci); in hidp_sock_compat_ioctl()