Lines Matching refs:fcur
37 static u32 *calc_addr(struct fixup_entry *fcur, long offset) in calc_addr() argument
44 return (u32 *)((unsigned long)fcur + offset); in calc_addr()
70 static int patch_feature_section(unsigned long value, struct fixup_entry *fcur) in patch_feature_section() argument
74 start = calc_addr(fcur, fcur->start_off); in patch_feature_section()
75 end = calc_addr(fcur, fcur->end_off); in patch_feature_section()
76 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section()
77 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section()
82 if ((value & fcur->mask) == fcur->value) in patch_feature_section()
102 struct fixup_entry *fcur, *fend; in do_feature_fixups() local
104 fcur = fixup_start; in do_feature_fixups()
107 for (; fcur < fend; fcur++) { in do_feature_fixups()
108 if (patch_feature_section(value, fcur)) { in do_feature_fixups()
112 calc_addr(fcur, fcur->start_off), in do_feature_fixups()
113 calc_addr(fcur, fcur->end_off), in do_feature_fixups()
114 calc_addr(fcur, fcur->alt_start_off), in do_feature_fixups()
115 calc_addr(fcur, fcur->alt_end_off)); in do_feature_fixups()