Lines Matching refs:newrange

80 	struct range_node *newrange;  in alloc_bus_range()  local
104 newrange = kzalloc(sizeof(struct range_node), GFP_KERNEL); in alloc_bus_range()
105 if (!newrange) { in alloc_bus_range()
110 newrange->start = curr->start_addr; in alloc_bus_range()
111 newrange->end = curr->end_addr; in alloc_bus_range()
114 newrange->rangeno = 1; in alloc_bus_range()
117 add_bus_range(flag, newrange, newbus); in alloc_bus_range()
118 … Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
123 newbus->rangeMem = newrange; in alloc_bus_range()
127 …debug("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end… in alloc_bus_range()
133 newbus->rangeIO = newrange; in alloc_bus_range()
137 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
143 newbus->rangePFMem = newrange; in alloc_bus_range()
147 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
156 *new_range = newrange; in alloc_bus_range()
183 struct range_node *newrange = NULL; in ibmphp_rsrc_init() local
206 rc = alloc_bus_range(&newbus, &newrange, curr, MEM, 1); in ibmphp_rsrc_init()
210 …"gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
215 rc = alloc_bus_range(&bus_cur, &newrange, curr, MEM, 0); in ibmphp_rsrc_init()
220 rc = alloc_bus_range(&newbus, &newrange, curr, MEM, 1); in ibmphp_rsrc_init()
225 …debug("New Bus, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
232 rc = alloc_bus_range(&newbus, &newrange, curr, PFMEM, 1); in ibmphp_rsrc_init()
236 …buses = NULL, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
241 rc = alloc_bus_range(&bus_cur, &newrange, curr, PFMEM, 0); in ibmphp_rsrc_init()
246 rc = alloc_bus_range(&newbus, &newrange, curr, PFMEM, 1); in ibmphp_rsrc_init()
250 …bug("1st Bus, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
257 rc = alloc_bus_range(&newbus, &newrange, curr, IO, 1); in ibmphp_rsrc_init()
261 …debug("gbuses = NULL, IO Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->en… in ibmphp_rsrc_init()
265 rc = alloc_bus_range(&bus_cur, &newrange, curr, IO, 0); in ibmphp_rsrc_init()
270 rc = alloc_bus_range(&newbus, &newrange, curr, IO, 1); in ibmphp_rsrc_init()
274 … debug("1st Bus, IO Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()