Searched refs:read_command (Results 1 – 3 of 3) sorted by relevance
588 struct packet_command *read_command; in gdrom_readdisk_dma() local595 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 …]
34 int read_command; /* ccw command to use for reads. */ member260 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()
3875 static const int read_command = 0x6; in read_eeprom() local3876 unsigned int bitstream = (read_command << 8) | address; in read_eeprom()