Home
last modified time | relevance | path

Searched refs:encstat (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dses_sen.c177 ssc->ses_objmap[oid].encstat[1] = baseid + i - SDRVOFF; in sen_rdstat()
178 ssc->ses_objmap[oid].encstat[2] = 0; in sen_rdstat()
183 ssc->ses_objmap[oid].encstat[0] = SESSTAT_OK; in sen_rdstat()
185 ssc->ses_objmap[oid].encstat[0] = SESSTAT_NOTINSTALLED; in sen_rdstat()
192 ssc->ses_objmap[oid].encstat[0] = SESSTAT_CRIT; in sen_rdstat()
193 ssc->ses_objmap[oid].encstat[3] = 0x40; in sen_rdstat()
196 ssc->ses_objmap[oid].encstat[3] = 0x0; in sen_rdstat()
209 ssc->ses_objmap[oid].encstat[1] = 0; in sen_rdstat()
210 ssc->ses_objmap[oid].encstat[2] = 0; in sen_rdstat()
215 ssc->ses_objmap[oid].encstat[0] = SESSTAT_OK; in sen_rdstat()
[all …]
H A Dses_safte.c396 ssc->ses_objmap[oid].encstat[1] = 0; /* resvd */ in safte_rdstat()
397 ssc->ses_objmap[oid].encstat[2] = 0; /* resvd */ in safte_rdstat()
401 ssc->ses_objmap[oid].encstat[0] = SESSTAT_OK; in safte_rdstat()
407 ssc->ses_objmap[oid].encstat[3] = 7; in safte_rdstat()
411 ssc->ses_objmap[oid].encstat[0] = SESSTAT_CRIT; in safte_rdstat()
415 ssc->ses_objmap[oid].encstat[3] = 0x40; in safte_rdstat()
427 ssc->ses_objmap[oid].encstat[0] = SESSTAT_NOTINSTALLED; in safte_rdstat()
428 ssc->ses_objmap[oid].encstat[3] = 0; in safte_rdstat()
435 ssc->ses_objmap[oid].encstat[0] = SESSTAT_UNKNOWN; in safte_rdstat()
436 ssc->ses_objmap[oid].encstat[3] = 0; in safte_rdstat()
[all …]
H A Dses_ses.c548 ses_set_encstat(ses_softc_t *ssc, uchar_t encstat, int slpflag) in ses_set_encstat() argument
553 s.comstatus = encstat & 0xf; in ses_set_encstat()
558 ssc->ses_encstat = encstat & 0xf; /* note no SVALID set */ in ses_set_encstat()
574 ssc->ses_objmap[i].encstat[0] = s.comstatus; in ses_get_objstat()
575 ssc->ses_objmap[i].encstat[1] = s.comstat[0]; in ses_get_objstat()
576 ssc->ses_objmap[i].encstat[2] = s.comstat[1]; in ses_get_objstat()
577 ssc->ses_objmap[i].encstat[3] = s.comstat[2]; in ses_get_objstat()
581 obp->cstat[0] = ssc->ses_objmap[i].encstat[0]; in ses_get_objstat()
582 obp->cstat[1] = ssc->ses_objmap[i].encstat[1]; in ses_get_objstat()
583 obp->cstat[2] = ssc->ses_objmap[i].encstat[2]; in ses_get_objstat()
[all …]
/titanic_50/usr/src/uts/common/sys/scsi/targets/
H A Dses.h116 uchar_t encstat[4]; /* state && stats */ member
125 _NOTE(DATA_READABLE_WITHOUT_LOCK(encobj::encstat))