Home
last modified time | relevance | path

Searched refs:brd (Results 1 – 7 of 7) sorted by relevance

/arch/mips/sgi-ip27/
Dip27-smp.c40 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 …]
Dip27-klconfig.c17 klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument
24 for (j = 0; j < KLCF_NUM_COMPS(brd); j++) in find_component()
25 if (kli == KLCF_COMP(brd, j)) in find_component()
28 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
35 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
36 kli = KLCF_COMP(brd, index); in find_component()
45 klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument
47 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component()
82 lboard_t *brd; in nasid_slice_to_cpuinfo() local
85 if (!(brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27))) in nasid_slice_to_cpuinfo()
[all …]
Dip27-memory.c75 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()
114 lboard_t *brd, *dest_brd; in compute_node_distance() local
125 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance()
128 if (!brd) in compute_node_distance()
132 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance()
135 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
154 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance()
[all …]
Dip27-xtalk.c51 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/
Dklconfig.h239 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/
Dsetup.c702 lboard_t *brd; in build_cnode_tables() local
736 brd = NODE_OFFSET_TO_LBOARD(nasid, klgraph_header->ch_board_info); in build_cnode_tables()
737 while (brd) { in build_cnode_tables()
738 if (board_needs_cnode(brd->brd_type) && physical_node_map[brd->brd_nasid] < 0) { in build_cnode_tables()
739 sn_cnodeid_to_nasid[num_cnodes] = brd->brd_nasid; in build_cnode_tables()
740 physical_node_map[brd->brd_nasid] = num_cnodes++; in build_cnode_tables()
742 brd = find_lboard_next(brd); in build_cnode_tables()
/arch/mips/include/asm/sn/
Dklconfig.h890 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);