Lines Matching refs:command_struct
79 ips_io_cmd *command_struct; in ips_io_request_callback() local
94 command_struct = (ips_io_cmd *)command->command_buffer; in ips_io_request_callback()
95 command_struct->id = command->id; in ips_io_request_callback()
96 command_struct->drivenum = (uintptr_t)iobuf->bio_driver1; in ips_io_request_callback()
102 command_struct->segnum = segnum; in ips_io_request_callback()
110 command_struct->buffaddr = in ips_io_request_callback()
117 command_struct->buffaddr = segments[0].ds_addr; in ips_io_request_callback()
120 command_struct->command = cmdtype; in ips_io_request_callback()
121 command_struct->lba = iobuf->bio_pblkno; in ips_io_request_callback()
123 command_struct->length = length; in ips_io_request_callback()
178 ips_adapter_info_cmd *command_struct; in ips_adapter_info_callback() local
185 command_struct = (ips_adapter_info_cmd *)command->command_buffer; in ips_adapter_info_callback()
186 command_struct->command = IPS_ADAPTER_INFO_CMD; in ips_adapter_info_callback()
187 command_struct->id = command->id; in ips_adapter_info_callback()
188 command_struct->buffaddr = segments[0].ds_addr; in ips_adapter_info_callback()
277 ips_drive_cmd *command_struct; in ips_drive_info_callback() local
286 command_struct = (ips_drive_cmd *)command->command_buffer; in ips_drive_info_callback()
287 command_struct->command = IPS_DRIVE_INFO_CMD; in ips_drive_info_callback()
288 command_struct->id = command->id; in ips_drive_info_callback()
289 command_struct->buffaddr = segments[0].ds_addr; in ips_drive_info_callback()
375 ips_generic_cmd *command_struct; in ips_send_flush_cache_cmd() local
379 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_flush_cache_cmd()
380 command_struct->command = IPS_CACHE_FLUSH_CMD; in ips_send_flush_cache_cmd()
381 command_struct->id = command->id; in ips_send_flush_cache_cmd()
452 ips_adapter_ffdc_cmd *command_struct; in ips_send_ffdc_reset_cmd() local
456 command_struct = (ips_adapter_ffdc_cmd *)command->command_buffer; in ips_send_ffdc_reset_cmd()
457 command_struct->command = IPS_FFDC_CMD; in ips_send_ffdc_reset_cmd()
458 command_struct->id = command->id; in ips_send_ffdc_reset_cmd()
459 command_struct->reset_count = sc->ffdc_resetcount; in ips_send_ffdc_reset_cmd()
460 command_struct->reset_type = 0x0; in ips_send_ffdc_reset_cmd()
461 ips_ffdc_settime(command_struct, sc->ffdc_resettime.tv_sec); in ips_send_ffdc_reset_cmd()
488 ips_rw_nvram_cmd *command_struct; in ips_write_nvram() local
493 command_struct = (ips_rw_nvram_cmd *)command->command_buffer; in ips_write_nvram()
494 command_struct->command = IPS_RW_NVRAM_CMD; in ips_write_nvram()
495 command_struct->id = command->id; in ips_write_nvram()
496 command_struct->pagenum = 5; in ips_write_nvram()
497 command_struct->rw = 1; /*write*/ in ips_write_nvram()
516 ips_rw_nvram_cmd *command_struct; in ips_read_nvram_callback() local
523 command_struct = (ips_rw_nvram_cmd *)command->command_buffer; in ips_read_nvram_callback()
524 command_struct->command = IPS_RW_NVRAM_CMD; in ips_read_nvram_callback()
525 command_struct->id = command->id; in ips_read_nvram_callback()
526 command_struct->pagenum = 5; in ips_read_nvram_callback()
527 command_struct->rw = 0; in ips_read_nvram_callback()
528 command_struct->buffaddr = segments[0].ds_addr; in ips_read_nvram_callback()
608 ips_generic_cmd *command_struct; in ips_send_config_sync_cmd() local
612 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_config_sync_cmd()
613 command_struct->command = IPS_CONFIG_SYNC_CMD; in ips_send_config_sync_cmd()
614 command_struct->id = command->id; in ips_send_config_sync_cmd()
615 command_struct->reserve2 = IPS_POCL; in ips_send_config_sync_cmd()
628 ips_generic_cmd *command_struct; in ips_send_error_table_cmd() local
632 command_struct = (ips_generic_cmd *)command->command_buffer; in ips_send_error_table_cmd()
633 command_struct->command = IPS_ERROR_TABLE_CMD; in ips_send_error_table_cmd()
634 command_struct->id = command->id; in ips_send_error_table_cmd()
635 command_struct->reserve2 = IPS_CSL; in ips_send_error_table_cmd()