| /illumos-gate/usr/src/lib/libprtdiag/common/ |
| H A D | memory.c | 176 * OBP. This contains the bank-status for each logical bank. in get_us3_mem_regs() 179 find_prop(pnode, "bank-status")); in get_us3_mem_regs() 183 * process each logical bank in get_us3_mem_regs() 187 * Get the bank-status string for this bank in get_us3_mem_regs() 203 * create a bank_node for this bank in get_us3_mem_regs() 209 * find the segment to which this bank in get_us3_mem_regs() 223 memory_bank_t *new, *bank; in add_bank_node() local 247 /* Handle the first bank found */ in add_bank_node() 254 /* find last bank in list */ in add_bank_node() 255 bank = bank_head; in add_bank_node() [all …]
|
| /illumos-gate/usr/src/tools/smatch/src/ |
| H A D | dominate.c | 28 struct piggy *bank; in bank_init() local 29 bank = calloc(1, sizeof(*bank) + levels * sizeof(bank->lists[0])); in bank_init() 30 bank->max = levels - 1; in bank_init() 31 return bank; in bank_init() 34 static void bank_free(struct piggy *bank, unsigned int levels) in bank_free() argument 37 free_ptr_list(&bank->lists[levels]); in bank_free() 38 free(bank); in bank_free() 41 static void bank_put(struct piggy *bank, struct basic_block *bb) in bank_put() argument 44 assert(level <= bank->max); in bank_put() 45 add_bb(&bank->lists[level], bb); in bank_put() [all …]
|
| /illumos-gate/usr/src/uts/sun4u/opl/io/ |
| H A D | mc-opl.c | 95 int mc_set_mem_sid(mc_opl_t *mcp, char *buf, int buflen, int lsb, int bank, 103 static void mc_set_rewrite(mc_opl_t *mcp, int bank, uint32_t addr, int state); 178 * The index into this table is made up of (bank, dslot), 179 * Where dslot occupies bits 0-1 and bank occupies 2-4. 185 "03A", "02A", "03B", "02B", /* Bank 0 (MAC 0 bank 0) */ 186 "13A", "12A", "13B", "12B", /* Bank 1 (MAC 0 bank 1) */ 187 "23A", "22A", "23B", "22B", /* Bank 2 (MAC 1 bank 0) */ 188 "33A", "32A", "33B", "32B", /* Bank 3 (MAC 1 bank 1) */ 189 "01A", "00A", "01B", "00B", /* Bank 4 (MAC 2 bank 0) */ 190 "11A", "10A", "11B", "10B", /* Bank 5 (MAC 2 bank 1) */ [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/ |
| H A D | system-board.info | 169 REFNODE bank fru WITH name:/frutree/chassis/C0/system-board/P0/cpu 170 name:/frutree/chassis/C0/system-board/P0/cpu/B0/bank 177 REFNODE bank fru WITH name:/frutree/chassis/C0/system-board/P0/cpu 178 name:/frutree/chassis/C0/system-board/P0/cpu/B1/bank 195 REFNODE bank fru WITH name:/frutree/chassis/C1/system-board/P0/cpu 196 name:/frutree/chassis/C1/system-board/P0/cpu/B0/bank 203 REFNODE bank fru WITH name:/frutree/chassis/C1/system-board/P0/cpu 204 name:/frutree/chassis/C1/system-board/P0/cpu/B1/bank 221 REFNODE bank fru WITH name:/frutree/chassis/C2/system-board/P0/cpu 222 name:/frutree/chassis/C2/system-board/P0/cpu/B0/bank [all …]
|
| /illumos-gate/usr/src/uts/sun4u/io/ |
| H A D | mc-us3.c | 157 static void mc_add_mem_unum_label(char *buf, int mcid, int bank, int dimm); 160 static void mc_update_bank(struct bank_info *bank); 504 struct bank_info *bank = NULL; in mc_ioctl() local 580 * return 0: base, size, number of banks, and all bank ids, in mc_ioctl() 624 bank = seg->hb_inseg; in mc_ioctl() 626 DPRINTF(MC_CMD_DEBUG, ("MCIOC_SEG:nbanks %d seg 0x%p bank %p\n", in mc_ioctl() 627 seg->nbanks, (void *)seg, (void *)bank)); in mc_ioctl() 630 while (bank != NULL) { in mc_ioctl() 632 i, bank->bank_node.id)); in mc_ioctl() 633 mcseg->bankids[i].globalid = bank->bank_node.id; in mc_ioctl() [all …]
|
| H A D | mc-us3i.c | 150 static void mc_add_mem_unum_label(char *unum, int mcid, int bank, int dimm); 444 struct bank_info *bank = NULL; in mc_ioctl() local 518 * return 0: base, size, number of banks, and all bank ids, in mc_ioctl() 559 bank = seg->head; in mc_ioctl() 561 DPRINTF(MC_CMD_DEBUG, ("MCIOC_SEG:nbanks %d seg %p bank %p\n", in mc_ioctl() 562 seg->nbanks, (void *) seg, (void *) bank)); in mc_ioctl() 565 while (bank != NULL) { in mc_ioctl() 567 i, bank->bank_node.id)); in mc_ioctl() 568 mcseg->bankids[i].globalid = bank->bank_node.id; in mc_ioctl() 569 mcseg->bankids[i++].localid = bank->local_id; in mc_ioctl() [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/ |
| H A D | system-board.info | 101 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P0/cpu 102 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank 109 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P0/cpu 110 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank 135 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P1/cpu 136 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank 143 REFNODE bank fru WITH name:/frutree/chassis/MB/system-board/P1/cpu 144 name:/frutree/chassis/MB/system-board/P1/cpu/B1/bank 151 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0 154 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1 [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frutree/ |
| H A D | system-board.info | 220 REFNODE bank location WITH name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu 221 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank 228 REFNODE bank location WITH name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu 229 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank 243 REFNODE bank location WITH name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 244 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank 251 REFNODE bank location WITH name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu 252 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank 266 REFNODE bank location WITH name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu 267 name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank [all …]
|
| /illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
| H A D | ac.c | 334 /* Inherit Memory Bank Status */ in ac_attach() 337 /* Final Memory Bank Status evaluation and messaging */ in ac_attach() 397 if (softsp->bank[Bank0].busy != 0 || in ac_detach() 398 softsp->bank[Bank0].ostate == SYSC_CFGA_OSTATE_CONFIGURED || in ac_detach() 399 softsp->bank[Bank1].busy != 0 || in ac_detach() 400 softsp->bank[Bank1].ostate == SYSC_CFGA_OSTATE_CONFIGURED) { in ac_detach() 613 pkt->bank = AC_GETBANK(getminor(devt)); in ac_ioctl() 658 * Query usage of a bank of memory. in ac_ioctl() 1084 ac_kstat_stat(softsp->bank[0].rstate, in ac_misc_kstat_update() 1085 softsp->bank[0].ostate); in ac_misc_kstat_update() [all …]
|
| H A D | ac_del.c | 226 ilv = (pkt->bank == Bank0) ? in ac_del_bank_add_span() 233 * Determine the physical location of the selected bank in ac_del_bank_add_span() 235 decode = (pkt->bank == Bank0) ? in ac_del_bank_add_span() 269 "board %d, bank %d, " in ac_del_bank_add_span() 271 pkt->softsp->board, pkt->bank, errs); in ac_del_bank_add_span() 281 enum ac_bank_id bank) in ac_del_bank_add_cage() argument 292 * Determine the physical location of the selected bank in ac_del_bank_add_cage() 294 decode = (bank == Bank0) ? *asp->ac_memdecode0 : *asp->ac_memdecode1; in ac_del_bank_add_cage() 310 "board %d, bank %d, " in ac_del_bank_add_cage() 312 del->sc.board, bank, errs); in ac_del_bank_add_cage() [all …]
|
| H A D | ac_test.c | 59 uint_t bank; member 110 * Is the specified bank testable? in ac_mem_test_start() 138 mem_info = &softsp->bank[pkt->bank]; in ac_mem_test_start() 155 test->bank == pkt->bank) in ac_mem_test_start() 178 return (EBUSY); /* signal bank in use */ in ac_mem_test_start() 182 * at this point, we have an available bank to test. in ac_mem_test_start() 191 test->bank = pkt->bank; in ac_mem_test_start() 199 decode = (pkt->bank == Bank0) ? in ac_mem_test_start() 228 cmn_err(CE_NOTE, "!memtest: start test[%u]: board %d, bank %d", in ac_mem_test_start() 229 test->info.handle, test->board, test->bank); in ac_mem_test_start() [all …]
|
| H A D | ac_add.c | 117 ilv = (pkt->bank == Bank0) ? in ac_add_bank() 124 * Determine the physical location of the selected bank in ac_add_bank() 126 decode = (pkt->bank == Bank0) ? in ac_add_bank() 132 mem_info = &asp->bank[pkt->bank]; in ac_add_bank() 188 cmn_err(CE_NOTE, "ac_add_bank(): board %d, bank %d, " in ac_add_bank() 190 add->sc.board, pkt->bank, errs); in ac_add_bank() 223 mem_info = &pkt->softsp->bank[pkt->bank]; in ac_add_memory() 235 * at this point, we have an available bank to add. in ac_add_memory()
|
| /illumos-gate/usr/src/common/mc/mc-amd/ |
| H A D | mcamd_rowcol_tbl.c | 33 * =========== Chip-Select Bank Address Mode Encodings ======================= 41 /* Managing bank address mode tables */ 53 * =========== DRAM Address Mappings for bank/row/column ===================== 71 /* Managing row/column/bank tables */ 85 * =========== Bank swizzling information ==================================== 100 /* Managing bank swizzle tables */ 118 * of the first row of internal bank-select 0 on a chip-select, then the 119 * next row on internal bank-select 1, then 2 then 3; instead of then 121 * other chip-selects in the interleave. The row/column/bank mappings 127 * | row bits | bank bits | column bits | - | [all …]
|
| /illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
| H A D | sbdp_mem.c | 772 * If non-Panther board, add phys_banks entry for each physical bank. 873 * to each physical bank, relying on the reads to block until all outstanding 1139 * Non-Panther MCs are idled by reading each physical bank. in sbdp_copy_rename__relocatable() 1428 * Check the valid bit to see if bank is there in sbdp_get_meminfo() 1672 sbdp_bank_t *cur_bank, *bank; in sbdp_check_seg_with_banks() local 1676 for (bank = banks; bank; bank = bank->bd_next) { in sbdp_check_seg_with_banks() 1677 if (!bank->valid) in sbdp_check_seg_with_banks() 1680 if (cur_bank == bank) { in sbdp_check_seg_with_banks() 1729 * Search for the first bank with valid memory in sbdp_isinterleaved() 1746 * Find the segment for the first bank in sbdp_isinterleaved() [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frutree/ |
| H A D | system-board.info | 115 NODE bank fru 124 NODE bank fru 141 NODE bank fru 150 NODE bank fru 160 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D0 163 name:/frutree/chassis/MB/system-board/P0/cpu/B0/bank/D1 166 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D0 169 name:/frutree/chassis/MB/system-board/P0/cpu/B1/bank/D1 176 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D0 179 name:/frutree/chassis/MB/system-board/P1/cpu/B0/bank/D1 [all …]
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frudr/ |
| H A D | SB-tables.info | 307 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D0/mem-module 315 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B0/bank/D1/mem-module 323 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D0/mem-module 331 name:/frutree/chassis/MB/system-board/C0/cpu-module/P0/cpu/B1/bank/D1/mem-module 339 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D0/mem-module 347 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B0/bank/D1/mem-module 355 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D0/mem-module 363 name:/frutree/chassis/MB/system-board/C1/cpu-module/P0/cpu/B1/bank/D1/mem-module 371 name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D0/mem-module 379 name:/frutree/chassis/MB/system-board/C2/cpu-module/P0/cpu/B0/bank/D1/mem-module [all …]
|
| /illumos-gate/usr/src/uts/sun4u/sys/ |
| H A D | gpio_87317.h | 38 #define GPIO_CMD_SET_BITS 0 /* gpio_reg[bank][offset] |= gpio_data */ 39 #define GPIO_CMD_CLR_BITS 1 /* gpio_reg[bank][offset] &= ~gpio_data */ 40 #define GPIO_CMD_GET 2 /* gpio_data = gpio_reg[bank][offset] */ 41 #define GPIO_CMD_SET 3 /* gpio_reg[bank][offset] = gpio_data */ 43 /* SuperIO gpio bank 0 (gpio_bank=0) register offsets (gpio_offset) */ 53 /* SuperIO gpio bank 1 (gpio_bank=1) register offsets (gpio_offset) */ 65 int gpio_bank; /* identify gpio bank: 0 or 1 */
|
| H A D | mc.h | 39 * Logical view: memory -> segment -> bank -> device group -> device 69 * Decode Registers for each Logical bank. An array of [NBANK] 72 #define MEM_CFG_PROP_NAME "logical-bank-ma-regs" 105 struct mc_ids bankids[1]; /* logical bank ids for next iteration */ 109 int id; /* unique id for logic bank */ 110 struct mc_ids devgrpid; /* Only one device group id per logical bank */ 112 uint64_t match; /* Physic Address is located at this bank. */ 113 uint64_t size; /* memory size per logical bank */
|
| H A D | mc-us3.h | 81 struct bank_info *hb_inseg; /* first bank at this segment */ 82 struct bank_info *tb_inseg; /* last bank at this segment */ 88 int local_id; /* unique local bank id per segment */ 91 ushort_t valid; /* valid flag per logic bank */ 97 uint64_t size; /* memory size per logical bank */ 98 struct bank_info *n_inseg; /* next bank at the same segment */ 99 struct bank_info *p_inseg; /* previous bank at the same segment */
|
| /illumos-gate/usr/src/cmd/fm/schemes/mem/ |
| H A D | mem.h | 44 * particular physical page within the bank or DIMM. The named page is as 46 * however, be at least partially contained by the named bank or DIMM. 65 * individual modules. See mem_unum.c for the code which bursts bank unums. 77 * - nvl2str: The printed representation of the named bank or DIMM is 81 * - expand: For platforms which do not include bank or DIMM 88 * point will attempt to determine whether the bank or module named in the 94 * - contains: Used to determine whether a given bank contains a given DIMM. 119 struct mem_bank_map *bm_next; /* the next bank map overall */ 120 struct mem_bank_map *bm_grp; /* next bank map in group */
|
| /illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frudr/ |
| H A D | SB-tables.info | 348 name:/frutree/chassis/C0/system-board/P0/cpu/B0/bank/D0/mem-module 355 name:/frutree/chassis/C0/system-board/P0/cpu/B0/bank/D1/mem-module 362 name:/frutree/chassis/C0/system-board/P0/cpu/B1/bank/D0/mem-module 369 name:/frutree/chassis/C0/system-board/P0/cpu/B1/bank/D1/mem-module 376 name:/frutree/chassis/C1/system-board/P0/cpu/B0/bank/D0/mem-module 383 name:/frutree/chassis/C1/system-board/P0/cpu/B0/bank/D1/mem-module 390 name:/frutree/chassis/C1/system-board/P0/cpu/B1/bank/D0/mem-module 397 name:/frutree/chassis/C1/system-board/P0/cpu/B1/bank/D1/mem-module 404 name:/frutree/chassis/C2/system-board/P0/cpu/B0/bank/D0/mem-module 411 name:/frutree/chassis/C2/system-board/P0/cpu/B0/bank/D1/mem-module [all …]
|
| /illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
| H A D | ac.h | 153 * AC memory bank ioctl interface. 201 AC_ERR_MEM_BK, /* invalid memory bank */ 264 * afar_base is the physical base of the bank being tested so 265 * that the afar value can be translated to an offset into the bank. 395 uint_t bank; /* Decoded bank number. */ member 411 #define AC_BANK0_STATUS "bank-0-status" 412 #define AC_BANK1_STATUS "bank-1-status" 427 /* set the decode register bits according to the desired bank layout */ 453 int busy; /* A bank is in transition */ 459 uint_t real_size; /* Real size in MB of bank */ [all …]
|
| /illumos-gate/usr/src/data/perfmon/BDW-DE/ |
| H A D | broadwellde_uncore_v7.json | 4532 "PublicDescription": "AD Egress Full; Filter for cycles full from scheduler bank 0", 4545 "PublicDescription": "AD Egress Full; Filter for cycles full from scheduler bank 1", 4571 "PublicDescription": "AD Egress Not Empty; Filter for cycles not empty from scheduler bank 0", 4584 "PublicDescription": "AD Egress Not Empty; Filter for cycles not empty from scheduler bank 1", 4610 "PublicDescription": "AD Egress Allocations; Filter for allocations from scheduler bank 0", 4623 "PublicDescription": "AD Egress Allocations; Filter for allocations from scheduler bank 1", 4649 "PublicDescription": "AK Egress Full; Filter for cycles full from scheduler bank 0", 4662 "PublicDescription": "AK Egress Full; Filter for cycles full from scheduler bank 1", 4688 "PublicDescription": "AK Egress Not Empty; Filter for cycles not empty from scheduler bank 0", 4701 "PublicDescription": "AK Egress Not Empty; Filter for cycles not empty from scheduler bank 1", [all …]
|
| /illumos-gate/usr/src/test/os-tests/tests/zen_umc/ |
| H A D | zen_umc_test_chans.c | 23 * o Bank Hashing 24 * o Bank Swaps 183 * shifts all the other bits that get used for rank and bank selection. This 474 * This enables bank hashing across both of the DIMMs in this configuration. The 475 * use of the row and not the column to select the bank is based on a CPU config 635 * Some configurations allow optional bank swaps where by the bits we use for 636 * the column and the bank are swapped around. Do one of these just to make sure 1291 * For the bank hash we first prove that we can target a given row/column in 1292 * each bank and bank group without hashing (this leads to a total of 16 1294 * change which bank and group we end up in. [all …]
|
| /illumos-gate/usr/src/cmd/pcitool/ |
| H A D | pcitool_usage.c | 37 " [ -n bank=<register bank>", 38 " where register bank is 0 for mapped jbus space and 1 for pcie space", 42 " where base address is a physical base address of a register bank", 43 " (only on applicable platforms (e.g. sun4v) where bank info is " 46 " -d bus=<bus>,dev=<dev>,func=<func>,bank=<register bank>", 47 " -d bdf=<bus>.<dev>.<func>,bank=<register bank>", 133 " Bank is specified in one of the following ways:",
|