Lines Matching refs:brd
61 lboard_t *brd; in router_recurse() local
76 brd = (lboard_t *)NODE_OFFSET_TO_K0( in router_recurse()
80 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse()
81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
100 lboard_t *brd, *dest_brd; in compute_node_distance() local
106 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance()
109 if (!brd) in compute_node_distance()
113 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance()
116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
135 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance()
178 lboard_t *brd, *dest_brd; in dump_topology() local
198 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in dump_topology()
201 if (!brd) in dump_topology()
205 if (brd->brd_flags & DUPLICATE_BOARD) in dump_topology()
210 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
227 } while ( (brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER)) ); in dump_topology()
238 lboard_t *brd; in slot_psize_compute() local
243 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in slot_psize_compute()
244 if (!brd) in slot_psize_compute()
248 banks = (klmembnk_t *) find_first_component(brd, KLSTRUCT_MEMBNK); in slot_psize_compute()