Searched refs:gdcd (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | sc_gptwocfg.c | 143 gdcd_t *gdcd; local 152 gdcd = (gdcd_t *)kmem_zalloc(sizeof (gdcd_t), KM_SLEEP); 158 if (iosram_rd(GDCD_MAGIC, 0, sizeof (gdcd_t), (caddr_t)gdcd)) { 161 kmem_free(gdcd, sizeof (gdcd_t)); 165 if (gdcd->h.dcd_magic != GDCD_MAGIC) { 168 gdcd->h.dcd_magic); 170 kmem_free(gdcd, sizeof (gdcd_t)); 174 if (gdcd->h.dcd_version != DCD_VERSION) { 177 gdcd->h.dcd_version, DCD_VERSION); 179 kmem_free(gdcd, sizeo [all...] |
H A D | drmach.c | 1030 gdcd_t *gdcd; local 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) argument 1051 kmem_free(gdcd, sizeo 2639 gdcd_t *gdcd; local 3962 drmach_board_non_panther_cpus(gdcd_t *gdcd, uint_t exp, uint_t slot) argument 4030 gdcd_t *gdcd = NULL; local 6204 gdcd_t *gdcd; local 6623 gdcd_t *gdcd; local [all...] |
H A D | schpc.c | 4001 gdcd_t *gdcd; local 4007 if ((gdcd = (gdcd_t *)kmem_zalloc(sizeof (gdcd_t), 4016 if (iosram_rd(GDCD_MAGIC, 0, sizeof (gdcd_t), (caddr_t)gdcd)) { 4019 kmem_free(gdcd, sizeof (gdcd_t)); 4023 if (gdcd->h.dcd_magic != GDCD_MAGIC) { 4026 gdcd->h.dcd_magic); 4028 kmem_free(gdcd, sizeof (gdcd_t)); 4032 if (gdcd->h.dcd_version != DCD_VERSION) { 4035 gdcd->h.dcd_version, DCD_VERSION); 4037 kmem_free(gdcd, sizeo [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/os/ |
H A D | starcat.c | 457 gdcd_t *gdcd; local 464 if ((gdcd = kmem_zalloc(sizeof (gdcd_t), KM_NOSLEEP)) == NULL) 467 if ((*iosram_rdp)(GDCD_MAGIC, 0, sizeof (gdcd_t), (caddr_t)gdcd) || 468 (gdcd->h.dcd_magic != GDCD_MAGIC) || 469 (gdcd->h.dcd_version != DCD_VERSION)) { 470 kmem_free(gdcd, sizeof (gdcd_t)); 481 if (RSV_GOOD(gdcd->dcd_slot[exp][0].l1ss_rsv) && 482 (gdcd->dcd_slot[exp][0].l1ss_flags & 487 kmem_free(gdcd, sizeof (gdcd_t));
|
Completed in 132 milliseconds