HomeSort by: relevance | last modified time | path
    Searched defs:cdb (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/sys/arch/luna68k/stand/boot/
ufs_disksubr.c 100 static struct scsi_generic_cdb cdb = { local in function:readdisklabel
112 if (scsi_immed_command(ctlr, id, 0, &cdb, bp, DEV_BSIZE) != 0) {
scsi.c 199 struct scsi_generic_cdb *cdb = &scsi_cdb; local in function:scsi_read_raw
201 cdb->cdb[0] = CMD_READ_EXT;
203 cdb->cdb[2] = (blk & 0xff000000) >> 24;
204 cdb->cdb[3] = (blk & 0x00ff0000) >> 16;
205 cdb->cdb[4] = (blk & 0x0000ff00) >> 8;
206 cdb->cdb[5] = (blk & 0x000000ff)
228 struct scsi_generic_cdb *cdb = &scsi_cdb; local in function:scsi_write
    [all...]
sd.c 229 struct scsi_generic_cdb *cdb; local in function:sdstrategy
247 cdb = &cdb_read;
249 cdb = &cdb_write;
251 cdb->cdb[2] = (blk & 0xff000000) >> 24;
252 cdb->cdb[3] = (blk & 0x00ff0000) >> 16;
253 cdb->cdb[4] = (blk & 0x0000ff00) >> 8;
254 cdb->cdb[5] = (blk & 0x000000ff)
    [all...]
sc.c 359 scrun(int ctlr, int target, uint8_t *cdb, int cdblen, uint8_t *buf, int len,
380 hs->sc_cdb = cdb;
487 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local in function:scsi_test_unit_rdy
495 cdb.lun = lun;
497 if (scrun(ctlr, target, (void *)&cdb, 6, NULL, 0, &lock) == 0) {
523 static struct scsi_cdb6 cdb = { CMD_REQUEST_SENSE }; local in function:scsi_request_sense
533 /* ここではデーター転送数をcdbのAllocation Lengthに最低長である8バイト */
539 cdb.lun = lun;
540 cdb.len = len;
542 if (scrun(ctlr, target, (void *)&cdb, 6, buf, len, &lock) == 0)
604 static struct scsi_cdb6 cdb = { CMD_FORMAT_UNIT, 0, 0, 0, 0, 0 }; local in function:scsi_format_unit
    [all...]
scsireg.h 263 int len; /* cdb length (in bytes) */
264 uint8_t cdb[28]; /* cdb to use on next read/write */ member in struct:scsi_generic_cdb
  /src/share/terminfo/
Makefile 4 CLEANFILES= terminfo.cdb
5 realall: terminfo.cdb
6 FILES=terminfo.cdb terminfo
9 terminfo.cdb: terminfo ${TOOL_TIC}
  /src/sys/arch/sgimips/stand/common/
iris_scsictl.c 43 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local in function:scsi_test_unit_rdy
45 return wd33c93_go(sc, (uint8_t *)&cdb, sizeof(cdb), NULL, NULL);
55 static struct scsi_cdb10 cdb = { CMD_READ_CAPACITY }; local in function:scsi_read_capacity
57 return wd33c93_go(sc, (uint8_t *)&cdb, sizeof(cdb), buf, lenp);
67 struct scsi_cdb10 cdb; local in function:scsi_read
69 memset(&cdb, 0, sizeof(cdb));
70 cdb.cmd = CMD_READ_EXT
93 struct scsi_cdb10 cdb; local in function:scsi_write
    [all...]
  /src/tests/lib/libcurses/
Makefile 16 FILES= ${TERMINFO_DB}.cdb
22 CLEANFILES+= ${TERMINFO_DB}.cdb
24 realall: ${TERMINFO_DB}.cdb
30 ${TERMINFO_DB}.cdb: ${DPTOOL_TIC} ${TEST_TERMINFO}
  /src/lib/libc/net/
servent.h 39 struct cdbr *cdb; member in struct:servent_data
  /src/sys/arch/hp300/stand/common/
scsi.c 376 static struct scsi_cdb6 cdb = { CMD_TEST_UNIT_READY }; local in function:scsi_test_unit_rdy
378 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), NULL, 0,
386 static struct scsi_cdb6 cdb = { CMD_REQUEST_SENSE }; local in function:scsi_request_sense
388 cdb.len = len;
389 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), buf, len,
397 static struct scsi_cdb10 cdb = { CMD_READ_CAPACITY }; local in function:scsi_read_capacity
399 return scsiicmd(hs, slave, (uint8_t *)&cdb, sizeof(cdb), buf, len
408 static struct scsi_cdb6 cdb = { CMD_INQUIRY }; local in function:scsi_inquiry
421 struct scsi_cdb10 cdb; local in function:scsi_tt_read
440 struct scsi_cdb10 cdb; local in function:scsi_tt_write
    [all...]
  /src/usr.sbin/npf/npftest/
npftest.c 136 void *cdb; local in function:generate_test_cdb
155 if (cdbw_output(cdbw, fd, "npf-table-cdb", NULL) == -1) {
163 if ((cdb = mmap(NULL, sb.st_size, PROT_READ,
170 return cdb;
301 void *cdb; local in function:main
304 cdb = generate_test_cdb(&len);
305 ok = rumpns_npf_table_test(verbose, cdb, len);
308 munmap(cdb, len);
  /src/sys/dev/i2o/
i2odpt.h 71 u_int8_t cdb[16]; member in struct:i2o_dpt_scsi_scb_exec
  /src/sys/dev/pci/
vioscsireg.h 60 uint8_t cdb[32]; member in struct:virtio_scsi_req_hdr
pvscsi.h 168 uint8_t cdb[16]; member in struct:pvscsi_ring_req_desc
twareg.h 441 uint8_t cdb[16]; member in struct:twa_command_9k
  /src/sys/arch/next68k/stand/boot/
sd.c 117 struct scsipi_read_capacity_10 cdb; local in function:sdgetinfo
126 memset(&cdb, 0, sizeof(cdb));
127 cdb.opcode = READ_CAPACITY_10;
129 error = scsiicmd(ss->sc_unit, ss->sc_lun, (u_char *)&cdb, sizeof(cdb),
255 struct scsipi_rw_10 cdb; local in function:sdstrategy
281 memset(&cdb, 0, sizeof(cdb));
282 cdb.opcode = READ_10
    [all...]
  /src/sys/arch/amiga/dev/
scivar.h 127 int len; /* cdb length (in bytes) */
128 u_char cdb[28]; /* cdb to use on next read/write */ member in struct:scsi_fmt_cdb
sbicvar.h 216 int len; /* cdb length (in bytes) */
217 u_char cdb[28]; /* cdb to use on next read/write */ member in struct:scsi_fmt_cdb
  /src/sys/dev/ieee1394/
sbp.h 179 uint32_t cdb; member in struct:sbp_cmd_status
sbp.c 609 "sbp doesn't support cdb's larger than %d bytes\n",
1623 memcpy(sense->csi, &sbp_cmd_status->cdb, 4);
2225 void *cdb; local in function:sbp_action1
2295 cdb = xs->cmd;
2296 memcpy((void *)&ocb->orb[5], cdb, xs->cmdlen);
  /src/sys/arch/acorn32/podulebus/
sbicvar.h 206 int len; /* cdb length (in bytes) */
207 u_char cdb[28]; /* cdb to use on next read/write */ member in struct:scsi_fmt_cdb
  /src/sys/arch/newsmips/apbus/
spifireg.h 72 volatile uint32_t cdb[12]; /* RW: Command descriptor block */ member in struct:spifi_reg::__anondee9da060108
  /src/sys/dev/eisa/
ahbreg.h 165 uint8_t cdb[6]; member in struct:ahb_ecb_status
  /src/sys/dev/scsipi/
ses.c 503 ses_runcmd(struct ses_softc *ssc, char *cdb, int cdbl, char *dptr, int *dlenp)
523 memcpy(&sgen, cdb, cdbl);
936 static char cdb[6] = { local in function:ses_getconfig
950 err = ses_runcmd(ssc, cdb, 6, sdata, &amt);
1080 char cdb[6], *sdata; local in function:ses_getputstat
1106 cdb[0] = RECEIVE_DIAGNOSTIC;
1107 cdb[1] = 1;
1108 cdb[2] = SesStatusPage;
1109 cdb[3] = bufsiz >> 8;
1110 cdb[4] = bufsiz & 0xff
1583 static char cdb[10] = local in function:safte_init_enc
1803 static char cdb[10] = local in function:safte_getconfig
1846 char *sdata, cdb[10]; local in function:safte_rdstat
2316 static char cdb[10] = { WRITE_BUFFER, 1, 0, 0, 0, 0, 0, 0, 16, 0 }; local in function:wrbuf16
2349 char cdb[10], *sdata; local in function:wrslot_stat
2392 static char cdb[10] = local in function:perf_slotop
    [all...]
  /src/lib/libnpf/
npf.c 1184 void *cdb, *buf; local in function:_npf_table_build_const
1231 if (cdbw_output(cdbw, fd, "npf-table-cdb", NULL) == -1) {
1249 cdb = mmap(NULL, len, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0);
1250 if (cdb == MAP_FAILED) {
1255 munmap(cdb, len);

Completed in 99 milliseconds

1 2