fcp 76 arch/s390/boot/ipl_parm.c count = min(size - 1, scpdata_length(ipb->fcp.scp_data, fcp 77 arch/s390/boot/ipl_parm.c ipb->fcp.scp_data_len)); fcp 83 arch/s390/boot/ipl_parm.c if (!isascii(ipb->fcp.scp_data[i])) { fcp 87 arch/s390/boot/ipl_parm.c if (!has_lowercase && islower(ipb->fcp.scp_data[i])) fcp 92 arch/s390/boot/ipl_parm.c memcpy(dest, ipb->fcp.scp_data, count); fcp 95 arch/s390/boot/ipl_parm.c dest[i] = tolower(ipb->fcp.scp_data[i]); fcp 253 arch/s390/boot/ipl_parm.c ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) { fcp 22 arch/s390/include/asm/ipl.h struct ipl_pb0_fcp fcp; fcp 43 arch/s390/include/asm/ipl.h fcp.scp_data) fcp 75 arch/s390/include/asm/ipl.h } fcp; fcp 257 arch/s390/kernel/ipl.c if (ipl_block.fcp.opt == IPL_PB0_FCP_OPT_DUMP) fcp 316 arch/s390/kernel/ipl.c return sprintf(page, "0.0.%04x\n", ipl_block.fcp.devno); fcp 340 arch/s390/kernel/ipl.c unsigned int size = ipl_block.fcp.scp_data_len; fcp 341 arch/s390/kernel/ipl.c void *scp_data = &ipl_block.fcp.scp_data; fcp 357 arch/s390/kernel/ipl.c (unsigned long long)ipl_block.fcp.wwpn); fcp 359 arch/s390/kernel/ipl.c (unsigned long long)ipl_block.fcp.lun); fcp 361 arch/s390/kernel/ipl.c (unsigned long long)ipl_block.fcp.bootprog); fcp 363 arch/s390/kernel/ipl.c (unsigned long long)ipl_block.fcp.br_lba); fcp 579 arch/s390/kernel/ipl.c size_t size = reipl_block_fcp->fcp.scp_data_len; fcp 580 arch/s390/kernel/ipl.c void *scp_data = reipl_block_fcp->fcp.scp_data; fcp 596 arch/s390/kernel/ipl.c memcpy(reipl_block_fcp->fcp.scp_data, buf, count); fcp 599 arch/s390/kernel/ipl.c memset(reipl_block_fcp->fcp.scp_data + scpdata_len, fcp 605 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.len = IPL_BP0_FCP_LEN + scpdata_len; fcp 606 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.scp_data_len = scpdata_len; fcp 620 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.wwpn); fcp 622 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.lun); fcp 624 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.bootprog); fcp 626 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.br_lba); fcp 628 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.devno); fcp 1024 arch/s390/kernel/ipl.c memcpy(reipl_block_fcp->fcp.loadparm, sclp_ipl_info.loadparm, fcp 1029 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.len = IPL_BP0_FCP_LEN; fcp 1030 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.pbt = IPL_PBT_FCP; fcp 1031 arch/s390/kernel/ipl.c reipl_block_fcp->fcp.opt = IPL_PB0_FCP_OPT_IPL; fcp 1097 arch/s390/kernel/ipl.c dump_block_fcp->fcp.wwpn); fcp 1099 arch/s390/kernel/ipl.c dump_block_fcp->fcp.lun); fcp 1101 arch/s390/kernel/ipl.c dump_block_fcp->fcp.bootprog); fcp 1103 arch/s390/kernel/ipl.c dump_block_fcp->fcp.br_lba); fcp 1105 arch/s390/kernel/ipl.c dump_block_fcp->fcp.devno); fcp 1238 arch/s390/kernel/ipl.c dump_block_fcp->fcp.len = IPL_BP0_FCP_LEN; fcp 1239 arch/s390/kernel/ipl.c dump_block_fcp->fcp.pbt = IPL_PBT_FCP; fcp 1240 arch/s390/kernel/ipl.c dump_block_fcp->fcp.opt = IPL_PB0_FCP_OPT_DUMP; fcp 1689 arch/s390/kernel/ipl.c ipl_info.data.fcp.dev_id.ssid = 0; fcp 1690 arch/s390/kernel/ipl.c ipl_info.data.fcp.dev_id.devno = ipl_block.fcp.devno; fcp 1691 arch/s390/kernel/ipl.c ipl_info.data.fcp.wwpn = ipl_block.fcp.wwpn; fcp 1692 arch/s390/kernel/ipl.c ipl_info.data.fcp.lun = ipl_block.fcp.lun; fcp 1005 drivers/media/dvb-frontends/mb86a16.c int fcp; fcp 1043 drivers/media/dvb-frontends/mb86a16.c fcp = 3000; fcp 1123 drivers/media/dvb-frontends/mb86a16.c (ftemp - state->frequency * 1000 >= fcp + state->srate / 4)) fcp 1141 drivers/media/dvb-frontends/mb86a16.c (state->frequency * 1000 - ftemp >= fcp + state->srate / 4)) fcp 1196 drivers/media/dvb-frontends/mb86a16.c if ((signal_dupl == 0) && (swp_freq > 0) && (abs(swp_freq - state->frequency * 1000) < fcp + state->srate / 6)) { fcp 45 drivers/media/platform/rcar-fcp.c struct rcar_fcp_device *fcp; fcp 49 drivers/media/platform/rcar-fcp.c list_for_each_entry(fcp, &fcp_devices, list) { fcp 50 drivers/media/platform/rcar-fcp.c if (fcp->dev->of_node != np) fcp 53 drivers/media/platform/rcar-fcp.c get_device(fcp->dev); fcp 57 drivers/media/platform/rcar-fcp.c fcp = ERR_PTR(-EPROBE_DEFER); fcp 61 drivers/media/platform/rcar-fcp.c return fcp; fcp 71 drivers/media/platform/rcar-fcp.c void rcar_fcp_put(struct rcar_fcp_device *fcp) fcp 73 drivers/media/platform/rcar-fcp.c if (fcp) fcp 74 drivers/media/platform/rcar-fcp.c put_device(fcp->dev); fcp 78 drivers/media/platform/rcar-fcp.c struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) fcp 80 drivers/media/platform/rcar-fcp.c return fcp->dev; fcp 96 drivers/media/platform/rcar-fcp.c int rcar_fcp_enable(struct rcar_fcp_device *fcp) fcp 100 drivers/media/platform/rcar-fcp.c if (!fcp) fcp 103 drivers/media/platform/rcar-fcp.c ret = pm_runtime_get_sync(fcp->dev); fcp 118 drivers/media/platform/rcar-fcp.c void rcar_fcp_disable(struct rcar_fcp_device *fcp) fcp 120 drivers/media/platform/rcar-fcp.c if (fcp) fcp 121 drivers/media/platform/rcar-fcp.c pm_runtime_put(fcp->dev); fcp 131 drivers/media/platform/rcar-fcp.c struct rcar_fcp_device *fcp; fcp 133 drivers/media/platform/rcar-fcp.c fcp = devm_kzalloc(&pdev->dev, sizeof(*fcp), GFP_KERNEL); fcp 134 drivers/media/platform/rcar-fcp.c if (fcp == NULL) fcp 137 drivers/media/platform/rcar-fcp.c fcp->dev = &pdev->dev; fcp 142 drivers/media/platform/rcar-fcp.c list_add_tail(&fcp->list, &fcp_devices); fcp 145 drivers/media/platform/rcar-fcp.c platform_set_drvdata(pdev, fcp); fcp 152 drivers/media/platform/rcar-fcp.c struct rcar_fcp_device *fcp = platform_get_drvdata(pdev); fcp 155 drivers/media/platform/rcar-fcp.c list_del(&fcp->list); fcp 575 drivers/media/platform/rcar_fdp1.c struct rcar_fcp_device *fcp; fcp 2307 drivers/media/platform/rcar_fdp1.c fdp1->fcp = rcar_fcp_get(fcp_node); fcp 2309 drivers/media/platform/rcar_fdp1.c if (IS_ERR(fdp1->fcp)) { fcp 2311 drivers/media/platform/rcar_fdp1.c PTR_ERR(fdp1->fcp)); fcp 2312 drivers/media/platform/rcar_fdp1.c return PTR_ERR(fdp1->fcp); fcp 2412 drivers/media/platform/rcar_fdp1.c rcar_fcp_disable(fdp1->fcp); fcp 2424 drivers/media/platform/rcar_fdp1.c return rcar_fcp_enable(fdp1->fcp); fcp 80 drivers/media/platform/vsp1/vsp1.h struct rcar_fcp_device *fcp; fcp 619 drivers/media/platform/vsp1/vsp1_drv.c rcar_fcp_disable(vsp1->fcp); fcp 635 drivers/media/platform/vsp1/vsp1_drv.c return rcar_fcp_enable(vsp1->fcp); fcp 827 drivers/media/platform/vsp1/vsp1_drv.c vsp1->fcp = rcar_fcp_get(fcp_node); fcp 829 drivers/media/platform/vsp1/vsp1_drv.c if (IS_ERR(vsp1->fcp)) { fcp 831 drivers/media/platform/vsp1/vsp1_drv.c PTR_ERR(vsp1->fcp)); fcp 832 drivers/media/platform/vsp1/vsp1_drv.c return PTR_ERR(vsp1->fcp); fcp 840 drivers/media/platform/vsp1/vsp1_drv.c vsp1->bus_master = rcar_fcp_get_device(vsp1->fcp); fcp 891 drivers/media/platform/vsp1/vsp1_drv.c rcar_fcp_put(vsp1->fcp); fcp 2053 drivers/media/usb/dvb-usb/dib0700_devices.c u32 fcp = 0, fs = 0, fdem = 0, fmem = 0; fcp 2078 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; fcp 2079 drivers/media/usb/dvb-usb/dib0700_devices.c if (fcp > fcp_min && fcp < fcp_max) { fcp 2567 drivers/media/usb/dvb-usb/dib0700_devices.c u32 fcp = 0, fs = 0, fdem = 0; fcp 2592 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; fcp 2593 drivers/media/usb/dvb-usb/dib0700_devices.c if (fcp > fcp_min && fcp < fcp_max) { fcp 2579 drivers/s390/block/dasd_eckd.c struct dasd_ccw_req *fcp; fcp 2670 drivers/s390/block/dasd_eckd.c fcp = dasd_fmalloc_request(DASD_ECKD_MAGIC, cplength, datasize, startdev); fcp 2671 drivers/s390/block/dasd_eckd.c if (IS_ERR(fcp)) fcp 2672 drivers/s390/block/dasd_eckd.c return fcp; fcp 2675 drivers/s390/block/dasd_eckd.c data = fcp->data; fcp 2676 drivers/s390/block/dasd_eckd.c ccw = fcp->cpaddr; fcp 2821 drivers/s390/block/dasd_eckd.c fcp->startdev = startdev; fcp 2822 drivers/s390/block/dasd_eckd.c fcp->memdev = startdev; fcp 2823 drivers/s390/block/dasd_eckd.c fcp->basedev = base; fcp 2824 drivers/s390/block/dasd_eckd.c fcp->retries = 256; fcp 2825 drivers/s390/block/dasd_eckd.c fcp->expires = startdev->default_expires * HZ; fcp 2826 drivers/s390/block/dasd_eckd.c fcp->buildclk = get_tod_clock(); fcp 2827 drivers/s390/block/dasd_eckd.c fcp->status = DASD_CQR_FILLED; fcp 2829 drivers/s390/block/dasd_eckd.c return fcp; fcp 300 drivers/s390/char/zcore.c TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); fcp 301 drivers/s390/char/zcore.c TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); fcp 302 drivers/s390/char/zcore.c TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); fcp 184 drivers/s390/cio/blacklist.c from_ssid = ipl_info.data.fcp.dev_id.ssid; fcp 185 drivers/s390/cio/blacklist.c from = ipl_info.data.fcp.dev_id.devno; fcp 227 drivers/s390/scsi/zfcp_fc.h void zfcp_fc_scsi_to_fcp(struct fcp_cmnd *fcp, struct scsi_cmnd *scsi) fcp 231 drivers/s390/scsi/zfcp_fc.h int_to_scsilun(scsi->device->lun, (struct scsi_lun *) &fcp->fc_lun); fcp 233 drivers/s390/scsi/zfcp_fc.h fcp->fc_pri_ta = FCP_PTA_SIMPLE; fcp 236 drivers/s390/scsi/zfcp_fc.h fcp->fc_flags |= FCP_CFL_RDDATA; fcp 238 drivers/s390/scsi/zfcp_fc.h fcp->fc_flags |= FCP_CFL_WRDATA; fcp 240 drivers/s390/scsi/zfcp_fc.h memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); fcp 243 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); fcp 247 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); fcp 258 drivers/s390/scsi/zfcp_fc.h void zfcp_fc_fcp_tm(struct fcp_cmnd *fcp, struct scsi_device *dev, u8 tm_flags) fcp 260 drivers/s390/scsi/zfcp_fc.h int_to_scsilun(dev->lun, (struct scsi_lun *) &fcp->fc_lun); fcp 261 drivers/s390/scsi/zfcp_fc.h fcp->fc_tm_flags = tm_flags; fcp 308 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_attach(struct bfa_fcp_mod_s *fcp, void *bfad, fcp 311 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcpim_s *fcpim = &fcp->fcpim; fcp 312 drivers/scsi/bfa/bfa_fcpim.c struct bfa_s *bfa = fcp->bfa; fcp 319 drivers/scsi/bfa/bfa_fcpim.c fcpim->fcp = fcp; fcp 334 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_iocdisable(struct bfa_fcp_mod_s *fcp) fcp 336 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcpim_s *fcpim = &fcp->fcpim; fcp 1109 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = fcpim->fcp; fcp 1115 drivers/scsi/bfa/bfa_fcpim.c itnim = (struct bfa_itnim_s *) bfa_mem_kva_curp(fcp); fcp 1137 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *) itnim; fcp 2152 drivers/scsi/bfa/bfa_fcpim.c snsinfo = BFA_SNSINFO_FROM_TAG(ioim->fcpim->fcp, fcp 2744 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = fcpim->fcp; fcp 2751 drivers/scsi/bfa/bfa_fcpim.c ioim = (struct bfa_ioim_s *) bfa_mem_kva_curp(fcp); fcp 2753 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *) (ioim + fcpim->fcp->num_ioim_reqs); fcp 2755 drivers/scsi/bfa/bfa_fcpim.c iosp = (struct bfa_ioim_sp_s *) bfa_mem_kva_curp(fcp); fcp 2757 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *) (iosp + fcpim->fcp->num_ioim_reqs); fcp 2765 drivers/scsi/bfa/bfa_fcpim.c for (i = 0; i < fcpim->fcp->num_ioim_reqs; fcp 2946 drivers/scsi/bfa/bfa_fcpim.c bfa_q_deq(&fcpim->fcp->iotag_ioim_free_q, &iotag); fcp 2982 drivers/scsi/bfa/bfa_fcpim.c (fcpim->fcp->num_ioim_reqs + fcpim->fcp->num_fwtio_reqs))); fcp 2983 drivers/scsi/bfa/bfa_fcpim.c iotag = BFA_IOTAG_FROM_TAG(fcpim->fcp, ioim->iotag); fcp 2985 drivers/scsi/bfa/bfa_fcpim.c if (ioim->iotag < fcpim->fcp->num_ioim_reqs) fcp 2986 drivers/scsi/bfa/bfa_fcpim.c list_add_tail(&iotag->qe, &fcpim->fcp->iotag_ioim_free_q); fcp 2988 drivers/scsi/bfa/bfa_fcpim.c list_add_tail(&iotag->qe, &fcpim->fcp->iotag_tio_free_q); fcp 3510 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = fcpim->fcp; fcp 3516 drivers/scsi/bfa/bfa_fcpim.c tskim = (struct bfa_tskim_s *) bfa_mem_kva_curp(fcp); fcp 3535 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *) tskim; fcp 3633 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3673 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_dma_seg_iter(fcp, seg_ptr, nsegs, idx) { fcp 3691 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3695 drivers/scsi/bfa/bfa_fcpim.c fcp->max_ioim_reqs = cfg->fwcfg.num_ioim_reqs; fcp 3696 drivers/scsi/bfa/bfa_fcpim.c fcp->num_ioim_reqs = cfg->fwcfg.num_ioim_reqs; fcp 3697 drivers/scsi/bfa/bfa_fcpim.c fcp->num_fwtio_reqs = cfg->fwcfg.num_fwtio_reqs; fcp 3698 drivers/scsi/bfa/bfa_fcpim.c fcp->num_itns = cfg->fwcfg.num_rports; fcp 3699 drivers/scsi/bfa/bfa_fcpim.c fcp->bfa = bfa; fcp 3708 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_dma_seg_iter(fcp, seg_ptr, nsegs, idx) { fcp 3713 drivers/scsi/bfa/bfa_fcpim.c fcp->snsbase[idx].pa = bfa_mem_dma_phys(seg_ptr); fcp 3714 drivers/scsi/bfa/bfa_fcpim.c fcp->snsbase[idx].kva = bfa_mem_dma_virt(seg_ptr); fcp 3715 drivers/scsi/bfa/bfa_fcpim.c bfa_iocfc_set_snsbase(bfa, idx, fcp->snsbase[idx].pa); fcp 3718 drivers/scsi/bfa/bfa_fcpim.c fcp->throttle_update_required = 1; fcp 3719 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_attach(fcp, bfad, cfg, pcidev); fcp 3721 drivers/scsi/bfa/bfa_fcpim.c bfa_iotag_attach(fcp); fcp 3723 drivers/scsi/bfa/bfa_fcpim.c fcp->itn_arr = (struct bfa_itn_s *) bfa_mem_kva_curp(fcp); fcp 3724 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *)fcp->itn_arr + fcp 3725 drivers/scsi/bfa/bfa_fcpim.c (fcp->num_itns * sizeof(struct bfa_itn_s)); fcp 3726 drivers/scsi/bfa/bfa_fcpim.c memset(fcp->itn_arr, 0, fcp 3727 drivers/scsi/bfa/bfa_fcpim.c (fcp->num_itns * sizeof(struct bfa_itn_s))); fcp 3733 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3735 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_iocdisable(fcp); fcp 3768 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3771 drivers/scsi/bfa/bfa_fcpim.c itn = BFA_ITN_FROM_TAG(fcp, rport->rport_tag); fcp 3781 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3786 drivers/scsi/bfa/bfa_fcpim.c itn = BFA_ITN_FROM_TAG(fcp, msg.create_rsp->bfa_handle); fcp 3795 drivers/scsi/bfa/bfa_fcpim.c bfa_iotag_attach(struct bfa_fcp_mod_s *fcp) fcp 3800 drivers/scsi/bfa/bfa_fcpim.c iotag = (struct bfa_iotag_s *) bfa_mem_kva_curp(fcp); fcp 3801 drivers/scsi/bfa/bfa_fcpim.c fcp->iotag_arr = iotag; fcp 3803 drivers/scsi/bfa/bfa_fcpim.c INIT_LIST_HEAD(&fcp->iotag_ioim_free_q); fcp 3804 drivers/scsi/bfa/bfa_fcpim.c INIT_LIST_HEAD(&fcp->iotag_tio_free_q); fcp 3805 drivers/scsi/bfa/bfa_fcpim.c INIT_LIST_HEAD(&fcp->iotag_unused_q); fcp 3807 drivers/scsi/bfa/bfa_fcpim.c num_io_req = fcp->num_ioim_reqs + fcp->num_fwtio_reqs; fcp 3811 drivers/scsi/bfa/bfa_fcpim.c if (i < fcp->num_ioim_reqs) fcp 3812 drivers/scsi/bfa/bfa_fcpim.c list_add_tail(&iotag->qe, &fcp->iotag_ioim_free_q); fcp 3814 drivers/scsi/bfa/bfa_fcpim.c list_add_tail(&iotag->qe, &fcp->iotag_tio_free_q); fcp 3817 drivers/scsi/bfa/bfa_fcpim.c bfa_mem_kva_curp(fcp) = (u8 *) iotag; fcp 3831 drivers/scsi/bfa/bfa_fcpim.c struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa); fcp 3838 drivers/scsi/bfa/bfa_fcpim.c if (!fcp->throttle_update_required) fcp 3839 drivers/scsi/bfa/bfa_fcpim.c return (u16)fcp->num_ioim_reqs; fcp 3895 drivers/scsi/bfa/bfa_fcpim.c throttle.cur_value = (u16)(fcpim->fcp->num_ioim_reqs); fcp 3899 drivers/scsi/bfa/bfa_fcpim.c throttle.max_value = (u16)(fcpim->fcp->max_ioim_reqs); fcp 37 drivers/scsi/bfa/bfa_fcpim.h void bfa_iotag_attach(struct bfa_fcp_mod_s *fcp); fcp 111 drivers/scsi/bfa/bfa_fcpim.h struct bfa_fcp_mod_s *fcp; fcp 899 drivers/scsi/fcoe/fcoe.c struct fcp_cmnd *fcp; fcp 907 drivers/scsi/fcoe/fcoe.c fcp = fc_frame_payload_get(fp, sizeof(*fcp)); fcp 908 drivers/scsi/fcoe/fcoe.c if ((fcp->fc_flags & FCP_CFL_WRDATA) && fcp 909 drivers/scsi/fcoe/fcoe.c (ntohl(fcp->fc_dl) > fcoe_ddp_min)) fcp 70 drivers/scsi/qla2xxx/qla_inline.h host_to_fcp_swap(uint8_t *fcp, uint32_t bsize) fcp 72 drivers/scsi/qla2xxx/qla_inline.h uint32_t *ifcp = (uint32_t *) fcp; fcp 73 drivers/scsi/qla2xxx/qla_inline.h uint32_t *ofcp = (uint32_t *) fcp; fcp 79 drivers/scsi/qla2xxx/qla_inline.h return fcp; fcp 105 drivers/target/tcm_fc/tfc_cmd.c struct fcp_resp_with_ext *fcp; fcp 116 drivers/target/tcm_fc/tfc_cmd.c len = sizeof(*fcp) + se_cmd->scsi_sense_length; fcp 123 drivers/target/tcm_fc/tfc_cmd.c fcp = fc_frame_payload_get(fp, len); fcp 124 drivers/target/tcm_fc/tfc_cmd.c memset(fcp, 0, len); fcp 125 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_status = se_cmd->scsi_status; fcp 129 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_flags |= FCP_SNS_LEN_VAL; fcp 130 drivers/target/tcm_fc/tfc_cmd.c fcp->ext.fr_sns_len = htonl(len); fcp 131 drivers/target/tcm_fc/tfc_cmd.c memcpy((fcp + 1), se_cmd->sense_buffer, len); fcp 140 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_flags |= FCP_RESID_OVER; fcp 142 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_flags |= FCP_RESID_UNDER; fcp 143 drivers/target/tcm_fc/tfc_cmd.c fcp->ext.fr_resid = cpu_to_be32(se_cmd->residual_count); fcp 279 drivers/target/tcm_fc/tfc_cmd.c struct fcp_resp_with_ext *fcp; fcp 285 drivers/target/tcm_fc/tfc_cmd.c len = sizeof(*fcp); fcp 291 drivers/target/tcm_fc/tfc_cmd.c fcp = fc_frame_payload_get(fp, len); fcp 292 drivers/target/tcm_fc/tfc_cmd.c memset(fcp, 0, len); fcp 293 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_status = status; fcp 295 drivers/target/tcm_fc/tfc_cmd.c fcp->ext.fr_rsp_len = htonl(sizeof(*info)); fcp 296 drivers/target/tcm_fc/tfc_cmd.c fcp->resp.fr_flags |= FCP_RSP_LEN_VAL; fcp 297 drivers/target/tcm_fc/tfc_cmd.c info = (struct fcp_resp_rsp_info *)(fcp + 1); fcp 338 drivers/target/tcm_fc/tfc_cmd.c struct fcp_cmnd *fcp; fcp 342 drivers/target/tcm_fc/tfc_cmd.c fcp = fc_frame_payload_get(cmd->req_frame, sizeof(*fcp)); fcp 344 drivers/target/tcm_fc/tfc_cmd.c switch (fcp->fc_tm_flags) { fcp 365 drivers/target/tcm_fc/tfc_cmd.c pr_debug("invalid FCP tm_flags %x\n", fcp->fc_tm_flags); fcp 372 drivers/target/tcm_fc/tfc_cmd.c &cmd->ft_sense_buffer[0], scsilun_to_int(&fcp->fc_lun), fcp 495 drivers/target/tcm_fc/tfc_cmd.c struct fcp_cmnd *fcp; fcp 499 drivers/target/tcm_fc/tfc_cmd.c fcp = fc_frame_payload_get(cmd->req_frame, sizeof(*fcp)); fcp 500 drivers/target/tcm_fc/tfc_cmd.c if (!fcp) fcp 503 drivers/target/tcm_fc/tfc_cmd.c if (fcp->fc_flags & FCP_CFL_LEN_MASK) fcp 509 drivers/target/tcm_fc/tfc_cmd.c if (fcp->fc_tm_flags) { fcp 514 drivers/target/tcm_fc/tfc_cmd.c switch (fcp->fc_flags & (FCP_CFL_RDDATA | FCP_CFL_WRDATA)) { fcp 530 drivers/target/tcm_fc/tfc_cmd.c switch (fcp->fc_pri_ta & FCP_PTA_MASK) { fcp 551 drivers/target/tcm_fc/tfc_cmd.c if (target_submit_cmd(&cmd->se_cmd, cmd->sess->se_sess, fcp->fc_cdb, fcp 552 drivers/target/tcm_fc/tfc_cmd.c &cmd->ft_sense_buffer[0], scsilun_to_int(&fcp->fc_lun), fcp 553 drivers/target/tcm_fc/tfc_cmd.c ntohl(fcp->fc_dl), task_attr, data_dir, fcp 17 include/media/rcar-fcp.h void rcar_fcp_put(struct rcar_fcp_device *fcp); fcp 18 include/media/rcar-fcp.h struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp); fcp 19 include/media/rcar-fcp.h int rcar_fcp_enable(struct rcar_fcp_device *fcp); fcp 20 include/media/rcar-fcp.h void rcar_fcp_disable(struct rcar_fcp_device *fcp); fcp 26 include/media/rcar-fcp.h static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { } fcp 27 include/media/rcar-fcp.h static inline struct device *rcar_fcp_get_device(struct rcar_fcp_device *fcp) fcp 31 include/media/rcar-fcp.h static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) fcp 35 include/media/rcar-fcp.h static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { }