Home
last modified time | relevance | path

Searched refs:fcp (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.1/drivers/media/platform/renesas/
Drcar-fcp.c46 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()
58 fcp = ERR_PTR(-EPROBE_DEFER); in rcar_fcp_get()
62 return fcp; in rcar_fcp_get()
72 void rcar_fcp_put(struct rcar_fcp_device *fcp) in rcar_fcp_put() argument
74 if (fcp) in rcar_fcp_put()
75 put_device(fcp->dev); in rcar_fcp_put()
79 struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) in rcar_fcp_get_device() argument
[all …]
DMakefile12 obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o
Drcar_fdp1.c575 struct rcar_fcp_device *fcp; member
2305 fdp1->fcp = rcar_fcp_get(fcp_node); in fdp1_probe()
2307 if (IS_ERR(fdp1->fcp)) { in fdp1_probe()
2309 PTR_ERR(fdp1->fcp)); in fdp1_probe()
2310 return PTR_ERR(fdp1->fcp); in fdp1_probe()
2415 rcar_fcp_disable(fdp1->fcp); in fdp1_pm_runtime_suspend()
2427 return rcar_fcp_enable(fdp1->fcp); in fdp1_pm_runtime_resume()
/Linux-v6.1/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 …]
/Linux-v6.1/include/media/
Drcar-fcp.h17 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
/Linux-v6.1/drivers/s390/scsi/
Dzfcp_fc.h229 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()
260 void zfcp_fc_fcp_tm(struct fcp_cmnd *fcp, struct scsi_device *dev, u8 tm_flags) in zfcp_fc_fcp_tm() argument
262 int_to_scsilun(dev->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_fcp_tm()
[all …]
/Linux-v6.1/drivers/scsi/bfa/
Dbfa_fcpim.c308 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()
1137 bfa_mem_kva_curp(fcp) = (u8 *) itnim; in bfa_itnim_attach()
2152 snsinfo = BFA_SNSINFO_FROM_TAG(ioim->fcpim->fcp, in __bfa_cb_ioim_comp()
[all …]
Dbfa_fcpim.h37 void bfa_iotag_attach(struct bfa_fcp_mod_s *fcp);
111 struct bfa_fcp_mod_s *fcp; member
/Linux-v6.1/arch/s390/kernel/
Dipl.c275 if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in get_ipl_type()
339 return sprintf(page, "0.0.%04x\n", ipl_block.fcp.devno); in sys_ipl_device_show()
366 unsigned int size = ipl_block.fcp.scp_data_len; in ipl_scp_data_read()
367 void *scp_data = &ipl_block.fcp.scp_data; in ipl_scp_data_read()
403 (unsigned long long)ipl_block.fcp.wwpn);
405 (unsigned long long)ipl_block.fcp.lun);
407 (unsigned long long)ipl_block.fcp.bootprog);
409 (unsigned long long)ipl_block.fcp.br_lba);
657 size_t size = reipl_block_fcp->fcp.scp_data_len; in reipl_fcp_scpdata_read()
658 void *scp_data = reipl_block_fcp->fcp.scp_data; in reipl_fcp_scpdata_read()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/renesas/
Dr8a77950.dtsi132 renesas,fcp = <&fcpf2>;
135 fcpf2: fcp@fe952000 {
144 fcpvd3: fcp@fea3f000 {
153 fcpvi2: fcp@fe9cf000 {
170 renesas,fcp = <&fcpvd3>;
181 renesas,fcp = <&fcpvi2>;
Dr8a774e1.dtsi2562 renesas,fcp = <&fcpvb1>;
2573 renesas,fcp = <&fcpvb0>;
2584 renesas,fcp = <&fcpvd0>;
2595 renesas,fcp = <&fcpvd1>;
2606 renesas,fcp = <&fcpvi0>;
2617 renesas,fcp = <&fcpvi1>;
2627 renesas,fcp = <&fcpf0>;
2637 renesas,fcp = <&fcpf1>;
2640 fcpf0: fcp@fe950000 {
2648 fcpf1: fcp@fe951000 {
[all …]
Dr8a77951.dtsi2910 renesas,fcp = <&fcpvb1>;
2921 renesas,fcp = <&fcpvb0>;
2932 renesas,fcp = <&fcpvd0>;
2943 renesas,fcp = <&fcpvd1>;
2954 renesas,fcp = <&fcpvd2>;
2965 renesas,fcp = <&fcpvi0>;
2976 renesas,fcp = <&fcpvi1>;
2986 renesas,fcp = <&fcpf0>;
2996 renesas,fcp = <&fcpf1>;
2999 fcpf0: fcp@fe950000 {
[all …]
Dr8a774a1.dtsi2449 renesas,fcp = <&fcpf0>;
2452 fcpf0: fcp@fe950000 {
2460 fcpvb0: fcp@fe96f000 {
2468 fcpvd0: fcp@fea27000 {
2477 fcpvd1: fcp@fea2f000 {
2486 fcpvd2: fcp@fea37000 {
2495 fcpvi0: fcp@fe9af000 {
2512 renesas,fcp = <&fcpvb0>;
2523 renesas,fcp = <&fcpvd0>;
2534 renesas,fcp = <&fcpvd1>;
[all …]
Dr8a774c0.dtsi1751 renesas,fcp = <&fcpvb0>;
1761 renesas,fcp = <&fcpvd0>;
1771 renesas,fcp = <&fcpvd1>;
1781 renesas,fcp = <&fcpvi0>;
1784 fcpvb0: fcp@fe96f000 {
1793 fcpvd0: fcp@fea27000 {
1802 fcpvd1: fcp@fea2f000 {
1811 fcpvi0: fcp@fe9af000 {
Dr8a77960.dtsi2639 renesas,fcp = <&fcpf0>;
2642 fcpf0: fcp@fe950000 {
2650 fcpvb0: fcp@fe96f000 {
2658 fcpvi0: fcp@fe9af000 {
2667 fcpvd0: fcp@fea27000 {
2676 fcpvd1: fcp@fea2f000 {
2685 fcpvd2: fcp@fea37000 {
2702 renesas,fcp = <&fcpvb0>;
2713 renesas,fcp = <&fcpvd0>;
2724 renesas,fcp = <&fcpvd1>;
[all …]
Dr8a77961.dtsi2492 fcpf0: fcp@fe950000 {
2500 fcpvb0: fcp@fe96f000 {
2508 fcpvi0: fcp@fe9af000 {
2517 fcpvd0: fcp@fea27000 {
2526 fcpvd1: fcp@fea2f000 {
2535 fcpvd2: fcp@fea37000 {
2552 renesas,fcp = <&fcpvb0>;
2563 renesas,fcp = <&fcpvd0>;
2574 renesas,fcp = <&fcpvd1>;
2585 renesas,fcp = <&fcpvd2>;
[all …]
/Linux-v6.1/arch/s390/include/asm/
Dipl.h23 struct ipl_pb0_fcp fcp; member
50 fcp.scp_data)
84 } fcp; member
/Linux-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_drv.c625 rcar_fcp_disable(vsp1->fcp); in vsp1_pm_runtime_suspend()
654 ret = rcar_fcp_enable(vsp1->fcp); in vsp1_pm_runtime_resume()
912 vsp1->fcp = rcar_fcp_get(fcp_node); in vsp1_probe()
914 if (IS_ERR(vsp1->fcp)) { in vsp1_probe()
916 PTR_ERR(vsp1->fcp)); in vsp1_probe()
917 return PTR_ERR(vsp1->fcp); in vsp1_probe()
925 vsp1->bus_master = rcar_fcp_get_device(vsp1->fcp); in vsp1_probe()
974 rcar_fcp_put(vsp1->fcp); in vsp1_probe()
985 rcar_fcp_put(vsp1->fcp); in vsp1_remove()
Dvsp1.h83 struct rcar_fcp_device *fcp; member
/Linux-v6.1/drivers/s390/char/
Dzcore.c278 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); in zcore_init()
279 TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); in zcore_init()
280 TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); in zcore_init()
/Linux-v6.1/arch/s390/boot/
Dipl_parm.c75 ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in is_ipl_block_dump()
104 scp_data_len = ipb->fcp.scp_data_len; in ipl_block_get_ascii_scpdata()
105 scp_data = ipb->fcp.scp_data; in ipl_block_get_ascii_scpdata()
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_inline.h69 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) in host_to_fcp_swap() argument
71 uint32_t *ifcp = (uint32_t *) fcp; in host_to_fcp_swap()
72 uint32_t *ofcp = (uint32_t *) fcp; in host_to_fcp_swap()
78 return fcp; in host_to_fcp_swap()
/Linux-v6.1/sound/firewire/
DMakefile6 fcp.o cmp.o amdtp-stream.o amdtp-am824.o
/Linux-v6.1/drivers/s390/cio/
Dblacklist.c184 from_ssid = ipl_info.data.fcp.dev_id.ssid; in blacklist_parse_parameters()
185 from = ipl_info.data.fcp.dev_id.devno; in blacklist_parse_parameters()
/Linux-v6.1/drivers/media/dvb-frontends/
Dmb86a16.c1005 int fcp; in mb86a16_set_fe() local
1043 fcp = 3000; in mb86a16_set_fe()
1123 (ftemp - state->frequency * 1000 >= fcp + state->srate / 4)) in mb86a16_set_fe()
1141 (state->frequency * 1000 - ftemp >= fcp + state->srate / 4)) in mb86a16_set_fe()
1196 …if ((signal_dupl == 0) && (swp_freq > 0) && (abs(swp_freq - state->frequency * 1000) < fcp + state… in mb86a16_set_fe()

12