Searched refs:read_command (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/cdrom/
H A Dgdrom.c587 struct packet_command *read_command; gdrom_readdisk_dma() local
594 read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); gdrom_readdisk_dma()
595 if (!read_command) gdrom_readdisk_dma()
597 read_command->cmd[0] = 0x30; gdrom_readdisk_dma()
598 read_command->cmd[1] = 0x20; gdrom_readdisk_dma()
609 read_command->cmd[2] = (block >> 16) & 0xFF; gdrom_readdisk_dma()
610 read_command->cmd[3] = (block >> 8) & 0xFF; gdrom_readdisk_dma()
611 read_command->cmd[4] = block & 0xFF; gdrom_readdisk_dma()
612 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; gdrom_readdisk_dma()
613 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; gdrom_readdisk_dma()
614 read_command->cmd[10] = block_cnt & 0xFF; gdrom_readdisk_dma()
634 outsw(GDROM_DATA_REG, &read_command->cmd, 6); gdrom_readdisk_dma()
654 kfree(read_command); gdrom_readdisk_dma()
/linux-4.4.14/drivers/s390/char/
H A Dfs3270.c34 int read_command; /* ccw command to use for reads. */ member in struct:fs3270
260 if (fp->read_command == 0 && fp->write_command != 0) fs3270_read()
261 fp->read_command = 6; fs3270_read()
262 raw3270_request_set_cmd(rq, fp->read_command ? : 2); fs3270_read()
344 fp->read_command = arg; fs3270_ioctl()
350 rc = put_user(fp->read_command, argp); fs3270_ioctl()
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dcb_pcidas64.c3720 static const int read_command = 0x6; read_eeprom() local
3721 unsigned int bitstream = (read_command << 8) | address; read_eeprom()

Completed in 424 milliseconds