TW_SECTOR_SIZE
TW_SECTOR_SIZE * TW_Q_LENGTH,
memset(param, 0, TW_SECTOR_SIZE);
command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE);
if (twa_allocate_memory(tw_dev, TW_SECTOR_SIZE, 1)) {
TW_SECTOR_SIZE);
scsi_sg_copy_from_buffer(cmd, buf, TW_SECTOR_SIZE);
sglist[0].length = cpu_to_le32(TW_SECTOR_SIZE);
sglist[0].length = cpu_to_le32(TW_SECTOR_SIZE);
command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE);
memset(param, 0, TW_SECTOR_SIZE);
if (twl_allocate_memory(tw_dev, TW_SECTOR_SIZE, 1)) {
sglist[0].length = TW_SECTOR_SIZE;
command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);
memset(param, 0, TW_SECTOR_SIZE);
sglist[0].length = TW_SECTOR_SIZE;
TW_SECTOR_SIZE*TW_Q_LENGTH,
memset(param, 0, TW_SECTOR_SIZE);
command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);