Lines Matching defs:cstat
138 ses_status_to_ctrl(type, &o.cstat[0]);
142 slot = (struct ses_ctrl_dev_slot *) &o.cstat[0];
289 if ((es.cstat[0] & 0xf) == SES_OBJSTAT_NOACCESS)
365 print_extra_status(int eletype, u_char *cstat, int style)
368 if (cstat[0] & 0x40) {
371 if (cstat[0] & 0x20) {
374 if (cstat[0] & 0x10) {
380 if (cstat[2] & 0x02) {
383 if (cstat[2] & 0x20) {
389 (((0x7 & cstat[1]) << 8) + cstat[2]) * 10);
392 if (cstat[2]) {
394 cstat[2] - TEMPERATURE_OFFSET);
401 be16dec(cstat + 2) / 100.0);
521 scode2ascii(e_status.cstat[0]), e_status.cstat[0],
522 e_status.cstat[1], e_status.cstat[2],
523 e_status.cstat[3]);
532 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)