Lines Matching defs:fcur
37 static u32 *calc_addr(struct fixup_entry *fcur, long offset)
44 return (u32 *)((unsigned long)fcur + offset);
71 struct fixup_entry *fcur)
75 start = calc_addr(fcur, fcur->start_off);
76 end = calc_addr(fcur, fcur->end_off);
77 alt_start = calc_addr(fcur, fcur->alt_start_off);
78 alt_end = calc_addr(fcur, fcur->alt_end_off);
83 if ((value & fcur->mask & mask) == (fcur->value & mask))
104 struct fixup_entry *fcur, *fend;
106 fcur = fixup_start;
109 for (; fcur < fend; fcur++) {
110 if (patch_feature_section_mask(value, mask, fcur)) {
114 calc_addr(fcur, fcur->start_off),
115 calc_addr(fcur, fcur->end_off),
116 calc_addr(fcur, fcur->alt_start_off),
117 calc_addr(fcur, fcur->alt_end_off));
704 static int patch_feature_section(unsigned long value, struct fixup_entry *fcur)
706 return patch_feature_section_mask(value, ~0, fcur);