Home
last modified time | relevance | path

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

12

/Linux-v6.6/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 …]
DMakefile13 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()
2399 rcar_fcp_put(fdp1->fcp); in fdp1_probe()
2411 rcar_fcp_put(fdp1->fcp); in fdp1_remove()
2418 rcar_fcp_disable(fdp1->fcp); in fdp1_pm_runtime_suspend()
2430 return rcar_fcp_enable(fdp1->fcp); in fdp1_pm_runtime_resume()
/Linux-v6.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 …]
/Linux-v6.6/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.6/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.6/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.6/arch/s390/kernel/
Dipl.c291 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()
447 (unsigned long long)ipl_block.fcp.wwpn);
449 (unsigned long long)ipl_block.fcp.lun);
451 (unsigned long long)ipl_block.fcp.bootprog);
453 (unsigned long long)ipl_block.fcp.br_lba);
782 size_t size = reipl_block_fcp->fcp.scp_data_len; in reipl_fcp_scpdata_read()
783 void *scp_data = reipl_block_fcp->fcp.scp_data; in reipl_fcp_scpdata_read()
[all …]
/Linux-v6.6/arch/s390/include/asm/
Dipl.h23 struct ipl_pb0_fcp fcp; member
55 fcp.scp_data)
94 } fcp; member
/Linux-v6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_drv.c633 rcar_fcp_disable(vsp1->fcp); in vsp1_pm_runtime_suspend()
662 ret = rcar_fcp_enable(vsp1->fcp); in vsp1_pm_runtime_resume()
920 vsp1->fcp = rcar_fcp_get(fcp_node); in vsp1_probe()
922 if (IS_ERR(vsp1->fcp)) { in vsp1_probe()
924 PTR_ERR(vsp1->fcp)); in vsp1_probe()
925 return PTR_ERR(vsp1->fcp); in vsp1_probe()
933 vsp1->bus_master = rcar_fcp_get_device(vsp1->fcp); in vsp1_probe()
982 rcar_fcp_put(vsp1->fcp); in vsp1_probe()
993 rcar_fcp_put(vsp1->fcp); in vsp1_remove()
Dvsp1.h83 struct rcar_fcp_device *fcp; member
/Linux-v6.6/arch/s390/boot/
Dipl_parm.c74 ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) in is_ipl_block_dump()
106 scp_data_len = ipb->fcp.scp_data_len; in ipl_block_get_ascii_scpdata()
107 scp_data = ipb->fcp.scp_data; in ipl_block_get_ascii_scpdata()
/Linux-v6.6/drivers/s390/char/
Dzcore.c317 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); in zcore_init()
318 TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); in zcore_init()
319 TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); in zcore_init()
/Linux-v6.6/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.6/sound/firewire/
DMakefile6 fcp.o cmp.o amdtp-stream.o amdtp-am824.o
/Linux-v6.6/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.6/arch/arm64/boot/dts/renesas/
Dr8a774e1.dtsi2566 renesas,fcp = <&fcpvb1>;
2577 renesas,fcp = <&fcpvb0>;
2588 renesas,fcp = <&fcpvd0>;
2599 renesas,fcp = <&fcpvd1>;
2610 renesas,fcp = <&fcpvi0>;
2621 renesas,fcp = <&fcpvi1>;
2631 renesas,fcp = <&fcpf0>;
2641 renesas,fcp = <&fcpf1>;
2644 fcpf0: fcp@fe950000 {
2652 fcpf1: fcp@fe951000 {
[all …]
Dr8a77951.dtsi2913 renesas,fcp = <&fcpvb1>;
2924 renesas,fcp = <&fcpvb0>;
2935 renesas,fcp = <&fcpvd0>;
2946 renesas,fcp = <&fcpvd1>;
2957 renesas,fcp = <&fcpvd2>;
2968 renesas,fcp = <&fcpvi0>;
2979 renesas,fcp = <&fcpvi1>;
2989 renesas,fcp = <&fcpf0>;
2999 renesas,fcp = <&fcpf1>;
3002 fcpf0: fcp@fe950000 {
[all …]
Dr8a774a1.dtsi2453 renesas,fcp = <&fcpf0>;
2456 fcpf0: fcp@fe950000 {
2464 fcpvb0: fcp@fe96f000 {
2472 fcpvd0: fcp@fea27000 {
2481 fcpvd1: fcp@fea2f000 {
2490 fcpvd2: fcp@fea37000 {
2499 fcpvi0: fcp@fe9af000 {
2516 renesas,fcp = <&fcpvb0>;
2527 renesas,fcp = <&fcpvd0>;
2538 renesas,fcp = <&fcpvd1>;
[all …]
Dr8a774c0.dtsi1750 renesas,fcp = <&fcpvb0>;
1760 renesas,fcp = <&fcpvd0>;
1770 renesas,fcp = <&fcpvd1>;
1780 renesas,fcp = <&fcpvi0>;
1783 fcpvb0: fcp@fe96f000 {
1792 fcpvd0: fcp@fea27000 {
1801 fcpvd1: fcp@fea2f000 {
1810 fcpvi0: fcp@fe9af000 {
Dr8a77960.dtsi2641 renesas,fcp = <&fcpf0>;
2644 fcpf0: fcp@fe950000 {
2652 fcpvb0: fcp@fe96f000 {
2660 fcpvi0: fcp@fe9af000 {
2669 fcpvd0: fcp@fea27000 {
2678 fcpvd1: fcp@fea2f000 {
2687 fcpvd2: fcp@fea37000 {
2704 renesas,fcp = <&fcpvb0>;
2715 renesas,fcp = <&fcpvd0>;
2726 renesas,fcp = <&fcpvd1>;
[all …]
Dr8a77961.dtsi2494 fcpf0: fcp@fe950000 {
2502 fcpvb0: fcp@fe96f000 {
2510 fcpvi0: fcp@fe9af000 {
2519 fcpvd0: fcp@fea27000 {
2528 fcpvd1: fcp@fea2f000 {
2537 fcpvd2: fcp@fea37000 {
2554 renesas,fcp = <&fcpvb0>;
2565 renesas,fcp = <&fcpvd0>;
2576 renesas,fcp = <&fcpvd1>;
2587 renesas,fcp = <&fcpvd2>;
[all …]
Dr8a77995.dtsi1282 renesas,fcp = <&fcpvb0>;
1292 renesas,fcp = <&fcpvd0>;
1302 renesas,fcp = <&fcpvd1>;
1305 fcpvb0: fcp@fe96f000 {
1314 fcpvd0: fcp@fea27000 {
1323 fcpvd1: fcp@fea2f000 {
/Linux-v6.6/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