Home
last modified time | relevance | path

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

/drivers/media/platform/
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 …]
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()
2420 rcar_fcp_disable(fdp1->fcp); in fdp1_pm_runtime_suspend()
2432 return rcar_fcp_enable(fdp1->fcp); in fdp1_pm_runtime_resume()
DMakefile52 obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o
DKconfig513 will be called rcar-fcp.
/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 …]
/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 …]
/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
/drivers/media/platform/vsp1/
Dvsp1_drv.c616 rcar_fcp_disable(vsp1->fcp); in vsp1_pm_runtime_suspend()
632 return rcar_fcp_enable(vsp1->fcp); in vsp1_pm_runtime_resume()
824 vsp1->fcp = rcar_fcp_get(fcp_node); in vsp1_probe()
826 if (IS_ERR(vsp1->fcp)) { in vsp1_probe()
828 PTR_ERR(vsp1->fcp)); in vsp1_probe()
829 return PTR_ERR(vsp1->fcp); in vsp1_probe()
837 vsp1->bus_master = rcar_fcp_get_device(vsp1->fcp); in vsp1_probe()
879 rcar_fcp_put(vsp1->fcp); in vsp1_probe()
890 rcar_fcp_put(vsp1->fcp); in vsp1_remove()
Dvsp1.h80 struct rcar_fcp_device *fcp; member
/drivers/s390/char/
Dzcore.c289 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); in zcore_init()
290 TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); in zcore_init()
291 TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); in zcore_init()
/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()
/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()
/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()
/drivers/scsi/fcoe/
Dfcoe.c897 struct fcp_cmnd *fcp; in fcoe_oem_match() local
905 fcp = fc_frame_payload_get(fp, sizeof(*fcp)); in fcoe_oem_match()
906 if ((fcp->fc_flags & FCP_CFL_WRDATA) && in fcoe_oem_match()
907 (ntohl(fcp->fc_dl) > fcoe_ddp_min)) in fcoe_oem_match()
/drivers/s390/block/
Ddasd_eckd.c2648 struct dasd_ccw_req *fcp; in dasd_eckd_build_format() local
2739 fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); in dasd_eckd_build_format()
2740 if (IS_ERR(fcp)) in dasd_eckd_build_format()
2741 return fcp; in dasd_eckd_build_format()
2744 data = fcp->data; in dasd_eckd_build_format()
2745 ccw = fcp->cpaddr; in dasd_eckd_build_format()
2890 fcp->startdev = startdev; in dasd_eckd_build_format()
2891 fcp->memdev = startdev; in dasd_eckd_build_format()
2892 fcp->basedev = base; in dasd_eckd_build_format()
2893 fcp->retries = 256; in dasd_eckd_build_format()
[all …]
/drivers/media/usb/dvb-usb/
Ddib0700_devices.c2048 u32 fcp = 0, fs = 0, fdem = 0, fmem = 0; in dib8096p_get_best_sampling() local
2073 fcp = xtal / prediv; in dib8096p_get_best_sampling()
2074 if (fcp > fcp_min && fcp < fcp_max) { in dib8096p_get_best_sampling()
2562 u32 fcp = 0, fs = 0, fdem = 0; in dib7090p_get_best_sampling() local
2587 fcp = xtal / prediv; in dib7090p_get_best_sampling()
2588 if (fcp > fcp_min && fcp < fcp_max) { in dib7090p_get_best_sampling()