Lines Matching refs:gdcd

1030 	gdcd_t *gdcd;
1032 gdcd = kmem_zalloc(sizeof (gdcd_t), KM_SLEEP);
1034 /* read the gdcd, bail if magic or ver #s are not what is expected */
1035 if (iosram_rd(GDCD_MAGIC, 0, sizeof (gdcd_t), (caddr_t)gdcd)) {
1037 kmem_free(gdcd, sizeof (gdcd_t));
1039 } else if (gdcd->h.dcd_magic != GDCD_MAGIC) {
1041 } else if (gdcd->h.dcd_version != DCD_VERSION) {
1045 return (gdcd);
1049 drmach_gdcd_dispose(gdcd_t *gdcd)
1051 kmem_free(gdcd, sizeof (gdcd_t));
2639 gdcd_t *gdcd;
2650 gdcd = drmach_gdcd_new();
2651 if (gdcd == NULL) {
2685 drmach_gdcd_dispose(gdcd);
2699 dcd = &gdcd->dcd_slot[exp][slot];
2705 if (gdcd->dcd_slot[exp][slot].l1ss_flags &
2715 if (gdcd->dcd_testcage_log2_mbytes_size != DCD_DR_TESTCAGE_DISABLED) {
2716 ASSERT(gdcd->dcd_testcage_log2_mbytes_size ==
2717 gdcd->dcd_testcage_log2_mbytes_align);
2719 (uint64_t)gdcd->dcd_testcage_mbyte_PA << 20;
2721 1 << (gdcd->dcd_testcage_log2_mbytes_size + 20);
2730 DRMACH_PR("gdcd size=0x%x align=0x%x PA=0x%x\n",
2731 gdcd->dcd_testcage_log2_mbytes_size,
2732 gdcd->dcd_testcage_log2_mbytes_align,
2733 gdcd->dcd_testcage_mbyte_PA);
2743 drmach_gdcd_dispose(gdcd);
2749 drmach_gdcd_dispose(gdcd);
3962 drmach_board_non_panther_cpus(gdcd_t *gdcd, uint_t exp, uint_t slot)
3968 ASSERT(gdcd != NULL);
3991 if (gdcd->dcd_prd[exp][port].prd_ptype == SAFPTYPE_CPU &&
3992 RSV_GOOD(gdcd->dcd_prd[exp][port].prd_prsv)) {
3997 impl = (gdcd->dcd_prd[exp][port].prd_ver_reg >> 32)
4030 gdcd_t *gdcd = NULL;
4062 gdcd = drmach_gdcd_new();
4063 if (gdcd == NULL) {
4075 gdcd->dcd_slot[exp][slot].l1ss_cpu_drblock_xwd_offset << 3;
4083 if (gdcd->dcd_slot[exp][slot].l1ss_flags &
4095 if (drmach_board_non_panther_cpus(gdcd, exp, slot) > 0 &&
4149 if (gdcd != NULL)
4150 drmach_gdcd_dispose(gdcd);
6204 gdcd_t *gdcd;
6219 gdcd = drmach_gdcd_new();
6220 if (gdcd == NULL)
6224 chunk = gdcd->dcd_chunk_list.dcl_chunk;
6225 chunks = gdcd->dcd_chunk_list.dcl_chunks;
6235 drmach_gdcd_dispose(gdcd);
6623 gdcd_t *gdcd;
6631 gdcd = drmach_gdcd_new();
6632 if (gdcd == NULL)
6639 chunk = gdcd->dcd_chunk_list.dcl_chunk;
6640 chunks = gdcd->dcd_chunk_list.dcl_chunks;
6650 drmach_gdcd_dispose(gdcd);
8840 * types, as it is derived at from the POST gdcd board flag