Lines Matching defs:read_command
574 struct packet_command *read_command;
577 read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL);
578 if (!read_command)
581 read_command->cmd[0] = 0x30;
582 read_command->cmd[1] = 0x20;
590 read_command->cmd[2] = (block >> 16) & 0xFF;
591 read_command->cmd[3] = (block >> 8) & 0xFF;
592 read_command->cmd[4] = block & 0xFF;
593 read_command->cmd[8] = (block_cnt >> 16) & 0xFF;
594 read_command->cmd[9] = (block_cnt >> 8) & 0xFF;
595 read_command->cmd[10] = block_cnt & 0xFF;
615 outsw(GDROM_DATA_REG, &read_command->cmd, 6);
630 kfree(read_command);