Lines Matching defs:cmd

185 static inline const char *mfi_frame_desc(unsigned int cmd)  in mfi_frame_desc()
215 static bool megasas_frame_is_ieee_sgl(MegasasCmd *cmd) in megasas_frame_is_ieee_sgl()
220 static bool megasas_frame_is_sgl64(MegasasCmd *cmd) in megasas_frame_is_sgl64()
225 static bool megasas_frame_is_sense64(MegasasCmd *cmd) in megasas_frame_is_sense64()
230 static uint64_t megasas_sgl_get_addr(MegasasCmd *cmd, in megasas_sgl_get_addr()
245 static uint32_t megasas_sgl_get_len(MegasasCmd *cmd, in megasas_sgl_get_len()
260 static union mfi_sgl *megasas_sgl_next(MegasasCmd *cmd, in megasas_sgl_next()
281 static int megasas_map_sgl(MegasasState *s, MegasasCmd *cmd, union mfi_sgl *sgl) in megasas_map_sgl()
329 static int megasas_build_sense(MegasasCmd *cmd, uint8_t *sense_ptr, in megasas_build_sense()
353 static void megasas_write_sense(MegasasCmd *cmd, SCSISense sense) in megasas_write_sense()
367 static void megasas_copy_sense(MegasasCmd *cmd) in megasas_copy_sense()
451 MegasasCmd *cmd = NULL; in megasas_lookup_frame() local
468 static void megasas_unmap_frame(MegasasState *s, MegasasCmd *cmd) in megasas_unmap_frame()
490 MegasasCmd *cmd = NULL; in megasas_enqueue_frame() local
597 static void megasas_complete_command(MegasasCmd *cmd) in megasas_complete_command()
613 MegasasCmd *cmd; in megasas_reset_frames() local
624 static void megasas_abort_command(MegasasCmd *cmd) in megasas_abort_command()
635 static int megasas_init_firmware(MegasasState *s, MegasasCmd *cmd) in megasas_init_firmware()
696 static int megasas_map_dcmd(MegasasState *s, MegasasCmd *cmd) in megasas_map_dcmd()
720 static void megasas_finish_dcmd(MegasasCmd *cmd, uint32_t iov_size) in megasas_finish_dcmd()
735 static int megasas_ctrl_get_info(MegasasState *s, MegasasCmd *cmd) in megasas_ctrl_get_info()
861 static int megasas_mfc_get_defaults(MegasasState *s, MegasasCmd *cmd) in megasas_mfc_get_defaults()
894 static int megasas_dcmd_get_bios_info(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_get_bios_info()
918 static int megasas_dcmd_get_fw_time(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_get_fw_time()
932 static int megasas_dcmd_set_fw_time(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_set_fw_time()
944 static int megasas_event_info(MegasasState *s, MegasasCmd *cmd) in megasas_event_info()
962 static int megasas_event_wait(MegasasState *s, MegasasCmd *cmd) in megasas_event_wait()
982 static int megasas_dcmd_pd_get_list(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_pd_get_list()
1034 static int megasas_dcmd_pd_list_query(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_pd_list_query()
1050 MegasasCmd *cmd) in megasas_pd_get_info_submit()
1134 static int megasas_dcmd_pd_get_info(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_pd_get_info()
1161 static int megasas_dcmd_ld_get_list(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_ld_get_list()
1206 static int megasas_dcmd_ld_list_query(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_ld_list_query()
1258 MegasasCmd *cmd) in megasas_ld_get_info_submit()
1311 static int megasas_dcmd_ld_get_info(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_ld_get_info()
1343 static int megasas_dcmd_cfg_read(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_cfg_read()
1430 static int megasas_dcmd_get_properties(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_get_properties()
1463 static int megasas_cache_flush(MegasasState *s, MegasasCmd *cmd) in megasas_cache_flush()
1469 static int megasas_ctrl_shutdown(MegasasState *s, MegasasCmd *cmd) in megasas_ctrl_shutdown()
1476 static int megasas_cluster_reset_ld(MegasasState *s, MegasasCmd *cmd) in megasas_cluster_reset_ld()
1494 static int megasas_dcmd_set_properties(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_set_properties()
1509 static int megasas_dcmd_dummy(MegasasState *s, MegasasCmd *cmd) in megasas_dcmd_dummy()
1615 static int megasas_handle_dcmd(MegasasState *s, MegasasCmd *cmd) in megasas_handle_dcmd()
1643 static int megasas_finish_internal_dcmd(MegasasCmd *cmd, in megasas_finish_internal_dcmd()
1669 static int megasas_enqueue_req(MegasasCmd *cmd, bool is_write) in megasas_enqueue_req()
1702 static int megasas_handle_scsi(MegasasState *s, MegasasCmd *cmd, in megasas_handle_scsi()
1776 static int megasas_handle_io(MegasasState *s, MegasasCmd *cmd, int frame_cmd) in megasas_handle_io()
1849 MegasasCmd *cmd = req->hba_private; in megasas_get_sg_list() local
1860 MegasasCmd *cmd = req->hba_private; in megasas_xfer_complete() local
1894 MegasasCmd *cmd = req->hba_private; in megasas_command_complete() local
1929 MegasasCmd *cmd = req->hba_private; in megasas_command_cancelled() local
1938 static int megasas_handle_abort(MegasasState *s, MegasasCmd *cmd) in megasas_handle_abort()
1978 MegasasCmd *cmd; in megasas_handle_frame() local
2255 MegasasCmd *cmd; in megasas_soft_reset() local