| /linux/drivers/target/tcm_fc/ | 
| H A D | tfc_cmd.c | 104 	struct fcp_resp_with_ext *fcp;  in ft_queue_status()  local115 	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 …]
 
 | 
| /linux/include/media/ | 
| H A D | rcar-fcp.h | 3  * rcar-fcp.h  --  R-Car Frame Compression Processor Driver17 void rcar_fcp_put(struct rcar_fcp_device *fcp);
 18 struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp);
 19 int rcar_fcp_enable(struct rcar_fcp_device *fcp);
 20 void rcar_fcp_disable(struct rcar_fcp_device *fcp);
 21 int rcar_fcp_soft_reset(struct rcar_fcp_device *fcp);
 27 static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { } in rcar_fcp_get_device()   argument
 28 static inline struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) in rcar_fcp_get_device()
 32 static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) in rcar_fcp_enable()
 36 static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { }
 26 rcar_fcp_put(struct rcar_fcp_device * fcp) rcar_fcp_put()  argument
 31 rcar_fcp_enable(struct rcar_fcp_device * fcp) rcar_fcp_enable()  argument
 35 rcar_fcp_disable(struct rcar_fcp_device * fcp) rcar_fcp_disable()  argument
 [all...]
 | 
| /linux/drivers/s390/scsi/ | 
| H A D | zfcp_fc.h | 224  * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd225  * @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_ccw.c | 93  * This function gets called by the common i/o layer for each FCP154  * Setting an fcp device online means that it will be registered with
 168 				"FCP adapter failed\n");  in zfcp_ccw_set_online()
 235 		dev_warn(&cdev->dev, "The FCP device has been detached\n");  in zfcp_ccw_notify()
 240 			 "The CHPID for the FCP device is offline\n");  in zfcp_ccw_notify()
 244 		dev_info(&cdev->dev, "The FCP device is operational again\n");  in zfcp_ccw_notify()
 251 		dev_warn(&cdev->dev, "The FCP device did not respond within "  in zfcp_ccw_notify()
 
 | 
| H A D | zfcp_fsf.c | 25 /* timeout for FSF requests sent during scsi_eh: abort or FCP TMF */35 …"Shuts down FCP devices for FCP channels that report a bit-error count in excess of its threshold …
 82 	dev_err(&req->adapter->ccw_device->dev, "FCP device not "  in zfcp_fsf_class_not_supp()
 175 			 "support FCP\n");  in zfcp_fsf_link_down_info_eval()
 179 			 "The FCP device is suspended because of a "  in zfcp_fsf_link_down_info_eval()
 184 			 "The FCP device detected a WWPN that is "  in zfcp_fsf_link_down_info_eval()
 193 			 "The FCP adapter cannot support more NPIV ports\n");  in zfcp_fsf_link_down_info_eval()
 202 			 "The FCP adapter could not log in to the "  in zfcp_fsf_link_down_info_eval()
 207 			 "The WWPN assignment file on the FCP adapter "  in zfcp_fsf_link_down_info_eval()
 212 			 "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 LUN83  * @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
 
 | 
| /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 data55  * @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"
 352 		if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP)  in get_ipl_type()
 425 		return sysfs_emit(page, "0.0.%04x\n", ipl_block.fcp.devno);  in sys_ipl_device_show()
 448 DEFINE_IPL_ATTR_SCP_DATA_RO(ipl_fcp, ipl_block.fcp, PAGE_SIZE);
 472 /* FCP ipl device attributes */
 475 		   (unsigned long long)ipl_block.fcp.wwpn);
 477 		   (unsigned long long)ipl_block.fcp.lun);
 479 		   (unsigned long long)ipl_block.fcp.bootprog);
 481 		   (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 minimal12  * 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/drivers/scsi/lpfc/ | 
| H A D | lpfc_disc.h | 30  * This is used by Fibre Channel protocol to support FCP.111 #define NLP_FCP_TARGET     0x8			/* entry is an FCP target */
 112 #define NLP_FCP_INITIATOR  0x10			/* entry is an FCP Initiator */
 119 						 * FCP (0x8) and NVME (0x28)
 123 #define NLP_FC4_FCP	0x1			/* FC4 Type FCP (value x8)) */
 136 #define NLP_FCP_2_DEVICE   0x10			/* FCP-2 device */
 224  * mapped_list will contain all nodes that are mapped FCP targets.
 239 #define NLP_STE_MAPPED_NODE       0x7	/* Identified as a FCP Target */
 
 | 
| /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;  member55 					fcp.scp_data)
 94 		} fcp;  member
 
 | 
| /linux/sound/firewire/ | 
| H A D | fcp.c | 18 #include "fcp.h"217  * This function sends a FCP command frame to the target and waits for the
 220  * Because it is possible for multiple FCP transactions to be active at the
 277 			dev_err(&t.unit->device, "FCP command timed out\n"); in fcp_avc_transaction()
 296  * the FCP transaction handler that a bus reset has happened.  Any pending FCP
 
 | 
| /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,
 
 | 
| /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 failures235  * @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 layer internal data
 [all …]
 
 | 
| H A D | scsi_transport_fc.h | 34  *  below. Those not appropriate to an fc_host (e.g. FCP initiator) have201  * FCP Initiator. It could be a FCP Target, or exist sole for an IP over FC
 203  * fc_host class object allocated for an FCP Initiator.
 456 	/* fc4 statistics  (only FCP supported currently) */
 462 	u64 fcp_packet_alloc_failures;	/* fcp packet allocation failures */
 463 	u64 fcp_packet_aborts;		/* fcp packet aborted */
 464 	u64 fcp_frame_alloc_failures;	/* fcp frame allocation failures */
 
 | 
| /linux/drivers/s390/char/ | 
| H A D | zcore.c | 313 		TRACE("type:   fcp\n");  in zcore_init()314 		TRACE("devno:  %x\n", ipl_info.data.fcp.dev_id.devno);  in zcore_init()
 315 		TRACE("wwpn:   %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn);  in zcore_init()
 316 		TRACE("lun:    %llx\n", (unsigned long long) ipl_info.data.fcp.lun);  in zcore_init()
 
 | 
| /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 flags238 	FCOE_ERROR_CODE_FCP_RSP_BIDI_FLAGS_SET /* FCP RSP error codes */,
 247 	FCOE_ERROR_CODE_DATA_OOO_RO /* FCP DATA error codes */,
 
 |