Lines Matching refs:sub_addr
234 u16 ebda_seg, num_entries, next_offset, offset, blk_id, sub_addr, re, rc_id, re_id, base; in ibmphp_access_ebda() local
294 sub_addr = base; in ibmphp_access_ebda()
295 re = readw(io_mem + sub_addr); /* next sub blk */ in ibmphp_access_ebda()
297 sub_addr += 2; in ibmphp_access_ebda()
298 rc_id = readw(io_mem + sub_addr); /* sub blk id */ in ibmphp_access_ebda()
300 sub_addr += 2; in ibmphp_access_ebda()
304 num_ctlrs = readb(io_mem + sub_addr); in ibmphp_access_ebda()
306 sub_addr += 1; in ibmphp_access_ebda()
314 hpc_list_ptr->phys_addr = sub_addr; /* offset of RSRC_CONTROLLER blk */ in ibmphp_access_ebda()
318 debug("offset of hpc data structure entries: %x\n ", sub_addr); in ibmphp_access_ebda()
320 sub_addr = base + re; /* re sub blk */ in ibmphp_access_ebda()
322 rc = readw(io_mem + sub_addr); /* next sub blk */ in ibmphp_access_ebda()
324 sub_addr += 2; in ibmphp_access_ebda()
325 re_id = readw(io_mem + sub_addr); /* sub blk id */ in ibmphp_access_ebda()
327 sub_addr += 2; in ibmphp_access_ebda()
332 num_entries = readw(io_mem + sub_addr); in ibmphp_access_ebda()
334 sub_addr += 2; /* offset of RSRC_ENTRIES blk */ in ibmphp_access_ebda()
342 rsrc_list_ptr->phys_addr = sub_addr; in ibmphp_access_ebda()
347 debug("offset of rsrc data structure entries: %x\n ", sub_addr); in ibmphp_access_ebda()