Lines Matching refs:shr
35 def __init__(self, name, low, high, shr, type, parser): argument
39 self.shr = shr
89 if self.shr > 0:
90 val = "(%s >> %d)" % (val, self.shr)
194 print(" .bo_shift = %d" % address.shr)
220 if not f.name and f.low == 0 and f.shr == 0 and not f.type in ["float", "fixed", "ufixed"]:
230 if f.shr > 0:
231 print("\tassert(!(val & 0x%x));" % mask(0, f.shr - 1))
331 shr = int(attrs["shr"], 0)
333 shr = 0
335 b = Field(name, low, high, shr, type, self)