Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/cdrom/
Dgdrom.c588 struct packet_command *read_command; in gdrom_readdisk_dma() local
595 read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); in gdrom_readdisk_dma()
596 if (!read_command) in gdrom_readdisk_dma()
598 read_command->cmd[0] = 0x30; in gdrom_readdisk_dma()
599 read_command->cmd[1] = 0x20; in gdrom_readdisk_dma()
610 read_command->cmd[2] = (block >> 16) & 0xFF; in gdrom_readdisk_dma()
611 read_command->cmd[3] = (block >> 8) & 0xFF; in gdrom_readdisk_dma()
612 read_command->cmd[4] = block & 0xFF; in gdrom_readdisk_dma()
613 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; in gdrom_readdisk_dma()
614 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; in gdrom_readdisk_dma()
[all …]
/linux-3.4.99/drivers/s390/char/
Dfs3270.c34 int read_command; /* ccw command to use for reads. */ member
260 if (fp->read_command == 0 && fp->write_command != 0) in fs3270_read()
261 fp->read_command = 6; in fs3270_read()
262 raw3270_request_set_cmd(rq, fp->read_command ? : 2); in fs3270_read()
344 fp->read_command = arg; in fs3270_ioctl()
350 rc = put_user(fp->read_command, argp); in fs3270_ioctl()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dcb_pcidas64.c3875 static const int read_command = 0x6; in read_eeprom() local
3876 unsigned int bitstream = (read_command << 8) | address; in read_eeprom()