Lines Matching refs:field
143 def contains(self, field):
145 Check if the physical size of the provided field is in range.
147 Compare the physical size described by the provided HID field
153 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
155 field.unit == self.unit.value
505 for field in report.fields:
506 if field.usages is not None:
507 for usage in field.usages:
508 yield (field, usage, application)
510 yield (field, field.usage, application)
584 for field, usage, application in self.get_usages(self.uhdev):
592 phys_set = field.physical_min != 0 or field.physical_max != 0
595 unit_set = field.unit != 0
599 assert required[usage].contains(field)