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()
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()
200 lboard_t *brd, *dest_brd; in dump_topology() local
224 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in dump_topology()
227 if (!brd) in dump_topology()
231 if (brd->brd_flags & DUPLICATE_BOARD) in dump_topology()
236 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
253 } while ( (brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER)) ); in dump_topology()
267 lboard_t *brd; in slot_psize_compute() local
273 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in slot_psize_compute()
274 if (!brd) in slot_psize_compute()
278 banks = (klmembnk_t *) find_first_component(brd, KLSTRUCT_MEMBNK); in slot_psize_compute()