Searched refs:toc_command (Results 1 – 1 of 1) sorted by relevance
261 struct packet_command *toc_command; in gdrom_readtoc_cmd() local264 toc_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); in gdrom_readtoc_cmd()265 if (!toc_command) in gdrom_readtoc_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()272 toc_command->buflen = tocsize; in gdrom_readtoc_cmd()278 gdrom_packetcommand(gd.cd_info, toc_command); in gdrom_readtoc_cmd()292 kfree(toc_command); in gdrom_readtoc_cmd()