Searched refs:brd (Results 1 – 8 of 8) sorted by relevance
/arch/mips/sgi-ip27/ |
D | ip27-klconfig.c | 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() [all …]
|
D | ip27-smp.c | 40 static nasid_t get_actual_nasid(lboard_t *brd) in get_actual_nasid() argument 44 if (!brd) in get_actual_nasid() 48 hub = (klhub_t *)find_first_component(brd, KLSTRUCT_HUB); in get_actual_nasid() 54 return brd->brd_nasid; in get_actual_nasid() 60 lboard_t *brd; in do_cpumask() local 65 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_IP27); in do_cpumask() 68 acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU); in do_cpumask() 72 if (get_actual_nasid(brd) == brd->brd_nasid) in do_cpumask() 84 acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in do_cpumask() 87 brd = KLCF_NEXT(brd); in do_cpumask() [all …]
|
D | ip27-memory.c | 76 lboard_t *brd; in router_recurse() local 91 brd = (lboard_t *)NODE_OFFSET_TO_K0( in router_recurse() 95 if (brd->brd_type == KLTYPE_ROUTER) { in router_recurse() 96 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse() 114 lboard_t *brd, *dest_brd; in compute_node_distance() local 125 brd = find_lboard_class((lboard_t *)KL_CONFIG_INFO(nasid), in compute_node_distance() 128 if (!brd) in compute_node_distance() 132 if (brd->brd_flags & DUPLICATE_BOARD) in compute_node_distance() 135 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance() 154 } while ((brd = find_lboard_class(KLCF_NEXT(brd), KLTYPE_ROUTER))); in compute_node_distance() [all …]
|
D | ip27-xtalk.c | 52 lboard_t *brd; in xbow_probe() local 62 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe() 63 if (!brd) in xbow_probe() 66 xbow_p = (klxbow_t *)find_component(brd, NULL, KLSTRUCT_XBOW); in xbow_probe()
|
/arch/ia64/include/asm/sn/ |
D | klconfig.h | 239 static inline lboard_t *find_lboard_next(lboard_t * brd) in find_lboard_next() argument 241 if (brd && brd->brd_next_any) in find_lboard_next() 242 return NODE_OFFSET_TO_LBOARD(NASID_GET(brd), brd->brd_next_any); in find_lboard_next()
|
/arch/arm/plat-s3c24xx/ |
D | cpu-freq-debugfs.c | 41 struct s3c_cpufreq_board *brd; in board_show() local 49 brd = cfg->board; in board_show() 50 if (!brd) { in board_show() 55 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show() 56 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show() 57 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show() 59 show_max(seq, &brd->max); in board_show()
|
/arch/ia64/sn/kernel/ |
D | setup.c | 702 lboard_t *brd; in build_cnode_tables() local 736 brd = NODE_OFFSET_TO_LBOARD(nasid, klgraph_header->ch_board_info); in build_cnode_tables() 737 while (brd) { in build_cnode_tables() 738 if (board_needs_cnode(brd->brd_type) && physical_node_map[brd->brd_nasid] < 0) { in build_cnode_tables() 739 sn_cnodeid_to_nasid[num_cnodes] = brd->brd_nasid; in build_cnode_tables() 740 physical_node_map[brd->brd_nasid] = num_cnodes++; in build_cnode_tables() 742 brd = find_lboard_next(brd); in build_cnode_tables()
|
/arch/mips/include/asm/sn/ |
D | klconfig.h | 890 extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type); 891 extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
|