Home
last modified time | relevance | path

Searched refs:command_packet (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/
D3w-xxxx.c543 TW_Command *command_packet; in tw_aen_read_queue() local
561 command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; in tw_aen_read_queue()
562 memset(command_packet, 0, sizeof(TW_Sector)); in tw_aen_read_queue()
563 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_GET_PARAM); in tw_aen_read_queue()
564 command_packet->size = 4; in tw_aen_read_queue()
565 command_packet->request_id = request_id; in tw_aen_read_queue()
566 command_packet->status = 0; in tw_aen_read_queue()
567 command_packet->flags = 0; in tw_aen_read_queue()
568 command_packet->byte6.parameter_count = 1; in tw_aen_read_queue()
589 command_packet->byte8.param.sgl[0].address = param_value; in tw_aen_read_queue()
[all …]
D3w-sas.c295 TW_Command_Apache *command_packet; in twl_scsiop_execute_scsi() local
313 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()
314 command_packet->status = 0; in twl_scsiop_execute_scsi()
315 command_packet->opcode__reserved = TW_OPRES_IN(0, TW_OP_EXECUTE_SCSI); in twl_scsiop_execute_scsi()
319 memcpy(command_packet->cdb, srb->cmnd, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
321 memcpy(command_packet->cdb, cdb, TW_MAX_CDB_LEN); in twl_scsiop_execute_scsi()
324 command_packet->unit = srb->device->id; in twl_scsiop_execute_scsi()
325 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()
328 command_packet->request_id__lunl = in twl_scsiop_execute_scsi()
330 command_packet->unit = 0; in twl_scsiop_execute_scsi()
[all …]
D3w-9xxx.c229 TW_Command *command_packet; in twa_aen_complete() local
238 command_packet = &full_command_packet->command.oldcommand; in twa_aen_complete()
241 if (TW_OP_OUT(command_packet->opcode__sgloffset) == TW_OP_SET_PARAM) { in twa_aen_complete()
478 TW_Command *command_packet; in twa_aen_sync_time() local
485 command_packet = &full_command_packet->command.oldcommand; in twa_aen_sync_time()
486 command_packet->opcode__sgloffset = TW_OPSGL_IN(2, TW_OP_SET_PARAM); in twa_aen_sync_time()
487 command_packet->request_id = request_id; in twa_aen_sync_time()
488command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[requ… in twa_aen_sync_time()
489 command_packet->byte8_offset.param.sgl[0].length = cpu_to_le32(TW_SECTOR_SIZE); in twa_aen_sync_time()
490 command_packet->size = TW_COMMAND_SIZE; in twa_aen_sync_time()
[all …]