Home | History | Annotate | Download | only in Tools

Lines Matching refs:subitem

714     def GetBsfBitFields (self, subitem, bytes):

715 start = subitem['bitoffset']
716 end = start + subitem['bitlength']
721 print "Invalid bits offset [%d,%d] for %s" % (start, end, subitem['name'])
750 for SubItem in Item['subreg']:
751 valuestr = self.GetBsfBitFields(SubItem, bytearray)
752 SubItem['value'] = valuestr
1335 for SubItem in Item['subreg']:
1336 BitsOffset += SubItem['bitlength']
1337 if SubItem['name'] == '':
1338 if 'bitlength' in SubItem:
1339 BsfFd.write(" Skip %d bits\n" % (SubItem['bitlength']))
1341 BsfFd.write(" Skip %d bytes\n" % (SubItem['length']))
1343 Options = self.WriteBsfStruct(BsfFd, SubItem)
1345 OptionDict[SubItem['space']+'_'+SubItem['cname']] = Options
1386 for SubItem in Item['subreg']:
1387 if SubItem['name'] != '':
1388 BsfItems.append(SubItem)