Lines Matching refs:brd
17 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()
88 if (!(acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU))) in nasid_slice_to_cpuinfo()
94 } while ((acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in nasid_slice_to_cpuinfo()