Lines Matching refs:pmcraid_cmd
309 static void pmcraid_init_cmdblk(struct pmcraid_cmd *cmd, int index) in pmcraid_init_cmdblk()
362 static void pmcraid_reinit_cmdblk(struct pmcraid_cmd *cmd) in pmcraid_reinit_cmdblk()
374 static struct pmcraid_cmd *pmcraid_get_free_cmd( in pmcraid_get_free_cmd()
378 struct pmcraid_cmd *cmd = NULL; in pmcraid_get_free_cmd()
386 struct pmcraid_cmd, free_list); in pmcraid_get_free_cmd()
404 static void pmcraid_return_cmd(struct pmcraid_cmd *cmd) in pmcraid_return_cmd()
558 static void pmcraid_ioa_reset(struct pmcraid_cmd *);
562 struct pmcraid_cmd *cmd = from_timer(cmd, t, timer); in pmcraid_bist_done()
592 static void pmcraid_start_bist(struct pmcraid_cmd *cmd) in pmcraid_start_bist()
619 struct pmcraid_cmd *cmd = from_timer(cmd, t, timer); in pmcraid_reset_alert_done()
654 static void pmcraid_reset_alert(struct pmcraid_cmd *cmd) in pmcraid_reset_alert()
703 struct pmcraid_cmd *cmd = from_timer(cmd, t, timer); in pmcraid_timeout_handler()
774 static void pmcraid_internal_done(struct pmcraid_cmd *cmd) in pmcraid_internal_done()
812 static void pmcraid_reinit_cfgtable_done(struct pmcraid_cmd *cmd) in pmcraid_reinit_cfgtable_done()
836 static void pmcraid_erp_done(struct pmcraid_cmd *cmd) in pmcraid_erp_done()
879 static void _pmcraid_fire_command(struct pmcraid_cmd *cmd) in _pmcraid_fire_command()
914 struct pmcraid_cmd *cmd, in pmcraid_send_cmd()
915 void (*cmd_done) (struct pmcraid_cmd *), in pmcraid_send_cmd()
941 static void pmcraid_ioa_shutdown_done(struct pmcraid_cmd *cmd) in pmcraid_ioa_shutdown_done()
959 static void pmcraid_ioa_shutdown(struct pmcraid_cmd *cmd) in pmcraid_ioa_shutdown()
994 static void pmcraid_querycfg(struct pmcraid_cmd *);
996 static void pmcraid_get_fwversion_done(struct pmcraid_cmd *cmd) in pmcraid_get_fwversion_done()
1025 static void pmcraid_get_fwversion(struct pmcraid_cmd *cmd) in pmcraid_get_fwversion()
1067 static void pmcraid_identify_hrrq(struct pmcraid_cmd *cmd) in pmcraid_identify_hrrq()
1074 void (*done_function)(struct pmcraid_cmd *); in pmcraid_identify_hrrq()
1113 static void pmcraid_process_ccn(struct pmcraid_cmd *cmd);
1114 static void pmcraid_process_ldn(struct pmcraid_cmd *cmd);
1124 static void pmcraid_send_hcam_cmd(struct pmcraid_cmd *cmd) in pmcraid_send_hcam_cmd()
1143 static struct pmcraid_cmd *pmcraid_init_hcam in pmcraid_init_hcam()
1149 struct pmcraid_cmd *cmd; in pmcraid_init_hcam()
1153 void (*cmd_done) (struct pmcraid_cmd *); in pmcraid_init_hcam()
1216 struct pmcraid_cmd *cmd = pmcraid_init_hcam(pinstance, type); in pmcraid_send_hcam()
1228 struct pmcraid_cmd *cmd, in pmcraid_prepare_cancel_cmd()
1229 struct pmcraid_cmd *cmd_to_cancel in pmcraid_prepare_cancel_cmd()
1260 struct pmcraid_cmd *cmd, in pmcraid_cancel_hcam()
1262 void (*cmd_done) (struct pmcraid_cmd *) in pmcraid_cancel_hcam()
1293 static void pmcraid_cancel_ccn(struct pmcraid_cmd *cmd) in pmcraid_cancel_ccn()
1311 static void pmcraid_cancel_ldn(struct pmcraid_cmd *cmd) in pmcraid_cancel_ldn()
1537 struct pmcraid_cmd *cmd; in pmcraid_handle_config_change()
1538 struct pmcraid_cmd *cfgcmd; in pmcraid_handle_config_change()
1697 static void pmcraid_ioasc_logger(u32 ioasc, struct pmcraid_cmd *cmd) in pmcraid_ioasc_logger()
1769 static void pmcraid_process_ccn(struct pmcraid_cmd *cmd) in pmcraid_process_ccn()
1804 static void pmcraid_set_timestamp(struct pmcraid_cmd *cmd);
1806 static void pmcraid_process_ldn(struct pmcraid_cmd *cmd) in pmcraid_process_ldn()
1871 static void pmcraid_unregister_hcams(struct pmcraid_cmd *cmd) in pmcraid_unregister_hcams()
1941 static void pmcraid_soft_reset(struct pmcraid_cmd *cmd) in pmcraid_soft_reset()
2010 struct pmcraid_cmd *cmd, *temp; in pmcraid_fail_outstanding_cmds()
2080 static void pmcraid_ioa_reset(struct pmcraid_cmd *cmd) in pmcraid_ioa_reset()
2304 struct pmcraid_cmd *cmd; in pmcraid_initiate_reset()
2347 struct pmcraid_cmd *reset_cmd = NULL; in pmcraid_reset_reload()
2443 static void pmcraid_request_sense(struct pmcraid_cmd *cmd) in pmcraid_request_sense()
2498 static void pmcraid_cancel_all(struct pmcraid_cmd *cmd, u32 sense) in pmcraid_cancel_all()
2503 void (*cmd_done) (struct pmcraid_cmd *) = sense ? pmcraid_erp_done in pmcraid_cancel_all()
2535 static void pmcraid_frame_auto_sense(struct pmcraid_cmd *cmd) in pmcraid_frame_auto_sense()
2607 static int pmcraid_error_handler(struct pmcraid_cmd *cmd) in pmcraid_error_handler()
2729 struct pmcraid_cmd *cmd; in pmcraid_reset_device()
2831 static int _pmcraid_io_done(struct pmcraid_cmd *cmd, int reslen, int ioasc) in _pmcraid_io_done()
2866 static void pmcraid_io_done(struct pmcraid_cmd *cmd) in pmcraid_io_done()
2883 static struct pmcraid_cmd *pmcraid_abort_cmd(struct pmcraid_cmd *cmd) in pmcraid_abort_cmd()
2885 struct pmcraid_cmd *cancel_cmd; in pmcraid_abort_cmd()
2929 static int pmcraid_abort_complete(struct pmcraid_cmd *cancel_cmd) in pmcraid_abort_complete()
2969 struct pmcraid_cmd *cmd; in pmcraid_eh_abort_handler()
2973 struct pmcraid_cmd *cancel_cmd = NULL; in pmcraid_eh_abort_handler()
3121 pmcraid_init_ioadls(struct pmcraid_cmd *cmd, int sgcount) in pmcraid_init_ioadls()
3170 struct pmcraid_cmd *cmd in pmcraid_build_ioadl()
3357 struct pmcraid_cmd *cmd; in pmcraid_queuecommand_lck()
3508 struct pmcraid_cmd *cmd, in pmcraid_build_passthrough_ioadls()
3567 struct pmcraid_cmd *cmd, in pmcraid_release_passthrough_ioadls()
3603 struct pmcraid_cmd *cmd; in pmcraid_ioctl_passthrough()
3604 struct pmcraid_cmd *cancel_cmd; in pmcraid_ioctl_passthrough()
4442 struct pmcraid_cmd *cmd = NULL; in pmcraid_tasklet_function()
4640 sizeof(struct pmcraid_cmd), 0, in pmcraid_allocate_cmd_blocks()
5052 struct pmcraid_cmd *cmdp = pinstance->cmd_list[i]; in pmcraid_init_buffers()
5395 static void pmcraid_complete_ioa_reset(struct pmcraid_cmd *cmd) in pmcraid_complete_ioa_reset()
5415 static void pmcraid_set_supported_devs(struct pmcraid_cmd *cmd) in pmcraid_set_supported_devs()
5418 void (*cmd_done) (struct pmcraid_cmd *) = pmcraid_complete_ioa_reset; in pmcraid_set_supported_devs()
5456 static void pmcraid_set_timestamp(struct pmcraid_cmd *cmd) in pmcraid_set_timestamp()
5519 static void pmcraid_init_res_table(struct pmcraid_cmd *cmd) in pmcraid_init_res_table()
5631 static void pmcraid_querycfg(struct pmcraid_cmd *cmd) in pmcraid_querycfg()