Lines Matching refs:cmd
176 short *cmd = spi_string; in gdrom_spicommand() local
201 outsw(GDROM_DATA_REG, cmd, 6); in gdrom_spicommand()
233 spin_command->cmd[0] = 0x70; in gdrom_preparedisk_cmd()
234 spin_command->cmd[2] = 0x1f; in gdrom_preparedisk_cmd()
268 toc_command->cmd[0] = 0x14; in gdrom_readtoc_cmd()
269 toc_command->cmd[1] = session; in gdrom_readtoc_cmd()
270 toc_command->cmd[3] = tocsize >> 8; in gdrom_readtoc_cmd()
271 toc_command->cmd[4] = tocsize & 0xff; in gdrom_readtoc_cmd()
401 gdrom_spicommand(&command->cmd, command->buflen); in gdrom_packetcommand()
421 sense_command->cmd[0] = 0x13; in gdrom_getsense()
422 sense_command->cmd[4] = 10; in gdrom_getsense()
458 static int gdrom_audio_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in gdrom_audio_ioctl() argument
503 unsigned cmd, unsigned long arg) in gdrom_bdops_ioctl() argument
508 ret = cdrom_ioctl(gd.cd_info, bdev, cmd, arg); in gdrom_bdops_ioctl()
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()
595 read_command->cmd[10] = block_cnt & 0xFF; in gdrom_readdisk_dma()
615 outsw(GDROM_DATA_REG, &read_command->cmd, 6); in gdrom_readdisk_dma()