Lines Matching refs:p_rom

1326 	unsigned char *p_rom;  in atom_get_vbios_name()  local
1336 p_rom = ctx->bios; in atom_get_vbios_name()
1338 str_num = *(p_rom + OFFSET_TO_GET_ATOMBIOS_NUMBER_OF_STRINGS); in atom_get_vbios_name()
1341 *(unsigned short *)(p_rom + OFFSET_TO_GET_ATOMBIOS_STRING_START); in atom_get_vbios_name()
1343 c_ptr = (unsigned char *)(p_rom + off_to_vbios_str); in atom_get_vbios_name()
1374 unsigned char *p_rom; in atom_get_vbios_date() local
1377 p_rom = ctx->bios; in atom_get_vbios_date()
1379 date_in_rom = p_rom + OFFSET_TO_VBIOS_DATE; in atom_get_vbios_date()
1404 unsigned char *p_rom; in atom_find_str_in_rom() local
1409 p_rom = ctx->bios; in atom_find_str_in_rom()
1413 if (str[str_off] != *(p_rom + start + str_off)) in atom_find_str_in_rom()
1418 return p_rom + start; in atom_find_str_in_rom()
1425 unsigned char *p_rom; in atom_get_vbios_pn() local
1431 p_rom = ctx->bios; in atom_get_vbios_pn()
1433 if (*(p_rom + OFFSET_TO_GET_ATOMBIOS_NUMBER_OF_STRINGS) != 0) { in atom_get_vbios_pn()
1435 *(unsigned short *)(p_rom + OFFSET_TO_GET_ATOMBIOS_STRING_START); in atom_get_vbios_pn()
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()
1468 unsigned char *p_rom; in atom_get_vbios_version() local
1470 p_rom = ctx->bios; in atom_get_vbios_version()
1472 start = *(unsigned short *)(p_rom + in atom_get_vbios_version()
1476 end = *(unsigned short *)(p_rom + OFFSET_TO_ATOM_ROM_HEADER_POINTER); in atom_get_vbios_version()