Lines Matching refs:cstat
139 ses_status_to_ctrl(type, &o.cstat[0]);
143 slot = (struct ses_ctrl_dev_slot *) &o.cstat[0];
290 if ((es.cstat[0] & 0xf) == SES_OBJSTAT_NOACCESS)
366 print_extra_status(int eletype, u_char *cstat, int style)
369 if (cstat[0] & 0x40) {
372 if (cstat[0] & 0x20) {
375 if (cstat[0] & 0x10) {
381 if (cstat[2] & 0x02) {
384 if (cstat[2] & 0x20) {
390 (((0x7 & cstat[1]) << 8) + cstat[2]) * 10);
393 if (cstat[2]) {
395 cstat[2] - TEMPERATURE_OFFSET);
402 be16dec(cstat + 2) / 100.0);
522 scode2ascii(e_status.cstat[0]), e_status.cstat[0],
523 e_status.cstat[1], e_status.cstat[2],
524 e_status.cstat[3]);
533 print_extra_status(e_ptr[j].elm_type, e_status.cstat, PRINT_STYLE_DASHED);
660 if ((e_status.cstat[0] & 0xf) == SES_OBJSTAT_OK && size >= 0) {
662 size, scode2ascii(e_status.cstat[0]));
664 xo_emit("{:status/%s}", scode2ascii(e_status.cstat[0]));
666 print_extra_status(ELMTYP_ARRAY_DEV, e_status.cstat, PRINT_STYLE_CSV);
683 if (e_status.cstat[2] == 0) {
691 e_desc.elm_desc_str, e_status.cstat[2] - TEMPERATURE_OFFSET);
704 if (e_status.cstat[2] == 0) {
712 e_desc.elm_desc_str, be16dec(e_status.cstat + 2) / 100.0);
818 if (e_status.cstat[0] == SES_OBJSTAT_UNSUPPORTED)