Searched refs:mrioc (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/scsi/mpi3mr/ |
D | mpi3mr_fw.c | 14 mpi3mr_issue_reset(struct mpi3mr_ioc *mrioc, u16 reset_type, u32 reset_reason); 15 static int mpi3mr_setup_admin_qpair(struct mpi3mr_ioc *mrioc); 16 static void mpi3mr_process_factsdata(struct mpi3mr_ioc *mrioc, 18 static void mpi3mr_pel_wait_complete(struct mpi3mr_ioc *mrioc, 56 static void mpi3mr_sync_irqs(struct mpi3mr_ioc *mrioc) in mpi3mr_sync_irqs() argument 60 max_vectors = mrioc->intr_info_count; in mpi3mr_sync_irqs() 63 synchronize_irq(pci_irq_vector(mrioc->pdev, i)); in mpi3mr_sync_irqs() 66 void mpi3mr_ioc_disable_intr(struct mpi3mr_ioc *mrioc) in mpi3mr_ioc_disable_intr() argument 68 mrioc->intr_enabled = 0; in mpi3mr_ioc_disable_intr() 69 mpi3mr_sync_irqs(mrioc); in mpi3mr_ioc_disable_intr() [all …]
|
D | mpi3mr_os.c | 44 static void mpi3mr_send_event_ack(struct mpi3mr_ioc *mrioc, u8 event, 60 static u16 mpi3mr_host_tag_for_scmd(struct mpi3mr_ioc *mrioc, in mpi3mr_host_tag_for_scmd() argument 70 if (hw_queue >= mrioc->num_op_reply_q) in mpi3mr_host_tag_for_scmd() 74 if (WARN_ON(host_tag >= mrioc->max_host_ios)) in mpi3mr_host_tag_for_scmd() 101 struct mpi3mr_ioc *mrioc, u16 host_tag, u16 qidx) in mpi3mr_scmd_from_host_tag() argument 107 if (WARN_ON(host_tag > mrioc->max_host_ios)) in mpi3mr_scmd_from_host_tag() 112 scmd = scsi_host_find_tag(mrioc->shost, unique_tag); in mpi3mr_scmd_from_host_tag() 132 static void mpi3mr_clear_scmd_priv(struct mpi3mr_ioc *mrioc, in mpi3mr_clear_scmd_priv() argument 147 clear_bit(priv->chain_idx, mrioc->chain_bitmap); in mpi3mr_clear_scmd_priv() 151 clear_bit(priv->meta_chain_idx, mrioc->chain_bitmap); in mpi3mr_clear_scmd_priv() [all …]
|
D | mpi3mr_app.c | 23 static int mpi3mr_bsg_pel_abort(struct mpi3mr_ioc *mrioc) in mpi3mr_bsg_pel_abort() argument 30 if (mrioc->reset_in_progress) { in mpi3mr_bsg_pel_abort() 31 dprint_bsg_err(mrioc, "%s: reset in progress\n", __func__); in mpi3mr_bsg_pel_abort() 34 if (mrioc->stop_bsgs) { in mpi3mr_bsg_pel_abort() 35 dprint_bsg_err(mrioc, "%s: bsgs are blocked\n", __func__); in mpi3mr_bsg_pel_abort() 40 mutex_lock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort() 41 if (mrioc->pel_abort_cmd.state & MPI3MR_CMD_PENDING) { in mpi3mr_bsg_pel_abort() 42 dprint_bsg_err(mrioc, "%s: command is in use\n", __func__); in mpi3mr_bsg_pel_abort() 43 mutex_unlock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort() 46 mrioc->pel_abort_cmd.state = MPI3MR_CMD_PENDING; in mpi3mr_bsg_pel_abort() [all …]
|
D | mpi3mr_transport.c | 33 static int mpi3mr_post_transport_req(struct mpi3mr_ioc *mrioc, void *request, in mpi3mr_post_transport_req() argument 39 mutex_lock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req() 40 if (mrioc->transport_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_post_transport_req() 42 ioc_err(mrioc, "sending transport request failed due to command in use\n"); in mpi3mr_post_transport_req() 43 mutex_unlock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req() 46 mrioc->transport_cmds.state = MPI3MR_CMD_PENDING; in mpi3mr_post_transport_req() 47 mrioc->transport_cmds.is_waiting = 1; in mpi3mr_post_transport_req() 48 mrioc->transport_cmds.callback = NULL; in mpi3mr_post_transport_req() 49 mrioc->transport_cmds.ioc_status = 0; in mpi3mr_post_transport_req() 50 mrioc->transport_cmds.ioc_loginfo = 0; in mpi3mr_post_transport_req() [all …]
|
D | mpi3mr.h | 445 struct mpi3mr_ioc *mrioc; member 839 void (*callback)(struct mpi3mr_ioc *mrioc, 1251 struct mpi3mr_ioc *mrioc; member 1289 int mpi3mr_setup_resources(struct mpi3mr_ioc *mrioc); 1290 void mpi3mr_cleanup_resources(struct mpi3mr_ioc *mrioc); 1291 int mpi3mr_init_ioc(struct mpi3mr_ioc *mrioc); 1292 int mpi3mr_reinit_ioc(struct mpi3mr_ioc *mrioc, u8 is_resume); 1293 void mpi3mr_cleanup_ioc(struct mpi3mr_ioc *mrioc); 1294 int mpi3mr_issue_port_enable(struct mpi3mr_ioc *mrioc, u8 async); 1295 int mpi3mr_admin_request_post(struct mpi3mr_ioc *mrioc, void *admin_req, [all …]
|