Lines Matching refs:pid8
663 int check_pid8_sanity(char *pid8) in check_pid8_sanity() argument
672 if (!strncmp(pid8, s_carrierid_verdin_dev, 4)) in check_pid8_sanity()
675 if (!strncmp(pid8, s_carrierid_dahlia, 4)) in check_pid8_sanity()
683 char pid8[8]; in try_migrate_tdx_cfg_block_carrier() local
689 memset(pid8, 0x0, 8); in try_migrate_tdx_cfg_block_carrier()
690 ret = read_tdx_eeprom_data(TDX_EEPROM_ID_CARRIER, 0x0, (u8 *)pid8, 8); in try_migrate_tdx_cfg_block_carrier()
694 if (check_pid8_sanity(pid8)) in try_migrate_tdx_cfg_block_carrier()
706 tdx_car_hw_tag.ver_major = pid8[4] - '0'; in try_migrate_tdx_cfg_block_carrier()
707 tdx_car_hw_tag.ver_minor = pid8[5] - '0'; in try_migrate_tdx_cfg_block_carrier()
708 tdx_car_hw_tag.ver_assembly = pid8[7] - '0'; in try_migrate_tdx_cfg_block_carrier()
710 pid8[4] = '\0'; in try_migrate_tdx_cfg_block_carrier()
711 tdx_car_hw_tag.prodid = simple_strtoul(pid8, NULL, 10); in try_migrate_tdx_cfg_block_carrier()