Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/cdrom/
Dgdrom.c574 struct packet_command *read_command; in gdrom_readdisk_dma() local
577 read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); in gdrom_readdisk_dma()
578 if (!read_command) in gdrom_readdisk_dma()
581 read_command->cmd[0] = 0x30; in gdrom_readdisk_dma()
582 read_command->cmd[1] = 0x20; in gdrom_readdisk_dma()
590 read_command->cmd[2] = (block >> 16) & 0xFF; in gdrom_readdisk_dma()
591 read_command->cmd[3] = (block >> 8) & 0xFF; in gdrom_readdisk_dma()
592 read_command->cmd[4] = block & 0xFF; in gdrom_readdisk_dma()
593 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; in gdrom_readdisk_dma()
594 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; in gdrom_readdisk_dma()
[all …]
/Linux-v6.6/drivers/s390/char/
Dfs3270.c36 int read_command; /* ccw command to use for reads. */ member
256 if (fp->read_command == 0 && fp->write_command != 0) in fs3270_read()
257 fp->read_command = 6; in fs3270_read()
258 raw3270_request_set_cmd(rq, fp->read_command ? : 2); in fs3270_read()
341 fp->read_command = arg; in fs3270_ioctl()
347 rc = put_user(fp->read_command, argp); in fs3270_ioctl()
/Linux-v6.6/drivers/fpga/
Dmicrochip-spi.c233 const u8 read_command[] = { MPF_SPI_READ_DATA }; in mpf_spi_write_then_read() local
244 return spi_write_then_read(priv->spi, read_command, sizeof(read_command), in mpf_spi_write_then_read()
/Linux-v6.6/drivers/hwmon/
Dsht3x.c124 const char read_command[SHT3X_CMD_LENGTH]; member
328 commands->read_command, buffer, in limits_update()
/Linux-v6.6/drivers/comedi/drivers/
Dcb_pcidas64.c3702 static const int read_command = 0x6; in read_eeprom() local
3703 unsigned int bitstream = (read_command << 8) | address; in read_eeprom()