Home
last modified time | relevance | path

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

/drivers/target/tcm_fc/
Dtfc_cmd.c121 struct fcp_resp_with_ext *fcp; in ft_queue_status() local
132 len = sizeof(*fcp) + se_cmd->scsi_sense_length; in ft_queue_status()
139 fcp = fc_frame_payload_get(fp, len); in ft_queue_status()
140 memset(fcp, 0, len); in ft_queue_status()
141 fcp->resp.fr_status = se_cmd->scsi_status; in ft_queue_status()
145 fcp->resp.fr_flags |= FCP_SNS_LEN_VAL; in ft_queue_status()
146 fcp->ext.fr_sns_len = htonl(len); in ft_queue_status()
147 memcpy((fcp + 1), se_cmd->sense_buffer, len); in ft_queue_status()
156 fcp->resp.fr_flags |= FCP_RESID_OVER; in ft_queue_status()
158 fcp->resp.fr_flags |= FCP_RESID_UNDER; in ft_queue_status()
[all …]
/drivers/s390/scsi/
Dzfcp_fc.h212 void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi, in zfcp_fc_scsi_to_fcp() argument
215 int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); in zfcp_fc_scsi_to_fcp()
218 fcp->fc_tm_flags = tm_flags; in zfcp_fc_scsi_to_fcp()
222 fcp->fc_pri_ta = FCP_PTA_SIMPLE; in zfcp_fc_scsi_to_fcp()
225 fcp->fc_flags |= FCP_CFL_RDDATA; in zfcp_fc_scsi_to_fcp()
227 fcp->fc_flags |= FCP_CFL_WRDATA; in zfcp_fc_scsi_to_fcp()
229 memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); in zfcp_fc_scsi_to_fcp()
231 fcp->fc_dl = scsi_bufflen(scsi); in zfcp_fc_scsi_to_fcp()
234 fcp->fc_dl += fcp->fc_dl / scsi->device->sector_size * 8; in zfcp_fc_scsi_to_fcp()
/drivers/scsi/bfa/
Dbfa_fcpim.c316 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()
1145 bfa_mem_kva_curp(fcp) = (u8 *) itnim; in bfa_itnim_attach()
2159 snsinfo = BFA_SNSINFO_FROM_TAG(ioim->fcpim->fcp, in __bfa_cb_ioim_comp()
[all …]
Dbfa_fcpim.h44 void bfa_iotag_attach(struct bfa_fcp_mod_s *fcp);
118 struct bfa_fcp_mod_s *fcp; member
/drivers/scsi/qla2xxx/
Dqla_inline.h71 host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) in host_to_fcp_swap() argument
73 uint32_t *ifcp = (uint32_t *) fcp; in host_to_fcp_swap()
74 uint32_t *ofcp = (uint32_t *) fcp; in host_to_fcp_swap()
80 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/s390/char/
Dzcore.c651 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); in zcore_init()
652 TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); in zcore_init()
653 TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); in zcore_init()
/drivers/s390/block/
Ddasd_eckd.c2140 struct dasd_ccw_req *fcp; in dasd_eckd_build_format() local
2231 fcp = dasd_smalloc_request(DASD_ECKD_MAGIC, cplength, in dasd_eckd_build_format()
2233 if (IS_ERR(fcp)) in dasd_eckd_build_format()
2234 return fcp; in dasd_eckd_build_format()
2237 data = fcp->data; in dasd_eckd_build_format()
2238 ccw = fcp->cpaddr; in dasd_eckd_build_format()
2383 fcp->startdev = startdev; in dasd_eckd_build_format()
2384 fcp->memdev = startdev; in dasd_eckd_build_format()
2385 fcp->basedev = base; in dasd_eckd_build_format()
2386 fcp->retries = 256; in dasd_eckd_build_format()
[all …]
/drivers/media/dvb-frontends/
Dmb86a16.c1029 int fcp; in mb86a16_set_fe() local
1067 fcp = 3000; in mb86a16_set_fe()
1147 (ftemp - state->frequency * 1000 >= fcp + state->srate / 4)) in mb86a16_set_fe()
1165 (state->frequency * 1000 - ftemp >= fcp + state->srate / 4)) in mb86a16_set_fe()
1220 …if ((signal_dupl == 0) && (swp_freq > 0) && (ABS(swp_freq - state->frequency * 1000) < fcp + state… in mb86a16_set_fe()
/drivers/scsi/fcoe/
Dfcoe.c867 struct fcp_cmnd *fcp; in fcoe_oem_match() local
875 fcp = fc_frame_payload_get(fp, sizeof(*fcp)); in fcoe_oem_match()
876 if ((fcp->fc_flags & FCP_CFL_WRDATA) && in fcoe_oem_match()
877 (ntohl(fcp->fc_dl) > fcoe_ddp_min)) in fcoe_oem_match()
/drivers/media/usb/dvb-usb/
Ddib0700_devices.c2032 u32 fcp = 0, fs = 0, fdem = 0, fmem = 0; in dib8096p_get_best_sampling() local
2057 fcp = xtal / prediv; in dib8096p_get_best_sampling()
2058 if (fcp > fcp_min && fcp < fcp_max) { in dib8096p_get_best_sampling()
2546 u32 fcp = 0, fs = 0, fdem = 0; in dib7090p_get_best_sampling() local
2571 fcp = xtal / prediv; in dib7090p_get_best_sampling()
2572 if (fcp > fcp_min && fcp < fcp_max) { in dib7090p_get_best_sampling()