Lines Matching refs:tab_to
113 def tab_to(name, value): function
216 tab_to(" __bo_type", "bo;")
217 tab_to(" uint32_t", "bo_offset;")
223 tab_to(" %s" % type, "%s;" % name)
225 tab_to(" uint64_t", "unknown;")
226 tab_to(" uint64_t", "qword;")
228 tab_to(" uint32_t", "unknown;")
229 tab_to(" uint32_t", "dword;")
268 tab_to("#define %s" % name, "0x%08x" % (1 << f.low))
270 tab_to("#define %s__MASK" % name, "0x%08x" % mask(f.low, f.high))
271 tab_to("#define %s__SHIFT" % name, "%d" % f.low)
356 tab_to("#define REG_%s_%s" % (self.domain, self.name), "0x%08x\n" % array_offset)
358 …tab_to("#define REG_%s_%s(%s)" % (self.domain, self.name, proto), "(0x%08x + %s )\n" % (array_offs…
405 tab_to("#define REG_%s" % self.full_name, "0x%08x" % offset)
813 tab_to(" __bo_type", "bo;")
814 tab_to(" uint32_t", "bo_offset;")
817 tab_to(" %s" %type, "%s;" %name)
820 tab_to(" uint64_t", "unknown;")
821 tab_to(" uint64_t", "qword;")
823 tab_to(" uint32_t", "unknown;")
824 tab_to(" uint32_t", "dword;")