Lines Matching refs:cnc
3637 struct ciss_notify_cdb *cnc; in ciss_notify_event() local
3678 cc->cdb.cdb_length = sizeof(*cnc); in ciss_notify_event()
3684 cnc = (struct ciss_notify_cdb *)&(cc->cdb.cdb[0]); in ciss_notify_event()
3686 cnc->opcode = CISS_OPCODE_READ; in ciss_notify_event()
3687 cnc->command = CISS_COMMAND_NOTIFY_ON_EVENT; in ciss_notify_event()
3688 cnc->timeout = 0; /* no timeout, we hope */ in ciss_notify_event()
3689 cnc->synchronous = 0; in ciss_notify_event()
3690 cnc->ordered = 0; in ciss_notify_event()
3691 cnc->seek_to_oldest = 0; in ciss_notify_event()
3693 cnc->new_only = 1; in ciss_notify_event()
3695 cnc->new_only = 0; in ciss_notify_event()
3696 cnc->length = htonl(CISS_NOTIFY_DATA_SIZE); in ciss_notify_event()
3800 struct ciss_notify_cdb *cnc; in ciss_notify_abort() local
3829 cc->cdb.cdb_length = sizeof(*cnc); in ciss_notify_abort()
3835 cnc = (struct ciss_notify_cdb *)&(cc->cdb.cdb[0]); in ciss_notify_abort()
3836 bzero(cnc, sizeof(*cnc)); in ciss_notify_abort()
3837 cnc->opcode = CISS_OPCODE_WRITE; in ciss_notify_abort()
3838 cnc->command = CISS_COMMAND_ABORT_NOTIFY; in ciss_notify_abort()
3839 cnc->length = htonl(CISS_NOTIFY_DATA_SIZE); in ciss_notify_abort()