/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_sunfire.c | 56 * These interfaces allow the client to attach/detach board. 59 prom_sunfire_attach_board(u_int board) argument 67 ci[3] = p1275_uint2cell(board); 82 prom_sunfire_detach_board(u_int board) argument 90 ci[3] = p1275_uint2cell(board);
|
H A D | prom_serengeti.c | 56 * These interfaces allow the client to attach/detach board. 59 prom_serengeti_attach_board(uint_t node, uint_t board) argument 64 ci[0] = p1275_ptr2cell("SUNW,Serengeti,add-board"); /* name */ 67 ci[3] = p1275_uint2cell(board); 83 prom_serengeti_detach_board(uint_t node, uint_t board) argument 88 ci[0] = p1275_ptr2cell("SUNW,Serengeti,remove-board"); /* name */ 91 ci[3] = p1275_uint2cell(board); 107 prom_serengeti_tunnel_switch(uint_t node, uint_t board) argument 115 ci[3] = p1275_uint2cell(board);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | kstat.c | 58 * fhc, environ, sysctrl. Each board in the tree should have 80 /* For each board in the system, read the kstats for it. */ 82 int board; local 86 * and environ drivers based on their board# property. 88 board = bnode->board_num; 89 bdp = &sys_kstat->bd_ksp_list[board]; 91 /* Try to find an FHC instance for this board number */ 92 ksp = kstat_lookup(kc, UNIX, board, FHC_KSTAT_NAME); 125 /* Try to find an AC instance for this board number */ 126 ksp = kstat_lookup(kc, UNIX, board, AC_KSTAT_NAM [all...] |
H A D | cpu.c | 134 /* Now display all of the cpus on each board */ 145 * Display the CPUs present on this board. 148 display_cpus(Board_node *board) argument 156 for (cpu = dev_find_type(board->nodes, "cpu"); cpu != NULL; 177 display_boardnum(board->board_num);
|
H A D | display_funcs.c | 178 print_header(int board) argument 182 "Analysis for Board %d\n"), board, 0);
|
H A D | pdevinfo_funcs.c | 313 * "board#". 322 * board# prop 325 if (strcmp(prop->name.opp.oprom_array, "board#") == 0) 335 * Retrieve the value of the board number property from this Prom 345 * board# prop 348 if (strcmp(prop->name.opp.oprom_array, "board#") == 0) 358 * Find the requested board struct in the system device tree. 361 find_board(Sys_tree *root, int board) argument 365 while ((bnode != NULL) && (board != bnode->board_num)) 372 * Add a board t 376 insert_board(Sys_tree *root, int board) argument 642 int board; local 678 find_device(Board_node *board, int id, char *name) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/os/ |
H A D | sg_unum.c | 51 * new cpu or board type. 56 * is the proc position on the board (0 through 3) and the second index is 78 int board = SG_CPU_BD_PORTID_TO_BD_NUM(cpuid); local 83 * node and dimm will always be valid. board and proc may be -1 if 86 if ((board == -1) || (proc == -1)) { 98 node, board, proc, dimm, sg_j_number[proc][dimm]);
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | environ.h | 55 int board; /* Board number for this FHC */ member in struct:environ_soft_state
|
H A D | simmstat.h | 57 int board; /* Board number for this FHC */ member in struct:simmstat_soft_state
|
H A D | sram.h | 52 int board; /* Board number for this sram */ member in struct:sram_soft_state
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 112 /* Run thru the board and display its memory if any */ 120 * Find the mem-unit of the board. 121 * If the board has memory, a mem-unit pnode should 127 /* there is a mem-unit in the board */ 129 /* Print the board header */ 197 display_pci(Board_node *board) argument 199 display_psycho_pci(board); 203 * Find the device on the current board with the requested device ID 208 find_device(Board_node *board, int id, char *name) argument 214 pnode = dev_find_node(board [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_prom.c | 127 int board; local 142 board = *cp - '0'; 150 board = *cp - 'a' + 10; 158 board = *cp - 'A' + 10; 163 board = -1; 166 if (board == bd) 204 int board; local 211 board = *icp - '0'; 215 board = *icp - 'a' + 10; 219 board 258 int board; local [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_add.c | 183 * Add the board to the cage growth list. 188 cmn_err(CE_NOTE, "ac_add_bank(): board %d, bank %d, " 190 add->sc.board, pkt->bank, errs); 198 struct bd_list *board; local 203 board = fhc_bdlist_lock(pkt->softsp->board); 204 if (board == NULL || board->ac_softsp == NULL) { 209 ASSERT(pkt->softsp == board->ac_softsp); 211 /* verify the board i [all...] |
H A D | ac_stat.c | 64 struct bd_list *board; local 78 board = fhc_bdlist_lock(pkt->softsp->board); 79 if (board == NULL || board->ac_softsp == NULL) { 85 /* verify the board is of the correct type */ 86 switch (board->sc.type) { 95 ASSERT(pkt->softsp == board->ac_softsp); 106 statp->board = ac->board; [all...] |
H A D | ac_del.c | 269 "board %d, bank %d, " 271 pkt->softsp->board, pkt->bank, errs); 310 "board %d, bank %d, " 312 del->sc.board, bank, errs); 450 struct bd_list *board; local 480 board = fhc_bdlist_lock(pkt->softsp->board); 481 if (board == NULL || board->ac_softsp == NULL) { 487 ASSERT(pkt->softsp == board [all...] |
H A D | ac_test.c | 58 uint_t board; member in struct:test_info 99 struct bd_list *board; local 113 board = fhc_bdlist_lock(pkt->softsp->board); 114 if (board == NULL || board->ac_softsp == NULL) { 119 ASSERT(pkt->softsp == board->ac_softsp); 121 /* verify the board is of the correct type */ 122 switch (board->sc.type) { 139 if (!MEM_BOARD_VISIBLE(board) || 299 ac_mem_test_stop_on_close(uint_t board, uint_t bank) argument [all...] |
/illumos-gate/usr/src/lib/libprtdiag/inc/ |
H A D | display_sun4u.h | 71 int board; /* Board number */ member in struct:io_card
|
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/ |
H A D | sbdp_mbox.h | 63 int board; /* Board number */ member in struct:__anon9945 75 int board; /* Board number */ member in struct:__anon9947 87 char s_type[12]; /* type of board */
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_labels.c | 154 int board, bridge, rc, bus, dev; local 161 board = did_board(dp); 166 "board=%d, bridge=%d, rc=%d, bus=%d, dev=%d\n", 167 __func__, platform, board, bridge, rc, bus, dev); 180 if (m.dl_board == board && m.dl_bridge == bridge &&
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | desktop.c | 192 /* Find the board type of this board */ 211 * board, or SBus card. 235 "%s board %d\n"), board_type, 421 display_sabre_pci(Board_node *board) argument 423 if (board == NULL) 433 display_dev_node(board->nodes, 0); 498 * Display all the SBus IO cards on this board. 501 display_sbus(Board_node *board) argument 511 if (board [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_dr.c | 190 int board, bd; local 206 board = apktp->board; 212 if (bd != board) 215 SBDP_DBG_MISC("%s: board is %d\n", f, bd); 285 sbdp_attach_bd(int node, int board) argument 294 apktp->board = board; 322 sbdp_cpu_in_reset(node, board, SBDP_ALL_CPUS, 1); 326 sbdp_detach_bd(int node, int board, sbd_error_ argument [all...] |
H A D | sbdp_mbox.c | 76 * Convert a showboard data structure to the board structure shared 80 sbdp_showbd_2_sbd_stat(show_board_t *shbp, sbd_stat_t *stp, int board) argument 86 stp->s_board = board; 119 int board = hp->h_board; local 141 bdp = sbdp_get_bd_info(node, board); 143 informp->board = board; 162 SBDP_DBG_MISC("show board completed: rv = %d\n", rv); 165 * This domain has no access to this board. Return failure 182 * board inf 249 int board = hp->h_board; local 300 int board = hp->h_board; local 399 int board, node; local 498 int board, node; local 637 int board = hp->h_board; local 732 int board = hp->h_board; local [all...] |
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | plat_ecc_dimm.c | 62 int board, pos, bank, dimm, jnumber; local 69 if (parse_unum_memory(unum, &board, &pos, &bank, &dimm, 76 mcid = plat_make_fru_cpuid(board, 0, pos); 94 int board, pos, bank, dimm, jnumber; local 101 if (parse_unum_memory(unum, &board, &pos, &bank, &dimm, 105 mcid = plat_make_fru_cpuid(board, 0, pos); 141 * There must be at least one dimm on the board for this 239 /* Record board# for possible retry */ 321 * Calls plat_request_mem_sids(bd) for each board number present in the domain. 350 * board numbe [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | workfile.c | 324 * This function adds a board node to the board structure where that 330 int board = -1; local 337 /* Get the board number of this board from the portid prop */ 343 board = CHERRYSTONE_GETSLOT(portid); 345 if ((bnode = find_board(root, board)) == NULL) { 346 bnode = insert_board(root, board); 349 /* now attach this prom node to the board list */
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 79 void display_pci(Board_node *board); 83 void display_ffb(Board_node *board, int table); 138 /* Now display all of the cpus on each board */ 150 * Display the CPUs present on this board. 153 display_cpus(Board_node *board) argument 163 for (cpu = dev_find_type(board->nodes, cpu_name); cpu != NULL; 296 * Display all the PCI IO cards on this board. 299 display_pci(Board_node *board) argument 310 if (board == NULL) 316 card.board 443 display_ffb(Board_node *board, int table) argument [all...] |