Lines Matching refs:atapi_cmnd
87 struct lv1_atapi_cmnd_block atapi_cmnd; in ps3rom_atapi_request() local
95 memset(&atapi_cmnd, 0, sizeof(struct lv1_atapi_cmnd_block)); in ps3rom_atapi_request()
96 memcpy(&atapi_cmnd.pkt, cmd->cmnd, 12); in ps3rom_atapi_request()
97 atapi_cmnd.pktlen = 12; in ps3rom_atapi_request()
98 atapi_cmnd.block_size = 1; /* transfer size is block_size * blocks */ in ps3rom_atapi_request()
99 atapi_cmnd.blocks = atapi_cmnd.arglen = scsi_bufflen(cmd); in ps3rom_atapi_request()
100 atapi_cmnd.buffer = dev->bounce_lpar; in ps3rom_atapi_request()
105 atapi_cmnd.proto = DMA_PROTO; in ps3rom_atapi_request()
107 atapi_cmnd.proto = PIO_DATA_IN_PROTO; in ps3rom_atapi_request()
108 atapi_cmnd.in_out = DIR_READ; in ps3rom_atapi_request()
113 atapi_cmnd.proto = DMA_PROTO; in ps3rom_atapi_request()
115 atapi_cmnd.proto = PIO_DATA_OUT_PROTO; in ps3rom_atapi_request()
116 atapi_cmnd.in_out = DIR_WRITE; in ps3rom_atapi_request()
121 atapi_cmnd.proto = NON_DATA_PROTO; in ps3rom_atapi_request()
125 lpar = ps3_mm_phys_to_lpar(__pa(&atapi_cmnd)); in ps3rom_atapi_request()
128 lpar, sizeof(atapi_cmnd), in ps3rom_atapi_request()
129 atapi_cmnd.buffer, in ps3rom_atapi_request()
130 atapi_cmnd.arglen, &dev->tag); in ps3rom_atapi_request()