Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c486 unsigned char senddiag_cdb[SEND_DIAGNOSTIC_CMDLEN] = in sg_ll_send_diag() local
491 senddiag_cdb[1] = (unsigned char)(st_code << 5); in sg_ll_send_diag()
493 senddiag_cdb[1] |= 0x10; in sg_ll_send_diag()
495 senddiag_cdb[1] |= 0x4; in sg_ll_send_diag()
497 senddiag_cdb[1] |= 0x2; in sg_ll_send_diag()
499 senddiag_cdb[1] |= 0x1; in sg_ll_send_diag()
500 sg_put_unaligned_be16((uint16_t)param_len, senddiag_cdb + 3); in sg_ll_send_diag()
509 pr2ws("%02x ", senddiag_cdb[k]); in sg_ll_send_diag()
522 set_scsi_pt_cdb(ptvp, senddiag_cdb, sizeof(senddiag_cdb)); in sg_ll_send_diag()