Home
last modified time | relevance | path

Searched full:fcp (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/kernel/linux/linux-4.19/drivers/media/platform/
Drcar-fcp.c3 * rcar-fcp.c -- R-Car Frame Compression Processor Driver
20 #include <media/rcar-fcp.h>
36 * rcar_fcp_get - Find and acquire a reference to an FCP instance
37 * @np: Device node of the FCP instance
39 * Search the list of registered FCP instances for the instance corresponding to
42 * Return a pointer to the FCP instance, or an ERR_PTR if the instance can't be
47 struct rcar_fcp_device *fcp; in rcar_fcp_get() local
51 list_for_each_entry(fcp, &fcp_devices, list) { in rcar_fcp_get()
52 if (fcp->dev->of_node != np) in rcar_fcp_get()
55 get_device(fcp->dev); in rcar_fcp_get()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/
Drcar-fcp.c3 * rcar-fcp.c -- R-Car Frame Compression Processor Driver
20 #include <media/rcar-fcp.h>
35 * rcar_fcp_get - Find and acquire a reference to an FCP instance
36 * @np: Device node of the FCP instance
38 * Search the list of registered FCP instances for the instance corresponding to
41 * Return a pointer to the FCP instance, or an ERR_PTR if the instance can't be
46 struct rcar_fcp_device *fcp; in rcar_fcp_get() local
50 list_for_each_entry(fcp, &fcp_devices, list) { in rcar_fcp_get()
51 if (fcp->dev->of_node != np) in rcar_fcp_get()
54 get_device(fcp->dev); in rcar_fcp_get()
[all …]
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_cmd.c105 struct fcp_resp_with_ext *fcp; in ft_queue_status() local
116 len = sizeof(*fcp) + se_cmd->scsi_sense_length; in ft_queue_status()
123 fcp = fc_frame_payload_get(fp, len); in ft_queue_status()
124 memset(fcp, 0, len); in ft_queue_status()
125 fcp->resp.fr_status = se_cmd->scsi_status; in ft_queue_status()
129 fcp->resp.fr_flags |= FCP_SNS_LEN_VAL; in ft_queue_status()
130 fcp->ext.fr_sns_len = htonl(len); in ft_queue_status()
131 memcpy((fcp + 1), se_cmd->sense_buffer, len); in ft_queue_status()
140 fcp->resp.fr_flags |= FCP_RESID_OVER; in ft_queue_status()
142 fcp->resp.fr_flags |= FCP_RESID_UNDER; in ft_queue_status()
[all …]
/kernel/linux/linux-4.19/drivers/target/tcm_fc/
Dtfc_cmd.c117 struct fcp_resp_with_ext *fcp; in ft_queue_status() local
128 len = sizeof(*fcp) + se_cmd->scsi_sense_length; in ft_queue_status()
135 fcp = fc_frame_payload_get(fp, len); in ft_queue_status()
136 memset(fcp, 0, len); in ft_queue_status()
137 fcp->resp.fr_status = se_cmd->scsi_status; in ft_queue_status()
141 fcp->resp.fr_flags |= FCP_SNS_LEN_VAL; in ft_queue_status()
142 fcp->ext.fr_sns_len = htonl(len); in ft_queue_status()
143 memcpy((fcp + 1), se_cmd->sense_buffer, len); in ft_queue_status()
152 fcp->resp.fr_flags |= FCP_RESID_OVER; in ft_queue_status()
154 fcp->resp.fr_flags |= FCP_RESID_UNDER; in ft_queue_status()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Drenesas,fcp.yaml4 $id: http://devicetree.org/schemas/media/renesas,fcp.yaml#
7 title: Renesas R-Car Frame Compression Processor (FCP)
13 The FCP is a companion module of video processing modules in the Renesas
18 There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and
19 FCP for FDP (FCPF). Their configuration and behaviour depend on the module
25 - renesas,fcpv # FCP for VSP
26 - renesas,fcpf # FCP for FDP
53 # R8A7795 (R-Car H3) FCP for VSP-D1
58 fcp@fea2f000 {
Drenesas,vsp1.yaml38 renesas,fcp:
41 A phandle referencing the FCP that handles memory accesses for the VSP.
60 renesas,fcp: false
63 - renesas,fcp
95 renesas,fcp = <&fcpvb1>;
Drenesas,fdp1.yaml38 renesas,fcp:
41 A phandle referencing the FCP that handles memory accesses for the FDP1.
67 renesas,fcp = <&fcpf0>;
/kernel/linux/linux-5.10/include/media/
Drcar-fcp.h3 * rcar-fcp.h -- R-Car Frame Compression Processor Driver
17 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);
26 static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { } in rcar_fcp_put() argument
27 static inline struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) in rcar_fcp_get_device() argument
31 static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) in rcar_fcp_enable() argument
35 static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { } in rcar_fcp_disable() argument
/kernel/linux/linux-4.19/include/media/
Drcar-fcp.h2 * rcar-fcp.h -- R-Car Frame Compression Processor Driver
21 void rcar_fcp_put(struct rcar_fcp_device *fcp);
22 struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp);
23 int rcar_fcp_enable(struct rcar_fcp_device *fcp);
24 void rcar_fcp_disable(struct rcar_fcp_device *fcp);
30 static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { } in rcar_fcp_put() argument
31 static inline struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) in rcar_fcp_get_device() argument
35 static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) in rcar_fcp_enable() argument
39 static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { } in rcar_fcp_disable() argument
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/
Drenesas,fcp.txt1 Renesas R-Car Frame Compression Processor (FCP)
4 The FCP is a companion module of video processing modules in the Renesas R-Car
8 There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and FCP
14 - "renesas,fcpv" for generic compatible 'FCP for VSP'
15 - "renesas,fcpf" for generic compatible 'FCP for FDP'
28 fcpvd1: fcp@fea2f000 {
Drenesas,fdp1.txt20 - renesas,fcp: a phandle referencing the FCP that handles memory accesses
36 renesas,fcp = <&fcpf0>;
/kernel/linux/linux-4.19/drivers/s390/scsi/
Dzfcp_fc.h207 * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd
208 * @fcp: fcp_cmnd to setup
212 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() argument
216 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
218 fcp->fc_pri_ta = FCP_PTA_SIMPLE; in zfcp_fc_scsi_to_fcp()
221 fcp->fc_flags |= FCP_CFL_RDDATA; in zfcp_fc_scsi_to_fcp()
223 fcp->fc_flags |= FCP_CFL_WRDATA; in zfcp_fc_scsi_to_fcp()
225 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
228 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp()
232 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp()
[all …]
Dzfcp_ccw.c93 * This function gets called by the common i/o layer for each FCP
155 * Setting an fcp device online means that it will be registered with
169 "FCP adapter failed\n"); in zfcp_ccw_set_online()
255 dev_warn(&cdev->dev, "The FCP device has been detached\n"); in zfcp_ccw_notify()
260 "The CHPID for the FCP device is offline\n"); in zfcp_ccw_notify()
269 dev_info(&cdev->dev, "The FCP device is operational again\n"); in zfcp_ccw_notify()
276 dev_warn(&cdev->dev, "The FCP device did not respond within " in zfcp_ccw_notify()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_fc.h222 * zfcp_fc_scsi_to_fcp - setup FCP command with data from scsi_cmnd
223 * @fcp: fcp_cmnd to setup
227 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) in zfcp_fc_scsi_to_fcp() argument
231 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
233 fcp->fc_pri_ta = FCP_PTA_SIMPLE; in zfcp_fc_scsi_to_fcp()
236 fcp->fc_flags |= FCP_CFL_RDDATA; in zfcp_fc_scsi_to_fcp()
238 fcp->fc_flags |= FCP_CFL_WRDATA; in zfcp_fc_scsi_to_fcp()
240 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
243 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp()
247 fcp->fc_dl = cpu_to_be32(datalen); in zfcp_fc_scsi_to_fcp()
[all …]
Dzfcp_ccw.c93 * This function gets called by the common i/o layer for each FCP
154 * Setting an fcp device online means that it will be registered with
168 "FCP adapter failed\n"); in zfcp_ccw_set_online()
254 dev_warn(&cdev->dev, "The FCP device has been detached\n"); in zfcp_ccw_notify()
259 "The CHPID for the FCP device is offline\n"); in zfcp_ccw_notify()
268 dev_info(&cdev->dev, "The FCP device is operational again\n"); in zfcp_ccw_notify()
275 dev_warn(&cdev->dev, "The FCP device did not respond within " in zfcp_ccw_notify()
/kernel/linux/linux-4.19/include/linux/
Dnvme-fc-driver.h110 * to LLDD in order to perform a NVME FCP IO operation.
114 * @cmdaddr: pointer to the FCP CMD IU buffer
115 * @rspaddr: pointer to the FCP RSP IU buffer
116 * @cmddma: PCI DMA address of the FCP CMD IU buffer
117 * @rspdma: PCI DMA address of the FCP RSP IU buffer
118 * @cmdlen: Length, in bytes, of the FCP CMD IU buffer
119 * @rsplen: Length, in bytes, of the FCP RSP IU buffer
124 * @io_dir: direction of the FCP request (see NVMEFC_FCP_xxx)
127 * the FCP operation. req argument is the pointer to the original
128 * FCP IO operation.
[all …]
/kernel/linux/linux-5.10/include/linux/
Dnvme-fc-driver.h172 * to LLDD in order to perform a NVME FCP IO operation.
176 * @cmdaddr: pointer to the FCP CMD IU buffer
177 * @rspaddr: pointer to the FCP RSP IU buffer
178 * @cmddma: PCI DMA address of the FCP CMD IU buffer
179 * @rspdma: PCI DMA address of the FCP RSP IU buffer
180 * @cmdlen: Length, in bytes, of the FCP CMD IU buffer
181 * @rsplen: Length, in bytes, of the FCP RSP IU buffer
186 * @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 …]
/kernel/linux/linux-4.19/arch/s390/kernel/
Dipl.c38 #define IPL_FCP_STR "fcp"
43 #define DUMP_FCP_STR "fcp"
246 if (ipl_block.ipl_info.fcp.opt == DIAG308_IPL_OPT_DUMP) in get_ipl_type()
336 count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data, in reipl_append_ascii_scpdata()
337 ipb->ipl_info.fcp.scp_data_len)); in reipl_append_ascii_scpdata()
343 if (!isascii(ipb->ipl_info.fcp.scp_data[i])) { in reipl_append_ascii_scpdata()
347 if (!has_lowercase && islower(ipb->ipl_info.fcp.scp_data[i])) in reipl_append_ascii_scpdata()
352 memcpy(dest, ipb->ipl_info.fcp.scp_data, count); in reipl_append_ascii_scpdata()
355 dest[i] = tolower(ipb->ipl_info.fcp.scp_data[i]); in reipl_append_ascii_scpdata()
387 ipl_block.ipl_info.fcp.devno); in sys_ipl_device_show()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dipl.c40 #define IPL_FCP_STR "fcp"
47 #define DUMP_FCP_STR "fcp"
273 if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in get_ipl_type()
337 return sprintf(page, "0.0.%04x\n", ipl_block.fcp.devno); in sys_ipl_device_show()
364 unsigned int size = ipl_block.fcp.scp_data_len; in ipl_scp_data_read()
365 void *scp_data = &ipl_block.fcp.scp_data; in ipl_scp_data_read()
398 /* FCP ipl device attributes */
401 (unsigned long long)ipl_block.fcp.wwpn);
403 (unsigned long long)ipl_block.fcp.lun);
405 (unsigned long long)ipl_block.fcp.bootprog);
[all …]
/kernel/linux/linux-4.19/drivers/scsi/bfa/
Dbfa_fcpim.c289 * BFA FCP Initiator Mode module
293 * Compute and return memory needed by FCP(im) module.
316 bfa_fcpim_attach(struct bfa_fcp_mod_s *fcp, void *bfad, in bfa_fcpim_attach() argument
319 struct bfa_fcpim_s *fcpim = &fcp->fcpim; in bfa_fcpim_attach()
320 struct bfa_s *bfa = fcp->bfa; in bfa_fcpim_attach()
327 fcpim->fcp = fcp; in bfa_fcpim_attach()
342 bfa_fcpim_iocdisable(struct bfa_fcp_mod_s *fcp) in bfa_fcpim_iocdisable() argument
344 struct bfa_fcpim_s *fcpim = &fcp->fcpim; in bfa_fcpim_iocdisable()
1117 struct bfa_fcp_mod_s *fcp = fcpim->fcp; in bfa_itnim_attach() local
1123 itnim = (struct bfa_itnim_s *) bfa_mem_kva_curp(fcp); in bfa_itnim_attach()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcpim.c281 * BFA FCP Initiator Mode module
285 * Compute and return memory needed by FCP(im) module.
308 bfa_fcpim_attach(struct bfa_fcp_mod_s *fcp, void *bfad, in bfa_fcpim_attach() argument
311 struct bfa_fcpim_s *fcpim = &fcp->fcpim; in bfa_fcpim_attach()
312 struct bfa_s *bfa = fcp->bfa; in bfa_fcpim_attach()
319 fcpim->fcp = fcp; in bfa_fcpim_attach()
334 bfa_fcpim_iocdisable(struct bfa_fcp_mod_s *fcp) in bfa_fcpim_iocdisable() argument
336 struct bfa_fcpim_s *fcpim = &fcp->fcpim; in bfa_fcpim_iocdisable()
1109 struct bfa_fcp_mod_s *fcp = fcpim->fcp; in bfa_itnim_attach() local
1115 itnim = (struct bfa_itnim_s *) bfa_mem_kva_curp(fcp); in bfa_itnim_attach()
[all …]
/kernel/linux/linux-4.19/drivers/scsi/libfc/
Dfc_fcp.c70 * struct fc_fcp_internal - FCP layer internal data
71 * @scsi_pkt_pool: Memory pool to draw FCP packets from
73 * @scsi_pkt_queue: Current FCP packets
141 * @lport: The local port that the FCP packet is for
170 * @fsp: The FCP packet to be released
186 * @fsp: The FCP packet to be held
195 * @seq: The sequence that the FCP packet is on (required by destructor API)
196 * @fsp: The FCP packet to be released
211 * @fsp: The FCP packet to be locked and incremented
241 * @fsp: The FCP packet to be unlocked and decremented
[all …]
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_fcp.c58 * struct fc_fcp_internal - FCP layer internal data
59 * @scsi_pkt_pool: Memory pool to draw FCP packets from
61 * @scsi_pkt_queue: Current FCP packets
129 * @lport: The local port that the FCP packet is for
158 * @fsp: The FCP packet to be released
174 * @fsp: The FCP packet to be held
183 * @seq: The sequence that the FCP packet is on (required by destructor API)
184 * @fsp: The FCP packet to be released
199 * @fsp: The FCP packet to be locked and incremented
229 * @fsp: The FCP packet to be unlocked and decremented
[all …]
/kernel/linux/linux-4.19/drivers/scsi/lpfc/
Dlpfc_debugfs.h399 * lpfc_debug_dump_wq - dump all entries from the fcp or nvme work queue
401 * @wqidx: Index to a FCP or NVME work queue.
403 * This function dumps all entries from a FCP or NVME work queue specified
414 qtypestr = "FCP"; in lpfc_debug_dump_wq()
441 * lpfc_debug_dump_cq - dump all entries from a fcp or nvme work queue's
444 * @wqidx: Index to a FCP work queue.
446 * This function dumps all entries from a FCP or NVME completion queue
456 /* fcp/nvme wq and cq are 1:1, thus same indexes */ in lpfc_debug_dump_cq()
461 qtypestr = "FCP"; in lpfc_debug_dump_cq()
507 * lpfc_debug_dump_hba_eq - dump all entries from a fcp work queue's evt queue
[all …]
Dlpfc_disc.h30 * This is used by Fibre Channel protocol to support FCP.
89 #define NLP_FCP_TARGET 0x8 /* entry is an FCP target */
90 #define NLP_FCP_INITIATOR 0x10 /* entry is an FCP Initiator */
97 * FCP (0x8) and NVME (0x28)
101 #define NLP_FC4_FCP 0x1 /* FC4 Type FCP (value x8)) */
114 #define NLP_FCP_2_DEVICE 0x10 /* FCP-2 device */
167 #define NLP_FCP_PRLI_RJT 0x00002000 /* Rport does not support FCP PRLI. */
221 * mapped_list will contain all nodes that are mapped FCP targets.
236 #define NLP_STE_MAPPED_NODE 0x7 /* Identified as a FCP Target */

12345678910>>...14