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