Home
last modified time | relevance | path

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

/netbsd-src/sbin/scsictl/
H A Dscsictl.c305 scsi_command(fd, &cmd, sizeof(cmd), data, dlen, 30000, SCCMD_READ); in device_defects()
581 scsi_command(fd, &cmd, sizeof(cmd), &dfl, sizeof(dfl), in device_format()
754 scsi_command(fd, &cmd, sizeof(cmd), &inqbuf, sizeof(inqbuf), in device_release()
774 scsi_command(fd, &cmd, sizeof(cmd), &evpdbuf, sizeof(evpdbuf),
788 scsi_command(fd, &cmd, sizeof(cmd), &evpdbuf, sizeof(evpdbuf), in device_reserve()
806 scsi_command(fd, &cmd, sizeof(cmd), &evpdbuf, sizeof(evpdbuf), in device_reset()
876 scsi_command(fd, &cmd, sizeof(cmd), data, dlen, 30000, SCCMD_WRITE); in device_setcache()
903 scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 10000, 0); in device_setcache()
929 scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 10000, 0);
1085 scsi_command(f in device_getrealloc()
[all...]
H A Dscsi_subr.c62 scsi_command(int fd, const void *cmd, size_t cmdlen, in scsi_command() function
110 scsi_command(fd, &cmd, sizeof(cmd), buf, len, 10000, SCCMD_READ); in scsi_mode_sense()
124 scsi_command(fd, &cmd, sizeof(cmd), buf, len, 10000, SCCMD_WRITE); in scsi_mode_select()
137 scsi_command(fd, &cmd, sizeof(cmd), buf, len, 10000, SCCMD_READ); in scsi_request_sense()
H A Dextern.h41 void scsi_command(int, const void *, size_t, void *, size_t, int, int);
/netbsd-src/sys/arch/bebox/stand/boot/
H A Dsd.c110 if (scsi_command(sd, (void *)&cmd.cmd, sizeof(cmd.cmd), in sd_read_capacity()
131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16), in sd_read_capacity()
225 error = scsi_command(sd, in sd_get_capacity()
632 if ((error = scsi_command(sd, (void *)&cmd, sizeof(cmd), NULL, 0)) != 0) in sdopen()
729 error = scsi_command(sd, cmdp, cmdlen, buf, lp->d_secsize); in sdstrategy()
H A Dsdvar.h155 int scsi_command(struct sd_softc *, void *, int, void *, int);
H A Dsiop.c1122 return scsi_command(sd, (void *)&cmd, sizeof(cmd), (void *)data, len); in scsi_mode_sense()
1126 scsi_command(struct sd_softc *sd, void *cmd, int cmdlen, void *data, in scsi_command() function
/netbsd-src/sys/arch/prep/stand/boot/
H A Dsd.c110 if (scsi_command(sd, (void *)&cmd.cmd, sizeof(cmd.cmd), in sd_read_capacity()
131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16), in sd_read_capacity()
225 error = scsi_command(sd, in sd_get_capacity()
632 if ((error = scsi_command(sd, (void *)&cmd, sizeof(cmd), NULL, 0)) != 0) in sdopen()
729 error = scsi_command(sd, cmdp, cmdlen, buf, lp->d_secsize); in sdstrategy()
H A Dsdvar.h155 int scsi_command(struct sd_softc *, void *, int, void *, int);
H A Dsiop.c1084 return scsi_command(sd, (void *)&cmd, sizeof(cmd), (void *)data, len); in scsi_mode_sense()
1088 scsi_command(struct sd_softc *sd, void *cmd, int cmdlen, void *data, in scsi_command() function