Lines Matching defs:command
284 * @cmdiocbq: Pointer to command iocb.
384 * lpfc_bsg_send_mgmt_cmd - send a CT command from a bsg request
561 * @cmdiocbq: Pointer to command iocb.
658 * lpfc_bsg_rport_els - send an ELS command from a bsg request
682 /* verify the els command is not greater than the
708 /* We will use the allocated dma buffers by prep els iocb for command
723 /* Transfer the request payload to allocated command dma buffer */
906 * lpfc_bsg_ct_unsol_event - process an unsolicited CT command
911 * This function is called when an unsolicited CT command is received. It
1165 * This function handles abort to the CT command toward management plane
1168 * If the pending context of a CT command to management plane present, clears
1202 * lpfc_bsg_hba_set_event - process a SET_EVENT bsg vendor command
1273 dd_data->set_job = job; /* for unsolicited command */
1285 * lpfc_bsg_hba_get_event - process a GET_EVENT bsg vendor command
1381 * @cmdiocbq: Pointer to command iocb.
1502 /* Allocate buffer for command iocb */
1622 * lpfc_bsg_send_mgmt_rsp - process a SEND_MGMT_RESP bsg vendor command
1778 * lpfc_sli3_bsg_diag_loopback_mode - process an sli3 bsg vendor command
1890 * Let SLI layer release mboxq if mbox command completed after timeout.
1910 * This function is responsible for issuing a sli4 mailbox command for setting
1973 * This function is responsible for issuing a sli4 mailbox command for setting
2017 "command, rc:x%x, status:x%x\n", mbxstatus,
2052 * lpfc_sli4_bsg_diag_loopback_mode - process an sli4 bsg vendor command
2271 * lpfc_bsg_diag_loopback_mode - bsg vendor command for diag loopback mode
2275 * command from the user to proper driver action routines.
2307 * lpfc_sli4_bsg_diag_mode_end - sli4 bsg vendor command for ending diag mode
2311 * command from the user to proper driver action routines.
2386 * lpfc_sli4_bsg_link_diag_test - sli4 bsg vendor command for diag link test
2538 * can send and receive its own unsolicited CT command.
2641 * an unsolicited ct command with a payload. A special lpfc FsType and CmdRsp
2643 * the ct command sent on the same port.
2949 * an unsolicted CT command.
3088 * 6. The command and response iocbs are allocated.
3396 * lpfc_bsg_get_dfc_rev - process a GET_DFC_REV bsg vendor command
3441 * @pmboxq: Pointer to mailbox command.
3506 * lpfc_bsg_check_cmd_access - test for a supported mailbox command
3602 * command session.
3614 /* multi-buffer write mailbox command pass-through complete */
3625 * @pmboxq: Pointer to mailbox command.
3671 /* byte swap the extended data following the mailbox command */
3690 "2937 SLI_CONFIG ext-buffer mailbox command "
3702 "command (x%x/x%x) failure, rc:x%x\n",
3717 * @pmboxq: Pointer to mailbox command.
3730 /* handle the BSG job with mailbox command */
3735 "2939 SLI_CONFIG ext-buffer rd mailbox command "
3757 * @pmboxq: Pointer to mailbox command.
3770 /* handle the BSG job with the mailbox command */
3775 "2940 SLI_CONFIG ext-buffer wr mailbox command "
3800 /* pointer to the start of mailbox command */
3890 * @nemb_tp: Enumerate of non-embedded mailbox command type.
3893 * This routine performs SLI_CONFIG (0x9B) read mailbox command operation with
3916 /* pointer to the start of mailbox command */
3961 /* reject non-embedded mailbox command with none external buffer */
3985 /* mailbox command structure for base driver */
4012 /* construct base driver mbox command */
4027 /* callback for multi-buffer read mailbox command */
4057 "mailbox command, rc:x%x\n", rc);
4062 "mailbox command, rc:x%x\n", rc);
4081 * This routine performs SLI_CONFIG (0x9B) write mailbox command operation with
4103 /* pointer to the start of mailbox command */
4185 /* mailbox command structure for base driver */
4198 /* callback for multi-buffer read mailbox command */
4216 "mailbox command, rc:x%x\n", rc);
4221 "mailbox command, rc:x%x\n", rc);
4247 * This routine handles SLI_CONFIG (0x9B) mailbox command with non-embedded
4260 /* state change on new multi-buffer pass-through mailbox command */
4369 /* state reset on not handled new multi-buffer mailbox command */
4377 * lpfc_bsg_mbox_ext_abort_req - request to abort mbox command with ext buffers
4380 * This routine is for requesting to abort a pass-through mailbox command with
4452 "command session done\n");
4532 /* mailbox command structure for base driver */
4545 /* callback for multi-buffer write mailbox command */
4563 "mailbox command, rc:x%x\n", rc);
4568 "mailbox command, rc:x%x\n", rc);
4595 * command with multiple non-embedded external buffers.
4653 /* mbox command with/without single external buffer */
4657 /* mbox command and first external buffer */
4708 * lpfc_bsg_issue_mbox - issues a mailbox command on behalf of an app
4713 * Allocate a tracking object, mailbox command memory, get a mailbox
4714 * from the mailbox pool, copy the caller mailbox command.
4716 * If offline and the sli is active we need to poll for the command (port is
4717 * being reset) and com-plete the job, otherwise issue the mailbox command and
4718 * let our completion handler finish the command.
4778 /* Get the mailbox command or external buffer from BSG */
4845 * allocate our own buffer and setup the mailbox command to
4883 /* mode zero uses a bde like biu diags command */
4897 /* rebuild the command for sli4 using our own buffers
4927 /* Handling non-embedded SLI_CONFIG mailbox command */
4931 /* rebuild the command for sli4 using our
5010 * lpfc_bsg_mbox_cmd - process an fc bsg LPFC_BSG_VENDOR_MBOX command
5063 * @cmdiocbq: Pointer to command iocb.
5169 * all the command completions will return the xri for the command.
5774 int command = bsg_request->rqst_data.h_vendor.vendor_cmd[0];
5777 switch (command) {
5896 /* if job's driver data is NULL, the command completed or is in the
5900 * command's completion handler executes. Otherwise, prevent the
5901 * command's completion handler from executing the job done callback
5902 * and continue processing to abort the outstanding the command.