Lines Matching refs:device
44 def _get_version(self, device):
47 data = self.os_if.read_partition(device, 0x4000)
50 def _get_datakey_version(self,device):
53 data = self.os_if.read_partition(device, 0x4000)
57 """Scan `cgpt show <device> output to find kernel devices.
78 device = self.os_if.join_part(target_device, line.split()[2])
79 part_info['device'] = device
80 part_info['version'] = self._get_version(device)
81 part_info['datakey_version'] = self._get_datakey_version(device)
90 dev = self.partition_map[section.upper()]['device']
101 dev = self.partition_map[section.upper()]['device']
176 dev = self.partition_map[section.upper()]['device']