Searched refs:encstat (Results 1 - 3 of 3) sorted by path
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_enc_internal.h | 46 uint8_t encstat[4]; /* state && stats */ member in struct:enc_element
|
H A D | scsi_enc_safte.c | 55 static int safte_set_enc_status(enc_softc_t *enc, uint8_t encstat, int slpflag); 379 cache->elm_map[oid].encstat[1] = 0; /* resvd */ 380 cache->elm_map[oid].encstat[2] = 0; /* resvd */ 382 cache->elm_map[oid].encstat[3] |= 0x40; 384 cache->elm_map[oid].encstat[3] &= ~0x40; 388 cache->elm_map[oid].encstat[0] = SES_OBJSTAT_OK; 389 if ((cache->elm_map[oid].encstat[3] & 0x37) == 0) 390 cache->elm_map[oid].encstat[3] |= 0x27; 394 cache->elm_map[oid].encstat[0] = 399 cache->elm_map[oid].encstat[ 1032 safte_set_enc_status(enc_softc_t *enc, uint8_t encstat, int slpflag) argument [all...] |
H A D | scsi_enc_ses.c | 1619 memcpy(&element->encstat, cur_stat, sizeof(element->encstat)); 2757 /* Automatically updated, caller checks enc_cache->encstat itself */ 2762 ses_set_enc_status(enc_softc_t *enc, uint8_t encstat, int slpflag) argument 2769 req.elm_stat.comstatus = encstat & 0xf; 2773 cam_periph_sleep(enc->periph, &req, PUSER, "encstat", 0); 2783 memcpy(elms->cstat, &enc->enc_cache.elm_map[i].encstat, 4); 2803 cam_periph_sleep(enc->periph, &req, PUSER, "encstat", 0);
|
Completed in 216 milliseconds