Lines Matching refs:sub_addr
249 u16 ebda_seg, num_entries, next_offset, offset, blk_id, sub_addr, re, rc_id, re_id, base; in ibmphp_access_ebda() local
309 sub_addr = base; in ibmphp_access_ebda()
310 re = readw (io_mem + sub_addr); /* next sub blk */ in ibmphp_access_ebda()
312 sub_addr += 2; in ibmphp_access_ebda()
313 rc_id = readw (io_mem + sub_addr); /* sub blk id */ in ibmphp_access_ebda()
315 sub_addr += 2; in ibmphp_access_ebda()
319 num_ctlrs = readb (io_mem + sub_addr); in ibmphp_access_ebda()
321 sub_addr += 1; in ibmphp_access_ebda()
329 hpc_list_ptr->phys_addr = sub_addr; /* offset of RSRC_CONTROLLER blk */ in ibmphp_access_ebda()
333 debug ("offset of hpc data structure enteries: %x\n ", sub_addr); in ibmphp_access_ebda()
335 sub_addr = base + re; /* re sub blk */ in ibmphp_access_ebda()
337 rc = readw (io_mem + sub_addr); /* next sub blk */ in ibmphp_access_ebda()
339 sub_addr += 2; in ibmphp_access_ebda()
340 re_id = readw (io_mem + sub_addr); /* sub blk id */ in ibmphp_access_ebda()
342 sub_addr += 2; in ibmphp_access_ebda()
347 num_entries = readw (io_mem + sub_addr); in ibmphp_access_ebda()
349 sub_addr += 2; /* offset of RSRC_ENTRIES blk */ in ibmphp_access_ebda()
357 rsrc_list_ptr->phys_addr = sub_addr; in ibmphp_access_ebda()
362 debug ("offset of rsrc data structure enteries: %x\n ", sub_addr); in ibmphp_access_ebda()