Searched refs:cmd16 (Results 1 – 5 of 5) sorted by relevance
| /netbsd-src/sys/arch/bebox/stand/boot/ |
| H A D | sd.c | 93 struct scsipi_read_capacity_16 cmd16; in sd_read_capacity() member 126 cmd.cmd16.opcode = READ_CAPACITY_16; in sd_read_capacity() 127 cmd.cmd16.byte2 = SRC16_SERVICE_ACTION; in sd_read_capacity() 128 _lto4b(sizeof(data.data16), cmd.cmd16.len); in sd_read_capacity() 131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16), in sd_read_capacity() 672 struct scsipi_rw_16 cmd16; in sdstrategy() local 721 memset(&cmd16, 0, sizeof(cmd16)); in sdstrategy() 722 cmd16.opcode = READ_16; in sdstrategy() 723 _lto8b(blkno, cmd16.addr); in sdstrategy() 724 _lto4b(1, cmd16.length); in sdstrategy() [all …]
|
| /netbsd-src/sys/arch/prep/stand/boot/ |
| H A D | sd.c | 93 struct scsipi_read_capacity_16 cmd16; in sd_read_capacity() member 126 cmd.cmd16.opcode = READ_CAPACITY_16; in sd_read_capacity() 127 cmd.cmd16.byte2 = SRC16_SERVICE_ACTION; in sd_read_capacity() 128 _lto4b(sizeof(data.data16), cmd.cmd16.len); in sd_read_capacity() 131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16), in sd_read_capacity() 672 struct scsipi_rw_16 cmd16; in sdstrategy() local 721 memset(&cmd16, 0, sizeof(cmd16)); in sdstrategy() 722 cmd16.opcode = READ_16; in sdstrategy() 723 _lto8b(blkno, cmd16.addr); in sdstrategy() 724 _lto4b(1, cmd16.length); in sdstrategy() [all …]
|
| /netbsd-src/sbin/atactl/ |
| H A D | atactl.c | 642 struct scsi_ata_pass_through_16 cmd16; in satl_command() member 666 c.cmd16.opcode = SCSI_ATA_PASS_THROUGH_16; in satl_command() 667 c.cmd16.byte2 = b2; in satl_command() 668 c.cmd16.byte3 = b3; in satl_command() 669 c.cmd16.features[0] = 0; in satl_command() 670 c.cmd16.features[1] = req->features; in satl_command() 671 c.cmd16.sector_count[0] = 0; in satl_command() 672 c.cmd16.sector_count[1] = req->sec_count; in satl_command() 673 c.cmd16.lba[0] = 0; in satl_command() 674 c.cmd16.lba[1] = req->sec_num; in satl_command() [all …]
|
| /netbsd-src/sys/dev/scsipi/ |
| H A D | sd.c | 657 struct scsipi_rw_16 cmd16; in sd_diskstart() local 750 memset(&cmd16, 0, sizeof(cmd16)); in sd_diskstart() 751 cmd16.opcode = (bp->b_flags & B_READ) ? in sd_diskstart() 753 _lto8b(bp->b_rawblkno, cmd16.addr); in sd_diskstart() 754 _lto4b(nblks, cmd16.length); in sd_diskstart() 755 cmdlen = sizeof(cmd16); in sd_diskstart() 756 cmdp = (struct scsipi_generic *)&cmd16; in sd_diskstart() 1343 struct scsipi_read_capacity_16 cmd16; in sd_read_capacity() member 1387 cmd.cmd16 in sd_read_capacity() [all...] |
| /netbsd-src/sys/dev/i2c/ |
| H A D | sgp40.c | 367 uint16_t cmd16; in sgp40_cmd() local 369 cmd16 = cmd[0] << 8; in sgp40_cmd() 370 cmd16 = cmd16 | cmd[1]; in sgp40_cmd() 381 if (cmd16 == SGP40_HEATER_OFF) in sgp40_cmd() 387 cmddelay = sgp40_cmddelay(cmd16); in sgp40_cmd()
|