Lines Matching refs:brd
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()
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()
201 lboard_t *brd, *dest_brd; in dump_topology() local
225 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in dump_topology()
228 if (!brd) in dump_topology()
232 if (brd->brd_flags & DUPLICATE_BOARD) in dump_topology()
237 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
254 } while ( (brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER)) ); in dump_topology()
268 lboard_t *brd; in slot_psize_compute() local
274 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in slot_psize_compute()
275 if (!brd) in slot_psize_compute()
279 banks = (klmembnk_t *) find_first_component(brd, KLSTRUCT_MEMBNK); in slot_psize_compute()