Home
last modified time | relevance | path

Searched refs:vbios_str (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Datom.c1427 unsigned char *vbios_str; in atom_get_vbios_pn() local
1437 vbios_str = (unsigned char *)(p_rom + off_to_vbios_str); in atom_get_vbios_pn()
1439 vbios_str = p_rom + OFFSET_TO_VBIOS_PART_NUMBER; in atom_get_vbios_pn()
1442 if (*vbios_str == 0) { in atom_get_vbios_pn()
1443 vbios_str = atom_find_str_in_rom(ctx, BIOS_ATOM_PREFIX, 3, 1024, 64); in atom_get_vbios_pn()
1444 if (vbios_str == NULL) in atom_get_vbios_pn()
1445 vbios_str += sizeof(BIOS_ATOM_PREFIX) - 1; in atom_get_vbios_pn()
1447 if (vbios_str != NULL && *vbios_str == 0) in atom_get_vbios_pn()
1448 vbios_str++; in atom_get_vbios_pn()
1450 if (vbios_str != NULL) { in atom_get_vbios_pn()
[all …]