Searched refs:cdb_len (Results 1 - 25 of 80) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/sdparm-1.02/include/
H A Dsg_pt.h75 const unsigned char * cdb, int cdb_len);
H A Dsg_cmds_extra.h54 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
55 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
56 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
58 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
59 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
71 extern int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/sdparm-1.02/include/
H A Dsg_pt.h75 const unsigned char * cdb, int cdb_len);
H A Dsg_cmds_extra.h54 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
55 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
56 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
58 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
59 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
71 extern int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/sdparm-1.02/include/
H A Dsg_pt.h75 const unsigned char * cdb, int cdb_len);
H A Dsg_cmds_extra.h54 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
55 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
56 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
58 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
59 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
71 extern int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/sdparm-1.02/lib/
H A Dsg_pt_freebsd.c90 int cdb_len; member in struct:sg_pt_freebsd_scsi
216 int cdb_len)
223 ptp->cdb_len = cdb_len;
358 /* cdblen */ ptp->cdb_len,
360 memcpy(ccb->csio.cdb_io.cdb_bytes, ptp->cdb, ptp->cdb_len);
215 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_osf1.c86 int cdb_len; member in struct:sg_pt_osf1_scsi
214 int cdb_len)
221 ptp->cdb_len = cdb_len;
378 ccb.cam_cdb_len = ptp->cdb_len;
379 memcpy(ccb.cam_cdb_io.cam_cdb_bytes, ptp->cdb, ptp->cdb_len);
213 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_solaris.c135 int cdb_len)
142 ptp->uscsi.uscsi_cdblen = cdb_len;
134 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_cmds_extra.c1543 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
1544 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
1545 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
1547 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
1548 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
1560 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, argument
1580 cnamep = (12 == cdb_len) ?
1582 if ((NULL == cdbp) || ((12 != cdb_len) && (16 != cdb_len))) {
1587 fprintf(sg_warnings_strm, "cdb_len mus
[all...]
H A Dsg_pt_win32.c251 int cdb_len)
257 if (cdb_len > (int)sizeof(psp->swb.spt.Cdb)) {
261 memcpy(psp->swb.spt.Cdb, cdb, cdb_len);
262 psp->swb.spt.CdbLength = cdb_len;
250 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/sdparm-1.02/lib/
H A Dsg_pt_freebsd.c90 int cdb_len; member in struct:sg_pt_freebsd_scsi
216 int cdb_len)
223 ptp->cdb_len = cdb_len;
358 /* cdblen */ ptp->cdb_len,
360 memcpy(ccb->csio.cdb_io.cdb_bytes, ptp->cdb, ptp->cdb_len);
215 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_osf1.c86 int cdb_len; member in struct:sg_pt_osf1_scsi
214 int cdb_len)
221 ptp->cdb_len = cdb_len;
378 ccb.cam_cdb_len = ptp->cdb_len;
379 memcpy(ccb.cam_cdb_io.cam_cdb_bytes, ptp->cdb, ptp->cdb_len);
213 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_solaris.c135 int cdb_len)
142 ptp->uscsi.uscsi_cdblen = cdb_len;
134 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_cmds_extra.c1543 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
1544 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
1545 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
1547 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
1548 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
1560 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, argument
1580 cnamep = (12 == cdb_len) ?
1582 if ((NULL == cdbp) || ((12 != cdb_len) && (16 != cdb_len))) {
1587 fprintf(sg_warnings_strm, "cdb_len mus
[all...]
H A Dsg_pt_win32.c251 int cdb_len)
257 if (cdb_len > (int)sizeof(psp->swb.spt.Cdb)) {
261 memcpy(psp->swb.spt.Cdb, cdb, cdb_len);
262 psp->swb.spt.CdbLength = cdb_len;
250 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/sdparm-1.02/lib/
H A Dsg_pt_freebsd.c90 int cdb_len; member in struct:sg_pt_freebsd_scsi
216 int cdb_len)
223 ptp->cdb_len = cdb_len;
358 /* cdblen */ ptp->cdb_len,
360 memcpy(ccb->csio.cdb_io.cdb_bytes, ptp->cdb, ptp->cdb_len);
215 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_osf1.c86 int cdb_len; member in struct:sg_pt_osf1_scsi
214 int cdb_len)
221 ptp->cdb_len = cdb_len;
378 ccb.cam_cdb_len = ptp->cdb_len;
379 memcpy(ccb.cam_cdb_io.cam_cdb_bytes, ptp->cdb, ptp->cdb_len);
213 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_pt_solaris.c135 int cdb_len)
142 ptp->uscsi.uscsi_cdblen = cdb_len;
134 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
H A Dsg_cmds_extra.c1543 /* Invokes a ATA PASS-THROUGH (12 or 16) SCSI command (SAT). If cdb_len
1544 * is 12 then a ATA PASS-THROUGH (12) command is called. If cdb_len is 16
1545 * then a ATA PASS-THROUGH (16) command is called. If cdb_len is any other
1547 * the first byte (i.e. offset 0) is set to 0xa1 if cdb_len is 12; or is
1548 * set to 0x85 if cdb_len is 16. The last byte (offset 11 or offset 15) is
1560 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, argument
1580 cnamep = (12 == cdb_len) ?
1582 if ((NULL == cdbp) || ((12 != cdb_len) && (16 != cdb_len))) {
1587 fprintf(sg_warnings_strm, "cdb_len mus
[all...]
H A Dsg_pt_win32.c251 int cdb_len)
257 if (cdb_len > (int)sizeof(psp->swb.spt.Cdb)) {
261 memcpy(psp->swb.spt.Cdb, cdb, cdb_len);
262 psp->swb.spt.CdbLength = cdb_len;
250 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, int cdb_len) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/
H A Dconstants.c206 /* attempt to guess cdb length if cdb_len==0 . No trailing linefeed. */
207 static void print_opcode_name(unsigned char * cdbp, int cdb_len) argument
218 "len=%d ext_len=%d", len, cdb_len);
228 if ((cdb_len > 0) && (len != cdb_len))
229 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len);
295 static void print_opcode_name(unsigned char * cdbp, int cdb_len) argument
305 "ext_len=%d", cdb0, len, cdb_len);
310 if (len != cdb_len)
311 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/
H A Dconstants.c206 /* attempt to guess cdb length if cdb_len==0 . No trailing linefeed. */
207 static void print_opcode_name(unsigned char * cdbp, int cdb_len) argument
218 "len=%d ext_len=%d", len, cdb_len);
228 if ((cdb_len > 0) && (len != cdb_len))
229 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len);
295 static void print_opcode_name(unsigned char * cdbp, int cdb_len) argument
305 "ext_len=%d", cdb0, len, cdb_len);
310 if (len != cdb_len)
311 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/fnic/
H A Dfnic_res.h86 u8 cdb_len,
112 memcpy(desc->u.icmnd_16.scsi_cdb, scsi_cdb, cdb_len); /* SCSI CDB */
79 fnic_queue_wq_copy_desc_icmnd_16(struct vnic_wq_copy *wq, u32 req_id, u32 lunmap_id, u8 spl_flags, u32 sgl_cnt, u32 sense_len, u64 sgl_addr, u64 sns_addr, u8 crn, u8 pri_ta, u8 flags, u8 *scsi_cdb, u8 cdb_len, u32 data_len, u8 *lun, u32 d_id, u16 mss, u32 ratov, u32 edtov) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/fnic/
H A Dfnic_res.h86 u8 cdb_len,
112 memcpy(desc->u.icmnd_16.scsi_cdb, scsi_cdb, cdb_len); /* SCSI CDB */
79 fnic_queue_wq_copy_desc_icmnd_16(struct vnic_wq_copy *wq, u32 req_id, u32 lunmap_id, u8 spl_flags, u32 sgl_cnt, u32 sense_len, u64 sgl_addr, u64 sns_addr, u8 crn, u8 pri_ta, u8 flags, u8 *scsi_cdb, u8 cdb_len, u32 data_len, u8 *lun, u32 d_id, u16 mss, u32 ratov, u32 edtov) argument

Completed in 265 milliseconds

1234