Home
last modified time | relevance | path

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

12345678910>>...15

/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-6.6/drivers/media/platform/renesas/
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-6.6/drivers/target/tcm_fc/
Dtfc_cmd.c104 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 …]
/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-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-6.6/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
26 - renesas,fcpv # FCP for VSP
27 - renesas,fcpf # FCP for FDP
32 - const: renesas,fcpv # Generic FCP for VSP fallback
88 # R8A7795 (R-Car H3) FCP for VSP-D1
93 fcp@fea2f000 {
Drenesas,vsp1.yaml44 renesas,fcp:
47 A phandle referencing the FCP that handles memory accesses for the VSP.
67 renesas,fcp: false
70 - renesas,fcp
127 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-6.6/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-5.10/drivers/s390/scsi/
Dzfcp_fc.h224 * 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 …]
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-6.6/drivers/s390/scsi/
Dzfcp_fc.h224 * 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 …]
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()
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()
/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-6.6/include/linux/
Dnvme-fc-driver.h173 * 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 …]
/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-6.6/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-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-6.6/drivers/scsi/libfc/
Dfc_fcp.c54 * 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 …]
/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-6.6/arch/s390/kernel/
Dipl.c45 #define IPL_FCP_STR "fcp"
53 #define DUMP_FCP_STR "fcp"
291 if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in get_ipl_type()
364 return sprintf(page, "0.0.%04x\n", ipl_block.fcp.devno); in sys_ipl_device_show()
391 unsigned int size = ipl_block.fcp.scp_data_len; in ipl_scp_data_read()
392 void *scp_data = &ipl_block.fcp.scp_data; in ipl_scp_data_read()
444 /* FCP ipl device attributes */
447 (unsigned long long)ipl_block.fcp.wwpn);
449 (unsigned long long)ipl_block.fcp.lun);
451 (unsigned long long)ipl_block.fcp.bootprog);
[all …]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_disc.h30 * This is used by Fibre Channel protocol to support FCP.
90 #define NLP_FCP_TARGET 0x8 /* entry is an FCP target */
91 #define NLP_FCP_INITIATOR 0x10 /* entry is an FCP Initiator */
98 * FCP (0x8) and NVME (0x28)
102 #define NLP_FC4_FCP 0x1 /* FC4 Type FCP (value x8)) */
115 #define NLP_FCP_2_DEVICE 0x10 /* FCP-2 device */
173 #define NLP_FCP_PRLI_RJT 0x00002000 /* Rport does not support FCP PRLI. */
228 * mapped_list will contain all nodes that are mapped FCP targets.
243 #define NLP_STE_MAPPED_NODE 0x7 /* Identified as a FCP Target */

12345678910>>...15