Lines Matching refs:p_rom

1330 	unsigned char *p_rom;  in atom_get_vbios_name()  local
1340 p_rom = ctx->bios; in atom_get_vbios_name()
1342 str_num = *(p_rom + OFFSET_TO_GET_ATOMBIOS_NUMBER_OF_STRINGS); in atom_get_vbios_name()
1345 *(unsigned short *)(p_rom + OFFSET_TO_GET_ATOMBIOS_STRING_START); in atom_get_vbios_name()
1347 c_ptr = (unsigned char *)(p_rom + off_to_vbios_str); in atom_get_vbios_name()
1378 unsigned char *p_rom; in atom_get_vbios_date() local
1381 p_rom = ctx->bios; in atom_get_vbios_date()
1383 date_in_rom = p_rom + OFFSET_TO_VBIOS_DATE; in atom_get_vbios_date()
1408 unsigned char *p_rom; in atom_find_str_in_rom() local
1413 p_rom = ctx->bios; in atom_find_str_in_rom()
1417 if (str[str_off] != *(p_rom + start + str_off)) in atom_find_str_in_rom()
1422 return p_rom + start; in atom_find_str_in_rom()
1429 unsigned char *p_rom; in atom_get_vbios_pn() local
1435 p_rom = ctx->bios; in atom_get_vbios_pn()
1437 if (*(p_rom + OFFSET_TO_GET_ATOMBIOS_NUMBER_OF_STRINGS) != 0) { in atom_get_vbios_pn()
1439 *(unsigned short *)(p_rom + OFFSET_TO_GET_ATOMBIOS_STRING_START); in atom_get_vbios_pn()
1441 vbios_str = (unsigned char *)(p_rom + off_to_vbios_str); in atom_get_vbios_pn()
1443 vbios_str = p_rom + OFFSET_TO_VBIOS_PART_NUMBER; in atom_get_vbios_pn()
1473 unsigned char *p_rom; in atom_get_vbios_version() local
1475 p_rom = ctx->bios; in atom_get_vbios_version()
1477 start = *(unsigned short *)(p_rom + in atom_get_vbios_version()
1481 end = *(unsigned short *)(p_rom + OFFSET_TO_ATOM_ROM_HEADER_POINTER); in atom_get_vbios_version()