Searched refs:brd (Results 1 – 7 of 7) sorted by relevance
/arch/mips/sgi-ip27/ |
D | ip27-smp.c | 40 static nasid_t get_actual_nasid(lboard_t *brd) in get_actual_nasid() argument 44 if (!brd) in get_actual_nasid() 48 hub = (klhub_t *)find_first_component(brd, KLSTRUCT_HUB); in get_actual_nasid() 54 return brd->brd_nasid; in get_actual_nasid() 60 lboard_t *brd; in do_cpumask() local 65 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in do_cpumask() 68 acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU); in do_cpumask() 72 if (get_actual_nasid(brd) == brd->brd_nasid) in do_cpumask() 84 acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in do_cpumask() 87 brd = KLCF_NEXT(brd); in do_cpumask() [all …]
|
D | ip27-klconfig.c | 18 klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument 25 for (j = 0; j < KLCF_NUM_COMPS(brd); j++) in find_component() 26 if (kli == KLCF_COMP(brd, j)) in find_component() 29 if (index == KLCF_NUM_COMPS(brd)) { in find_component() 36 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component() 37 kli = KLCF_COMP(brd, index); in find_component() 46 klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument 48 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component() 83 lboard_t *brd; in nasid_slice_to_cpuinfo() local 86 if (!(brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27))) in nasid_slice_to_cpuinfo() [all …]
|
D | ip27-memory.c | 75 lboard_t *brd; in router_recurse() local 90 brd = (lboard_t *)NODE_OFFSET_TO_K0( in router_recurse() 94 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse() 95 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 113 lboard_t *brd, *dest_brd; in compute_node_distance() local 124 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance() 127 if (!brd) in compute_node_distance() 131 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance() 134 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 153 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance() [all …]
|
D | ip27-xtalk.c | 51 lboard_t *brd; in xbow_probe() local 61 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe() 62 if (!brd) in xbow_probe() 65 xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW); in xbow_probe()
|
/arch/ia64/include/asm/sn/ |
D | klconfig.h | 239 static inline lboard_t *find_lboard_next(lboard_t * brd) in find_lboard_next() argument 241 if (brd && brd->brd_next_any) in find_lboard_next() 242 return NODE_OFFSET_TO_LBOARD(NASID_GET(brd), brd->brd_next_any); in find_lboard_next()
|
/arch/ia64/sn/kernel/ |
D | setup.c | 702 lboard_t *brd; in build_cnode_tables() local 737 brd = NODE_OFFSET_TO_LBOARD(nasid, klgraph_header->ch_board_info); in build_cnode_tables() 738 while (brd) { in build_cnode_tables() 739 if (board_needs_cnode(brd->brd_type) && physical_node_map[brd->brd_nasid] < 0) { in build_cnode_tables() 740 sn_cnodeid_to_nasid[num_cnodes] = brd->brd_nasid; in build_cnode_tables() 741 physical_node_map[brd->brd_nasid] = num_cnodes++; in build_cnode_tables() 743 brd = find_lboard_next(brd); in build_cnode_tables()
|
/arch/mips/include/asm/sn/ |
D | klconfig.h | 890 extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type); 891 extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
|