| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_cmd.c | 104 struct fcp_resp_with_ext *fcp; in ft_queue_status() local 115 len = sizeof(*fcp) + se_cmd->scsi_sense_length; in ft_queue_status() 122 fcp = fc_frame_payload_get(fp, len); in ft_queue_status() 123 memset(fcp, 0, len); in ft_queue_status() 124 fcp->resp.fr_status = se_cmd->scsi_status; in ft_queue_status() 128 fcp->resp.fr_flags |= FCP_SNS_LEN_VAL; in ft_queue_status() 129 fcp->ext.fr_sns_len = htonl(len); in ft_queue_status() 130 memcpy((fcp + 1), se_cmd->sense_buffer, len); in ft_queue_status() 139 fcp->resp.fr_flags |= FCP_RESID_OVER; in ft_queue_status() 141 fcp->resp.fr_flags |= FCP_RESID_UNDER; in ft_queue_status() [all …]
|
| H A D | tfc_sess.c | 168 reason = "not an FCP port"; in ft_sess_get() 413 * ft_prli() - Handle incoming or outgoing PRLI for the FCP target 475 * Handle incoming FCP request. 476 * Caller has verified that the frame is type FCP.
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_fc.h | 224 * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd 225 * @fcp: fcp_cmnd to setup 229 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() argument 233 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp() 235 fcp->fc_pri_ta = FCP_PTA_SIMPLE; in zfcp_fc_scsi_to_fcp() 238 fcp->fc_flags |= FCP_CFL_RDDATA; in zfcp_fc_scsi_to_fcp() 240 fcp->fc_flags |= FCP_CFL_WRDATA; in zfcp_fc_scsi_to_fcp() 242 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp() 245 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp() 249 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp() [all …]
|
| H A D | zfcp_fsf.c | 24 /* timeout for FSF requests sent during scsi_eh: abort or FCP TMF */ 34 …"Shuts down FCP devices for FCP channels that report a bit-error count in excess of its threshold … 81 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 174 "support FCP\n"); in zfcp_fsf_link_down_info_eval() 178 "The FCP device is suspended because of a " in zfcp_fsf_link_down_info_eval() 183 "The FCP device detected a WWPN that is " in zfcp_fsf_link_down_info_eval() 192 "The FCP adapter cannot support more NPIV ports\n"); in zfcp_fsf_link_down_info_eval() 201 "The FCP adapter could not log in to the " in zfcp_fsf_link_down_info_eval() 206 "The WWPN assignment file on the FCP adapter " in zfcp_fsf_link_down_info_eval() 211 "The mode table on the FCP adapter " in zfcp_fsf_link_down_info_eval() [all …]
|
| H A D | zfcp_unit.c | 81 * zfcp_unit_find - Find and return zfcp_unit with specified FCP LUN 83 * @fcp_lun: 64 Bit FCP LUN used to identify the zfcp_unit 89 * with the specified FCP LUN. 116 * @fcp_lun: FCP LUN of unit to be added
|
| H A D | zfcp_def.h | 157 u32 adapter_features; /* FCP channel features */ 159 u32 hardware_version; /* of FCP channel */ 160 u32 fc_security_algorithms; /* of FCP channel */ 161 u32 fc_security_algorithms_old; /* of FCP channel */ 299 * zfcp_scsi_dev_lun - Return SCSI device LUN as 64 bit FCP LUN
|
| H A D | zfcp_dbf.h | 244 * @fcp_rsp_info: FCP response info code 249 * @fcp_rsp: response for FCP request 325 * Returns true if FCP response with only benign residual under count. 336 return false; /* not an FCP response */ in zfcp_dbf_hba_fsf_resp_suppress()
|
| /linux/include/linux/ |
| H A D | nvme-fc-driver.h | 173 * to LLDD in order to perform a NVME FCP IO operation. 177 * @cmdaddr: pointer to the FCP CMD IU buffer 178 * @rspaddr: pointer to the FCP RSP IU buffer 179 * @cmddma: PCI DMA address of the FCP CMD IU buffer 180 * @rspdma: PCI DMA address of the FCP RSP IU buffer 181 * @cmdlen: Length, in bytes, of the FCP CMD IU buffer 182 * @rsplen: Length, in bytes, of the FCP RSP IU buffer 187 * @io_dir: direction of the FCP request (see NVMEFC_FCP_xxx) 189 * the FCP operation. req argument is the pointer to the original 190 * FCP IO operation. [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_fcp.c | 54 * struct fc_fcp_internal - FCP layer internal data 55 * @scsi_pkt_pool: Memory pool to draw FCP packets from 57 * @scsi_pkt_queue: Current FCP packets 125 * @lport: The local port that the FCP packet is for 153 * @fsp: The FCP packet to be released 169 * @fsp: The FCP packet to be held 178 * @seq: The sequence that the FCP packet is on (required by destructor API) 179 * @fsp: The FCP packet to be released 194 * @fsp: The FCP packet to be locked and incremented 224 * @fsp: The FCP packet to be unlocked and decremented [all …]
|
| H A D | fc_libfc.h | 61 pr_info("host%u: fcp: %6.6x: " \ 67 pr_info("host%u: fcp: %6.6x: " fmt, \ 93 extern struct fc4_prov fc_rport_fcp_init; /* FCP initiator provider */
|
| /linux/arch/s390/kernel/ |
| H A D | ipl.c | 47 #define IPL_FCP_STR "fcp" 55 #define DUMP_FCP_STR "fcp" 370 if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in get_ipl_type() 443 return sysfs_emit(page, "0.0.%04x\n", ipl_block.fcp.devno); in sys_ipl_device_show() 466 DEFINE_IPL_ATTR_SCP_DATA_RO(ipl_fcp, ipl_block.fcp, PAGE_SIZE); 490 /* FCP ipl device attributes */ 493 (unsigned long long)ipl_block.fcp.wwpn); 495 (unsigned long long)ipl_block.fcp.lun); 497 (unsigned long long)ipl_block.fcp.bootprog); 499 (unsigned long long)ipl_block.fcp.br_lba); [all …]
|
| /linux/sound/usb/ |
| H A D | fcp.c | 10 * The Focusrite Control Protocol (FCP) driver provides a minimal 12 * fcp-server) to communicate with Focusrite USB audio interfaces 26 * - Send arbitrary FCP commands to the device 64 #include <uapi/sound/fcp.h> 70 #include "fcp.h" 112 /* FCP Command ACK notification bit */ 136 /* FCP command request/response format */ 178 /* Send an FCP command and get the response */ 219 "FCP request %08x failed: %d\n", opcode, err); in fcp_usb() 226 "FCP request %08x timed out\n", opcode); in fcp_usb() [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | renesas,fdp1.yaml | 38 renesas,fcp: 41 A phandle referencing the FCP that handles memory accesses for the FDP1. 67 renesas,fcp = <&fcpf0>;
|
| /linux/tools/firewire/ |
| H A D | decode-fcp.c | 191 printf("cal fcp frame (cts=0x01)\n"); in decode_fcp() 194 printf("ehs fcp frame (cts=0x02)\n"); in decode_fcp() 197 printf("havi fcp frame (cts=0x03)\n"); in decode_fcp() 200 printf("vendor specific fcp frame (cts=0x0e)\n"); in decode_fcp() 206 printf("reserved fcp frame (ctx=0x%02x)\n", frame->cts); in decode_fcp()
|
| /linux/arch/s390/include/asm/ |
| H A D | ipl.h | 23 struct ipl_pb0_fcp fcp; member 55 fcp.scp_data) 94 } fcp; member
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_fw.h | 50 * The lower nibble is for FCP. 409 * BIT 4 = FCP RSP Payload bit 0 410 * BIT 5 = FCP RSP Payload bit 1 453 struct scsi_lun lun; /* FCP LUN (BE). */ 490 struct scsi_lun lun; /* FCP LUN (BE). */ 531 struct scsi_lun lun; /* FCP LUN (BE). */ 578 struct scsi_lun lun; /* FCP LUN (BE). */ 630 __le32 rsp_residual_count; /* FCP RSP residual count. */ 632 __le32 sense_len; /* FCP SENSE length. */ 636 __le32 rsp_data_len; /* FCP response data length */ [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfi_ms.h | 600 u8 status; /* fcp request status */ 614 u8 status; /* fcp request status */ 659 * FCP IO messages overview 722 * the fcp data length in the command. 724 * data length and residue count in FCP 725 * response accounts for total fcp-dl 730 * fcp data length in the command. ex. 824 * Following are FCP-4 spec defined status codes,
|
| H A D | bfa_defs_svc.h | 111 u32 fcp_data_lost; /* fcp data lost */ 120 u32 unexp_fcp_rsp; /* fcp response in wrong state */ 122 u32 fcp_rsp_under_run; /* fcp rsp IO underrun */ 123 u32 fcp_rsp_under_run_wr; /* fcp rsp IO underrun for write */ 124 u32 fcp_rsp_under_run_err; /* fcp rsp IO underrun error */ 126 u32 fcp_rsp_over_run; /* fcp rsp IO overrun */ 127 u32 fcp_rsp_over_run_err; /* fcp rsp IO overrun error */ 128 u32 fcp_rsp_proto_err; /* protocol error in fcp rsp */ 129 u32 fcp_rsp_sense_err; /* error in sense info in fcp rsp */ 130 u32 fcp_conf_req; /* FCP conf requested */ [all …]
|
| /linux/include/linux/qed/ |
| H A D | fcoe_common.h | 41 /* FCP CMD payload */ 46 /* FCP RSP payload */ 51 /* FCP RSP payload */ 57 /* FCP RSP payload */ 62 /* FCP RSP payload */ 106 /* Union of FCP CMD payload \ TX params \ ABTS \ Cleanup */
|
| /linux/include/scsi/ |
| H A D | libfc.h | 234 * @FcpPktAllocFails: Number of fcp packet allocation failures 235 * @FcpPktAborts: Number of fcp packet aborts 236 * @FcpFrameAllocFails: Number of fcp frame allocation failures 286 * struct fc_fcp_pkt - FCP request structure (one for each scsi_cmnd request) 297 * @timer_delay: FCP packet timer delay in jiffies 308 * @status_code: FCP I/O status 332 /* SCSI/FCP return status */ 560 * Send a fcp cmd from fsp pkt. 572 * Cleanup the FCP layer, used during link down and reset 669 * @scsi_priv: FCP laye [all...] |
| /linux/include/scsi/fc/ |
| H A D | fc_fcp.h | 15 * From T10 FCP-3, T10 project 1560-D Rev 4, Sept. 13, 2005. 78 deprecated as of FCP-3 */ 186 * FCP SRR Link Service request - Sequence Retransmission Request.
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_hsi.h | 73 * FCP RSP flags 238 FCOE_ERROR_CODE_FCP_RSP_BIDI_FLAGS_SET /* FCP RSP error codes */, 247 FCOE_ERROR_CODE_DATA_OOO_RO /* FCP DATA error codes */,
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_nvmet.c | 481 "FCP Drop IO [x%x x%x x%x]\n", in lpfc_nvmet_ctxbuf_post() 549 * Segment 1 - Time from FCP command received by MSI-X ISR in lpfc_nvmet_ktime() 550 * to FCP command is passed to NVME Layer. in lpfc_nvmet_ktime() 551 * Segment 2 - Time from FCP command payload handed in lpfc_nvmet_ktime() 563 * NVME Layer to WQ put is done on TRSP FCP Status. in lpfc_nvmet_ktime() 565 * FCP Status to MSI-X ISR for TRSP cmpl. in lpfc_nvmet_ktime() 568 * Segment 10 - Time from FCP command received by in lpfc_nvmet_ktime() 709 * lpfc_nvmet_xmt_fcp_op_cmp - Completion handler for FCP Response 715 * lock held. This function is the completion handler for NVME FCP commands 745 lpfc_nvmeio_data(phba, "NVMET FCP CMPL: xri x%x op x%x status x%x\n", in lpfc_nvmet_xmt_fcp_op_cmp() [all …]
|
| H A D | lpfc_sli.h | 100 #define LPFC_IO_FCP 4 /* FCP command -- iocbq in scsi_buf */ 116 #define LPFC_IO_OAS 0x10000 /* OAS FCP IO */ 117 #define LPFC_IO_FOF 0x20000 /* FOF FCP IO */ 121 #define LPFC_IO_NVME 0x200000 /* NVME FCP command */ 226 FCP WQ will be allocated. */
|
| H A D | lpfc_scsi.c | 237 * the IOCB. The DMAable region contains memory for the FCP CMND, FCP RSP, 238 * and the initial BPL. In addition to allocating memory, the FCP CMND and 239 * FCP RSP BDEs are setup in the BPL and the BPL BDE is setup in the IOCB. 319 /* Setup the physical region for the FCP RSP */ in lpfc_new_scsi_buf_s3() 327 * Since the IOCB for the FCP I/O is built into this in lpfc_new_scsi_buf_s3() 334 /* fill in immediate fcp command BDE */ in lpfc_new_scsi_buf_s3() 417 * lpfc_sli4_io_xri_aborted - Fast-path process of fcp xri abort 419 * @axri: pointer to the fcp xri abort wcqe structure. 423 * FCP or NVME aborted xri. 671 /* Setup the physical region for the FCP RSP */ in lpfc_get_scsi_buf_s4() [all …]
|