Lines Matching refs:tle
177 static union topology_entry *next_tle(union topology_entry *tle) in next_tle() argument
179 if (!tle->nl) in next_tle()
180 return (union topology_entry *)((struct topology_core *)tle + 1); in next_tle()
181 return (union topology_entry *)((struct topology_container *)tle + 1); in next_tle()
189 union topology_entry *tle, *end; in tl_to_masks() local
192 tle = info->tle; in tl_to_masks()
194 while (tle < end) { in tl_to_masks()
195 switch (tle->nl) { in tl_to_masks()
198 drawer->id = tle->container.id; in tl_to_masks()
202 book->id = tle->container.id; in tl_to_masks()
206 socket->id = tle->container.id; in tl_to_masks()
209 add_cpus_to_mask(&tle->cpu, drawer, book, socket); in tl_to_masks()
215 tle = next_tle(tle); in tl_to_masks()
557 static int __init detect_polarization(union topology_entry *tle) in detect_polarization() argument
561 while (tle->nl) in detect_polarization()
562 tle = next_tle(tle); in detect_polarization()
563 tl_core = (struct topology_core *)tle; in detect_polarization()
583 cpu_management = detect_polarization(info->tle); in topology_init_early()