Home
last modified time | relevance | path

Searched refs:fmp (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/ras/amd/
H A Dfmpm.c107 struct cper_sec_fru_mem_poison fmp; member
184 if (rec->fmp.fru_id == fru_id) in get_fru_record()
200 static u32 do_fmp_checksum(struct cper_sec_fru_mem_poison *fmp, u32 len) in do_fmp_checksum() argument
206 buf = (u8 *)fmp + sizeof(u32); in do_fmp_checksum()
224 checksum = do_fmp_checksum(&rec->fmp, len); in update_record_on_storage()
227 rec->fmp.checksum = -checksum; in update_record_on_storage()
233 pr_warn("Storage update failed for FRU 0x%016llx\n", rec->fmp.fru_id); in update_record_on_storage()
244 if (!(rec->fmp.validation_bits & FMP_VALID_LIST_ENTRIES)) in rec_has_valid_entries()
247 if (!(rec->fmp.validation_bits & FMP_VALID_LIST)) in rec_has_valid_entries()
287 for (i = 0; i < rec->fmp.nr_entries; i++) { in rec_has_fpd()
[all …]
/linux/kernel/cgroup/
H A Dcpuset-v1.c65 static void fmeter_init(struct fmeter *fmp) in fmeter_init() argument
67 fmp->cnt = 0; in fmeter_init()
68 fmp->val = 0; in fmeter_init()
69 fmp->time = 0; in fmeter_init()
70 spin_lock_init(&fmp->lock); in fmeter_init()
74 static void fmeter_update(struct fmeter *fmp) in fmeter_update() argument
80 ticks = now - fmp->time; in fmeter_update()
87 fmp->val = (FM_COEF * fmp->val) / FM_SCALE; in fmeter_update()
88 fmp->time = now; in fmeter_update()
90 fmp->val += ((FM_SCALE - FM_COEF) * fmp->cnt) / FM_SCALE; in fmeter_update()
[all …]
H A Dcpuset-internal.h297 fmeter_init(struct fmeter * fmp) fmeter_init() argument
/linux/arch/arm/boot/dts/st/
H A Dstm32mp131.dtsi481 st,syscfg-fmp = <&syscfg 0x4 0x1>;
499 st,syscfg-fmp = <&syscfg 0x4 0x2>;
1207 st,syscfg-fmp = <&syscfg 0x4 0x4>;
1226 st,syscfg-fmp = <&syscfg 0x4 0x8>;
1245 st,syscfg-fmp = <&syscfg 0x4 0x10>;