Searched refs:fw_revision (Results 1 – 1 of 1) sorted by relevance
93 static int read_fw_revision(unsigned int *fw_revision, int len) in read_fw_revision() argument115 ret = sscanf(p, "%x", &fw_revision[i]); in read_fw_revision()170 unsigned int fw_revision[SCU_IPC_VERSION_LEN_LONG] = { 0 }; in get_current_fw_rev() local172 ret = read_fw_revision(fw_revision, SCU_IPC_VERSION_LEN_LONG); in get_current_fw_rev()176 v->scubootstrap.minor = fw_revision[1] << 8 | fw_revision[0]; in get_current_fw_rev()177 v->scubootstrap.major = fw_revision[3] << 8 | fw_revision[2]; in get_current_fw_rev()178 v->scu.minor = fw_revision[5] << 8 | fw_revision[4]; in get_current_fw_rev()179 v->scu.major = fw_revision[7] << 8 | fw_revision[6]; in get_current_fw_rev()180 v->ia32.minor = fw_revision[9] << 8 | fw_revision[8]; in get_current_fw_rev()181 v->ia32.major = fw_revision[11] << 8 | fw_revision[10]; in get_current_fw_rev()[all …]