Lines Matching refs:command_struct

77 	ips_io_cmd *command_struct;  in ips_io_request_callback()  local
92 command_struct = (ips_io_cmd *)command->command_buffer; in ips_io_request_callback()
93 command_struct->id = command->id; in ips_io_request_callback()
94 command_struct->drivenum = (uintptr_t)iobuf->bio_driver1; in ips_io_request_callback()
100 command_struct->segnum = segnum; in ips_io_request_callback()
108 command_struct->buffaddr = in ips_io_request_callback()
115 command_struct->buffaddr = segments[0].ds_addr; in ips_io_request_callback()
118 command_struct->command = cmdtype; in ips_io_request_callback()
119 command_struct->lba = iobuf->bio_pblkno; in ips_io_request_callback()
121 command_struct->length = length; in ips_io_request_callback()
176 ips_adapter_info_cmd *command_struct; in ips_adapter_info_callback() local
183 command_struct = (ips_adapter_info_cmd *)command->command_buffer; in ips_adapter_info_callback()
184 command_struct->command = IPS_ADAPTER_INFO_CMD; in ips_adapter_info_callback()
185 command_struct->id = command->id; in ips_adapter_info_callback()
186 command_struct->buffaddr = segments[0].ds_addr; in ips_adapter_info_callback()
275 ips_drive_cmd *command_struct; in ips_drive_info_callback() local
284 command_struct = (ips_drive_cmd *)command->command_buffer; in ips_drive_info_callback()
285 command_struct->command = IPS_DRIVE_INFO_CMD; in ips_drive_info_callback()
286 command_struct->id = command->id; in ips_drive_info_callback()
287 command_struct->buffaddr = segments[0].ds_addr; in ips_drive_info_callback()
373 ips_generic_cmd *command_struct; in ips_send_flush_cache_cmd() local
377 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_flush_cache_cmd()
378 command_struct->command = IPS_CACHE_FLUSH_CMD; in ips_send_flush_cache_cmd()
379 command_struct->id = command->id; in ips_send_flush_cache_cmd()
450 ips_adapter_ffdc_cmd *command_struct; in ips_send_ffdc_reset_cmd() local
454 command_struct = (ips_adapter_ffdc_cmd *)command->command_buffer; in ips_send_ffdc_reset_cmd()
455 command_struct->command = IPS_FFDC_CMD; in ips_send_ffdc_reset_cmd()
456 command_struct->id = command->id; in ips_send_ffdc_reset_cmd()
457 command_struct->reset_count = sc->ffdc_resetcount; in ips_send_ffdc_reset_cmd()
458 command_struct->reset_type = 0x0; in ips_send_ffdc_reset_cmd()
459 ips_ffdc_settime(command_struct, sc->ffdc_resettime.tv_sec); in ips_send_ffdc_reset_cmd()
486 ips_rw_nvram_cmd *command_struct; in ips_write_nvram() local
491 command_struct = (ips_rw_nvram_cmd *)command->command_buffer; in ips_write_nvram()
492 command_struct->command = IPS_RW_NVRAM_CMD; in ips_write_nvram()
493 command_struct->id = command->id; in ips_write_nvram()
494 command_struct->pagenum = 5; in ips_write_nvram()
495 command_struct->rw = 1; /*write*/ in ips_write_nvram()
514 ips_rw_nvram_cmd *command_struct; in ips_read_nvram_callback() local
521 command_struct = (ips_rw_nvram_cmd *)command->command_buffer; in ips_read_nvram_callback()
522 command_struct->command = IPS_RW_NVRAM_CMD; in ips_read_nvram_callback()
523 command_struct->id = command->id; in ips_read_nvram_callback()
524 command_struct->pagenum = 5; in ips_read_nvram_callback()
525 command_struct->rw = 0; in ips_read_nvram_callback()
526 command_struct->buffaddr = segments[0].ds_addr; in ips_read_nvram_callback()
606 ips_generic_cmd *command_struct; in ips_send_config_sync_cmd() local
610 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_config_sync_cmd()
611 command_struct->command = IPS_CONFIG_SYNC_CMD; in ips_send_config_sync_cmd()
612 command_struct->id = command->id; in ips_send_config_sync_cmd()
613 command_struct->reserve2 = IPS_POCL; in ips_send_config_sync_cmd()
626 ips_generic_cmd *command_struct; in ips_send_error_table_cmd() local
630 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_error_table_cmd()
631 command_struct->command = IPS_ERROR_TABLE_CMD; in ips_send_error_table_cmd()
632 command_struct->id = command->id; in ips_send_error_table_cmd()
633 command_struct->reserve2 = IPS_CSL; in ips_send_error_table_cmd()