Lines Matching refs:brd
18 klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char struct_type) in find_component() argument
25 for (j = 0; j < KLCF_NUM_COMPS(brd); j++) in find_component()
26 if (kli == KLCF_COMP(brd, j)) in find_component()
29 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
36 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
37 kli = KLCF_COMP(brd, index); in find_component()
46 klinfo_t *find_first_component(lboard_t *brd, unsigned char struct_type) in find_first_component() argument
48 return find_component(brd, (klinfo_t *)NULL, struct_type); in find_first_component()
83 lboard_t *brd; in nasid_slice_to_cpuinfo() local
86 if (!(brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27))) in nasid_slice_to_cpuinfo()
89 if (!(acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU))) in nasid_slice_to_cpuinfo()
95 } while ((acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in nasid_slice_to_cpuinfo()