Searched refs:atapi_cmnd (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dps3rom.c99 struct lv1_atapi_cmnd_block atapi_cmnd; ps3rom_atapi_request() local
107 memset(&atapi_cmnd, 0, sizeof(struct lv1_atapi_cmnd_block)); ps3rom_atapi_request()
108 memcpy(&atapi_cmnd.pkt, cmd->cmnd, 12); ps3rom_atapi_request()
109 atapi_cmnd.pktlen = 12; ps3rom_atapi_request()
110 atapi_cmnd.block_size = 1; /* transfer size is block_size * blocks */ ps3rom_atapi_request()
111 atapi_cmnd.blocks = atapi_cmnd.arglen = scsi_bufflen(cmd); ps3rom_atapi_request()
112 atapi_cmnd.buffer = dev->bounce_lpar; ps3rom_atapi_request()
117 atapi_cmnd.proto = DMA_PROTO; ps3rom_atapi_request()
119 atapi_cmnd.proto = PIO_DATA_IN_PROTO; ps3rom_atapi_request()
120 atapi_cmnd.in_out = DIR_READ; ps3rom_atapi_request()
125 atapi_cmnd.proto = DMA_PROTO; ps3rom_atapi_request()
127 atapi_cmnd.proto = PIO_DATA_OUT_PROTO; ps3rom_atapi_request()
128 atapi_cmnd.in_out = DIR_WRITE; ps3rom_atapi_request()
133 atapi_cmnd.proto = NON_DATA_PROTO; ps3rom_atapi_request()
137 lpar = ps3_mm_phys_to_lpar(__pa(&atapi_cmnd)); ps3rom_atapi_request()
140 lpar, sizeof(atapi_cmnd), ps3rom_atapi_request()
141 atapi_cmnd.buffer, ps3rom_atapi_request()
142 atapi_cmnd.arglen, &dev->tag); ps3rom_atapi_request()

Completed in 49 milliseconds