un 175 arch/arm/mm/alignment.c unsigned long un; un 330 arch/arm/mm/alignment.c offset.un = -offset.un; un 333 arch/arm/mm/alignment.c addr += offset.un; un 752 arch/arm/mm/alignment.c poffset->un = (tinst2 & 0xff) << 2; un 856 arch/arm/mm/alignment.c offset.un = (instr & 0xf00) >> 4 | (instr & 15); un 858 arch/arm/mm/alignment.c offset.un = regs->uregs[RM_BITS(instr)]; un 875 arch/arm/mm/alignment.c offset.un = OFFSET_BITS(instr); un 880 arch/arm/mm/alignment.c offset.un = regs->uregs[RM_BITS(instr)]; un 887 arch/arm/mm/alignment.c offset.un <<= shiftval; un 891 arch/arm/mm/alignment.c offset.un >>= shiftval; un 900 arch/arm/mm/alignment.c offset.un >>= 1; un 902 arch/arm/mm/alignment.c offset.un |= 1 << 31; un 904 arch/arm/mm/alignment.c offset.un = offset.un >> shiftval | un 905 arch/arm/mm/alignment.c offset.un << (32 - shiftval); un 914 arch/arm/mm/alignment.c offset.un = 0; un 917 arch/arm/mm/alignment.c offset.un = 0; un 267 arch/m68k/include/asm/traps.h } un; un 65 arch/m68k/kernel/signal.c #define FMT4SIZE sizeof(((struct frame *)0)->un.fmt4) un 70 arch/m68k/kernel/signal.c [2] = sizeof(((struct frame *)0)->un.fmt2), un 71 arch/m68k/kernel/signal.c [3] = sizeof(((struct frame *)0)->un.fmt3), un 75 arch/m68k/kernel/signal.c [7] = sizeof(((struct frame *)0)->un.fmt7), un 77 arch/m68k/kernel/signal.c [9] = sizeof(((struct frame *)0)->un.fmt9), un 78 arch/m68k/kernel/signal.c [10] = sizeof(((struct frame *)0)->un.fmta), un 79 arch/m68k/kernel/signal.c [11] = sizeof(((struct frame *)0)->un.fmtb), un 655 arch/m68k/kernel/signal.c unsigned long buf[sizeof(((struct frame *)0)->un) / 2]; un 135 arch/m68k/kernel/traps.c unsigned long fslw = fp->un.fmt4.pc; /* is really FSLW for access error */ un 137 arch/m68k/kernel/traps.c pr_debug("fslw=%#lx, fa=%#lx\n", fslw, fp->un.fmt4.effaddr); un 152 arch/m68k/kernel/traps.c unsigned long addr = fp->un.fmt4.effaddr; un 174 arch/m68k/kernel/traps.c fp->un.fmt4.effaddr); un 237 arch/m68k/kernel/traps.c fp->un.fmt7.faddr = wba; un 238 arch/m68k/kernel/traps.c fp->un.fmt7.ssw = wbs & 0xff; un 240 arch/m68k/kernel/traps.c fp->un.fmt7.ssw |= MA_040; un 247 arch/m68k/kernel/traps.c if (fp->un.fmt7.wb1s & WBV_040) un 251 arch/m68k/kernel/traps.c if ((fp->un.fmt7.wb2s & WBV_040) && un 252 arch/m68k/kernel/traps.c !(fp->un.fmt7.wb2s & WBTT_040)) { un 253 arch/m68k/kernel/traps.c res = do_040writeback1(fp->un.fmt7.wb2s, fp->un.fmt7.wb2a, un 254 arch/m68k/kernel/traps.c fp->un.fmt7.wb2d); un 256 arch/m68k/kernel/traps.c fix_xframe040(fp, fp->un.fmt7.wb2a, fp->un.fmt7.wb2s); un 258 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s = 0; un 262 arch/m68k/kernel/traps.c if (fp->un.fmt7.wb3s & WBV_040 && (!res || fp->un.fmt7.wb3s & 4)) { un 263 arch/m68k/kernel/traps.c res = do_040writeback1(fp->un.fmt7.wb3s, fp->un.fmt7.wb3a, un 264 arch/m68k/kernel/traps.c fp->un.fmt7.wb3d); un 267 arch/m68k/kernel/traps.c fix_xframe040(fp, fp->un.fmt7.wb3a, fp->un.fmt7.wb3s); un 269 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s = fp->un.fmt7.wb3s; un 270 arch/m68k/kernel/traps.c fp->un.fmt7.wb3s &= (~WBV_040); un 271 arch/m68k/kernel/traps.c fp->un.fmt7.wb2a = fp->un.fmt7.wb3a; un 272 arch/m68k/kernel/traps.c fp->un.fmt7.wb2d = fp->un.fmt7.wb3d; un 275 arch/m68k/kernel/traps.c fp->un.fmt7.wb3s = 0; un 290 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s &= ~4; un 291 arch/m68k/kernel/traps.c fp->un.fmt7.wb3s &= ~4; un 298 arch/m68k/kernel/traps.c unsigned short ssw = fp->un.fmt7.ssw; un 301 arch/m68k/kernel/traps.c pr_debug("ssw=%#x, fa=%#lx\n", ssw, fp->un.fmt7.faddr); un 302 arch/m68k/kernel/traps.c pr_debug("wb1s=%#x, wb2s=%#x, wb3s=%#x\n", fp->un.fmt7.wb1s, un 303 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s, fp->un.fmt7.wb3s); un 305 arch/m68k/kernel/traps.c fp->un.fmt7.wb2a, fp->un.fmt7.wb3a, un 306 arch/m68k/kernel/traps.c fp->un.fmt7.wb2d, fp->un.fmt7.wb3d); un 309 arch/m68k/kernel/traps.c unsigned long addr = fp->un.fmt7.faddr; un 347 arch/m68k/kernel/traps.c if (fp->un.fmt7.wb2a == fp->un.fmt7.faddr) un 348 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s &= ~WBV_040; un 349 arch/m68k/kernel/traps.c if (fp->un.fmt7.wb3a == fp->un.fmt7.faddr) un 350 arch/m68k/kernel/traps.c fp->un.fmt7.wb3s &= ~WBV_040; un 358 arch/m68k/kernel/traps.c current->thread.faddr = fp->un.fmt7.faddr; un 361 arch/m68k/kernel/traps.c fp->un.fmt7.faddr); un 380 arch/m68k/kernel/traps.c unsigned short ssw = fp->un.fmtb.ssw; un 386 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 un 388 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); un 392 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, un 403 arch/m68k/kernel/traps.c if (mmu_emu_handle_fault (fp->un.fmtb.daddr, ssw & RW, 0)) un 412 arch/m68k/kernel/traps.c if (mmu_emu_handle_fault (fp->un.fmtb.daddr, ssw & RW, 1)) un 428 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, un 447 arch/m68k/kernel/traps.c addr = fp->un.fmtb.daddr; un 487 arch/m68k/kernel/traps.c addr = fp->un.fmtb.baddr; un 506 arch/m68k/kernel/traps.c unsigned short ssw = fp->un.fmtb.ssw; un 517 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2 un 519 arch/m68k/kernel/traps.c fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); un 523 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, un 531 arch/m68k/kernel/traps.c addr = fp->un.fmtb.daddr; un 556 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, un 632 arch/m68k/kernel/traps.c addr = fp->un.fmtb.baddr; un 636 arch/m68k/kernel/traps.c if ((ssw & DF) && ((addr ^ fp->un.fmtb.daddr) & PAGE_MASK) == 0) un 864 arch/m68k/kernel/traps.c addr = (unsigned long)&fp->un; un 868 arch/m68k/kernel/traps.c pr_cont("instr addr=%08lx\n", fp->un.fmt2.iaddr); un 869 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmt2); un 872 arch/m68k/kernel/traps.c pr_cont("eff addr=%08lx\n", fp->un.fmt3.effaddr); un 873 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmt3); un 878 arch/m68k/kernel/traps.c fp->un.fmt4.effaddr, fp->un.fmt4.pc); un 881 arch/m68k/kernel/traps.c fp->un.fmt4.effaddr, fp->un.fmt4.pc); un 882 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmt4); un 886 arch/m68k/kernel/traps.c fp->un.fmt7.effaddr, fp->un.fmt7.ssw, fp->un.fmt7.faddr); un 888 arch/m68k/kernel/traps.c fp->un.fmt7.wb1s, fp->un.fmt7.wb1a, fp->un.fmt7.wb1dpd0); un 890 arch/m68k/kernel/traps.c fp->un.fmt7.wb2s, fp->un.fmt7.wb2a, fp->un.fmt7.wb2d); un 892 arch/m68k/kernel/traps.c fp->un.fmt7.wb3s, fp->un.fmt7.wb3a, fp->un.fmt7.wb3d); un 894 arch/m68k/kernel/traps.c fp->un.fmt7.wb1dpd0, fp->un.fmt7.pd1, fp->un.fmt7.pd2, un 895 arch/m68k/kernel/traps.c fp->un.fmt7.pd3); un 896 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmt7); un 899 arch/m68k/kernel/traps.c pr_cont("instr addr=%08lx\n", fp->un.fmt9.iaddr); un 900 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmt9); un 904 arch/m68k/kernel/traps.c fp->un.fmta.ssw, fp->un.fmta.isc, fp->un.fmta.isb, un 905 arch/m68k/kernel/traps.c fp->un.fmta.daddr, fp->un.fmta.dobuf); un 906 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmta); un 910 arch/m68k/kernel/traps.c fp->un.fmtb.ssw, fp->un.fmtb.isc, fp->un.fmtb.isb, un 911 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, fp->un.fmtb.dobuf); un 913 arch/m68k/kernel/traps.c fp->un.fmtb.baddr, fp->un.fmtb.dibuf, fp->un.fmtb.ver); un 914 arch/m68k/kernel/traps.c addr += sizeof(fp->un.fmtb); un 986 arch/m68k/kernel/traps.c unsigned short ssw = fp->un.fmtb.ssw; un 993 arch/m68k/kernel/traps.c fp->ptregs.pc + 2 : fp->un.fmtb.baddr - 2); un 997 arch/m68k/kernel/traps.c fp->ptregs.pc + 4 : fp->un.fmtb.baddr); un 1001 arch/m68k/kernel/traps.c fp->un.fmtb.daddr, space_names[ssw & DFC], un 1115 arch/m68k/kernel/traps.c addr = (void __user *) fp->un.fmt2.iaddr; un 1118 arch/m68k/kernel/traps.c addr = (void __user *) fp->un.fmt7.effaddr; un 1121 arch/m68k/kernel/traps.c addr = (void __user *) fp->un.fmt9.iaddr; un 1124 arch/m68k/kernel/traps.c addr = (void __user *) fp->un.fmta.daddr; un 1127 arch/m68k/kernel/traps.c addr = (void __user*) fp->un.fmtb.daddr; un 56 arch/unicore32/mm/alignment.c unsigned long un; un 202 arch/unicore32/mm/alignment.c offset.un = -offset.un; un 205 arch/unicore32/mm/alignment.c addr += offset.un; un 377 arch/unicore32/mm/alignment.c offset.un = (instr & 0x3e00) >> 4 | (instr & 31); un 379 arch/unicore32/mm/alignment.c offset.un = regs->uregs[RM_BITS(instr)]; un 387 arch/unicore32/mm/alignment.c offset.un = OFFSET_BITS(instr); un 392 arch/unicore32/mm/alignment.c offset.un = regs->uregs[RM_BITS(instr)]; un 398 arch/unicore32/mm/alignment.c offset.un <<= shiftval; un 402 arch/unicore32/mm/alignment.c offset.un >>= shiftval; un 411 arch/unicore32/mm/alignment.c offset.un >>= 1; un 413 arch/unicore32/mm/alignment.c offset.un |= 1 << 31; un 415 arch/unicore32/mm/alignment.c offset.un = offset.un >> shiftval | un 416 arch/unicore32/mm/alignment.c offset.un << (32 - shiftval); un 112 drivers/clk/clk-cdce925.c unsigned long un; un 130 drivers/clk/clk-cdce925.c un = rate / g; un 132 drivers/clk/clk-cdce925.c while ((un > 4095) || (um > 511)) { un 133 drivers/clk/clk-cdce925.c un >>= 1; un 136 drivers/clk/clk-cdce925.c if (un == 0) un 137 drivers/clk/clk-cdce925.c un = 1; un 141 drivers/clk/clk-cdce925.c *n = un; un 88 drivers/scsi/csiostor/csio_wr.c csio_wr_reg32(hw, DBPRIO_F | QID_V(flq->un.fl.flid) | un 120 drivers/scsi/csiostor/csio_wr.c struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; un 122 drivers/scsi/csiostor/csio_wr.c int sreg = flq->un.fl.sreg; un 255 drivers/scsi/csiostor/csio_wr.c q->un.iq.genbit = 1; un 278 drivers/scsi/csiostor/csio_wr.c q->un.iq.flq_idx = flq_idx; un 280 drivers/scsi/csiostor/csio_wr.c flq = wrm->q_arr[q->un.iq.flq_idx]; un 281 drivers/scsi/csiostor/csio_wr.c flq->un.fl.bufs = kcalloc(flq->credits, un 284 drivers/scsi/csiostor/csio_wr.c if (!flq->un.fl.bufs) { un 291 drivers/scsi/csiostor/csio_wr.c flq->un.fl.packen = 0; un 292 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset = 0; un 293 drivers/scsi/csiostor/csio_wr.c flq->un.fl.sreg = sreg; un 306 drivers/scsi/csiostor/csio_wr.c q->un.iq.flq_idx = -1; un 310 drivers/scsi/csiostor/csio_wr.c q->un.iq.iq_intx_handler = iq_intx_handler; un 489 drivers/scsi/csiostor/csio_wr.c iqp.fl0packen = flq->un.fl.packen ? 1 : 0; un 771 drivers/scsi/csiostor/csio_wr.c q->un.iq.genbit = 1; un 990 drivers/scsi/csiostor/csio_wr.c csio_wr_reg32(hw, DBPRIO_V(prio) | QID_V(q->un.eq.physeqid) | un 1054 drivers/scsi/csiostor/csio_wr.c struct csio_q *flq = hw->wrm.q_arr[q->un.iq.flq_idx]; un 1061 drivers/scsi/csiostor/csio_wr.c if (flq->un.fl.offset > 0) { un 1063 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset = 0; un 1074 drivers/scsi/csiostor/csio_wr.c buf = &flq->un.fl.bufs[flq->cidx]; un 1080 drivers/scsi/csiostor/csio_wr.c flb.offset = flq->un.fl.offset; un 1090 drivers/scsi/csiostor/csio_wr.c flb.defer_free = flq->un.fl.packen ? 0 : 1; un 1095 drivers/scsi/csiostor/csio_wr.c if (flq->un.fl.packen) un 1096 drivers/scsi/csiostor/csio_wr.c flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); un 1113 drivers/scsi/csiostor/csio_wr.c return (q->un.iq.genbit == (ftr->u.type_gen >> IQWRF_GEN_SHIFT)); un 1140 drivers/scsi/csiostor/csio_wr.c wrm->q_arr[q->un.iq.flq_idx] : NULL; un 1184 drivers/scsi/csiostor/csio_wr.c q_completed->un.iq.iq_intx_handler); un 1187 drivers/scsi/csiostor/csio_wr.c q_completed->un.iq.iq_intx_handler(hw, NULL, un 1210 drivers/scsi/csiostor/csio_wr.c q->un.iq.genbit ^= 0x1; un 1251 drivers/scsi/csiostor/csio_wr.c INGRESSQID_V(q->un.iq.physiqid) | un 1698 drivers/scsi/csiostor/csio_wr.c if (!q->un.fl.bufs) un 1701 drivers/scsi/csiostor/csio_wr.c buf = &q->un.fl.bufs[j]; un 1708 drivers/scsi/csiostor/csio_wr.c kfree(q->un.fl.bufs); un 413 drivers/scsi/csiostor/csio_wr.h } un; un 463 drivers/scsi/csiostor/csio_wr.h #define csio_q_iqid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.iq.iqid) un 465 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.iq.physiqid) un 467 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.iq.flq_idx) un 468 drivers/scsi/csiostor/csio_wr.h #define csio_q_eqid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.eqid) un 469 drivers/scsi/csiostor/csio_wr.h #define csio_q_flid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.fl.flid) un 472 drivers/scsi/csiostor/csio_wr.h ((__hw)->wrm.q_arr[(__idx)]->un.eq.physeqid) un 473 drivers/scsi/csiostor/csio_wr.h #define csio_iq_has_fl(__iq) ((__iq)->un.iq.flq_idx != -1) un 476 drivers/scsi/csiostor/csio_wr.h csio_q_flid((__hw), (__hw)->wrm.q_arr[(__iq_qidx)]->un.iq.flq_idx) un 479 drivers/scsi/csiostor/csio_wr.h #define csio_q_eq_wrap(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.wrap) un 1687 drivers/scsi/lpfc/lpfc_attr.c &mbox->u.mqe.un.set_trunk_mode, un 1879 drivers/scsi/lpfc/lpfc_attr.c rd_config = &pmboxq->u.mqe.un.rd_config; un 1906 drivers/scsi/lpfc/lpfc_attr.c *mrpi = pmb->un.varRdConfig.max_rpi; un 1908 drivers/scsi/lpfc/lpfc_attr.c *arpi = pmb->un.varRdConfig.avail_rpi; un 1910 drivers/scsi/lpfc/lpfc_attr.c *mxri = pmb->un.varRdConfig.max_xri; un 1912 drivers/scsi/lpfc/lpfc_attr.c *axri = pmb->un.varRdConfig.avail_xri; un 1914 drivers/scsi/lpfc/lpfc_attr.c *mvpi = pmb->un.varRdConfig.max_vpi; un 1918 drivers/scsi/lpfc/lpfc_attr.c *avpi = pmb->un.varRdConfig.avail_vpi; un 1920 drivers/scsi/lpfc/lpfc_attr.c *avpi = pmb->un.varRdConfig.max_vpi; un 2778 drivers/scsi/lpfc/lpfc_attr.c u32 *fawwpn_key = (uint32_t *)&vport->fc_sparam.un.vendorVersion[0]; un 6624 drivers/scsi/lpfc/lpfc_attr.c hs->tx_frames = pmb->un.varRdStatus.xmitFrameCnt; un 6630 drivers/scsi/lpfc/lpfc_attr.c ((uint64_t)pmb->un.varRdStatus.xmitByteCnt un 6632 drivers/scsi/lpfc/lpfc_attr.c hs->rx_frames = pmb->un.varRdStatus.rcvFrameCnt; un 6634 drivers/scsi/lpfc/lpfc_attr.c ((uint64_t)pmb->un.varRdStatus.rcvByteCnt un 6654 drivers/scsi/lpfc/lpfc_attr.c hs->link_failure_count = pmb->un.varRdLnk.linkFailureCnt; un 6655 drivers/scsi/lpfc/lpfc_attr.c hs->loss_of_sync_count = pmb->un.varRdLnk.lossSyncCnt; un 6656 drivers/scsi/lpfc/lpfc_attr.c hs->loss_of_signal_count = pmb->un.varRdLnk.lossSignalCnt; un 6657 drivers/scsi/lpfc/lpfc_attr.c hs->prim_seq_protocol_err_count = pmb->un.varRdLnk.primSeqErrCnt; un 6658 drivers/scsi/lpfc/lpfc_attr.c hs->invalid_tx_word_count = pmb->un.varRdLnk.invalidXmitWord; un 6659 drivers/scsi/lpfc/lpfc_attr.c hs->invalid_crc_count = pmb->un.varRdLnk.crcCnt; un 6660 drivers/scsi/lpfc/lpfc_attr.c hs->error_frames = pmb->un.varRdLnk.crcCnt; un 6719 drivers/scsi/lpfc/lpfc_attr.c pmb->un.varWords[0] = 0x1; /* reset request */ un 6753 drivers/scsi/lpfc/lpfc_attr.c lso->link_failure_count = pmb->un.varRdLnk.linkFailureCnt; un 6754 drivers/scsi/lpfc/lpfc_attr.c lso->loss_of_sync_count = pmb->un.varRdLnk.lossSyncCnt; un 6755 drivers/scsi/lpfc/lpfc_attr.c lso->loss_of_signal_count = pmb->un.varRdLnk.lossSignalCnt; un 6756 drivers/scsi/lpfc/lpfc_attr.c lso->prim_seq_protocol_err_count = pmb->un.varRdLnk.primSeqErrCnt; un 6757 drivers/scsi/lpfc/lpfc_attr.c lso->invalid_tx_word_count = pmb->un.varRdLnk.invalidXmitWord; un 6758 drivers/scsi/lpfc/lpfc_attr.c lso->invalid_crc_count = pmb->un.varRdLnk.crcCnt; un 6759 drivers/scsi/lpfc/lpfc_attr.c lso->error_frames = pmb->un.varRdLnk.crcCnt; un 130 drivers/scsi/lpfc/lpfc_bsg.c (size_t)(&((struct lpfc_sli_ct_request *)NULL)->un) un 343 drivers/scsi/lpfc/lpfc_bsg.c switch (rsp->un.ulpWord[4] & IOERR_PARAM_MASK) { un 358 drivers/scsi/lpfc/lpfc_bsg.c rsp_size = rsp->un.genreq64.bdl.bdeSize; un 471 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.ulpIoTag32 = 0; un 472 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); un 473 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); un 474 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 475 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.bdeSize = un 478 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Fctl = (SI | LA); un 479 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Dfctl = 0; un 480 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CTL; un 481 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Type = FC_TYPE_CT; un 621 drivers/scsi/lpfc/lpfc_bsg.c rsp_size = rsp->un.elsreq64.bdl.bdeSize; un 631 drivers/scsi/lpfc/lpfc_bsg.c rjt_data = (uint8_t *)&rsp->un.ulpWord[4]; un 943 drivers/scsi/lpfc/lpfc_bsg.c piocbq->iocb.un.cont64[0].tus.f.bdeSize == 0) un 953 drivers/scsi/lpfc/lpfc_bsg.c dma_addr = getPaddr(piocbq->iocb.un.cont64[0].addrHigh, un 954 drivers/scsi/lpfc/lpfc_bsg.c piocbq->iocb.un.cont64[0].addrLow); un 991 drivers/scsi/lpfc/lpfc_bsg.c iocbq->iocb.un.cont64[i].tus.f.bdeSize; un 1019 drivers/scsi/lpfc/lpfc_bsg.c &iocbq->iocb.un.ulpWord[0]; un 1032 drivers/scsi/lpfc/lpfc_bsg.c size = iocbq->iocb.un.cont64[i]. un 1034 drivers/scsi/lpfc/lpfc_bsg.c bde = &iocbq->iocb.un.cont64[i]; un 1117 drivers/scsi/lpfc/lpfc_bsg.c piocbq->iocb.un.rcvels.remoteID; un 1436 drivers/scsi/lpfc/lpfc_bsg.c switch (rsp->un.ulpWord[4] & IOERR_PARAM_MASK) { un 1510 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.bdl.ulpIoTag32 = 0; un 1511 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); un 1512 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); un 1513 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 1514 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.bdl.bdeSize = (num_entry * sizeof(struct ulp_bde64)); un 1515 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.w5.hcsw.Fctl = (LS | LA); un 1516 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.w5.hcsw.Dfctl = 0; un 1517 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_DD_SOL_CTL; un 1518 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.xseq64.w5.hcsw.Type = FC_TYPE_CT; un 1557 drivers/scsi/lpfc/lpfc_bsg.c icmd->un.ulpWord[3] = un 1852 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.un.varInitLnk.link_flags = FLAGS_LOCAL_LB; un 1854 drivers/scsi/lpfc/lpfc_bsg.c pmboxq->u.mb.un.varInitLnk.link_flags = un 1939 drivers/scsi/lpfc/lpfc_bsg.c link_diag_state = &pmboxq->u.mqe.un.link_diag_state; un 1997 drivers/scsi/lpfc/lpfc_bsg.c link_diag_loopback = &pmboxq->u.mqe.un.link_diag_loopback; un 2471 drivers/scsi/lpfc/lpfc_bsg.c run_link_diag_test = &pmboxq->u.mqe.un.link_diag_test; un 2488 drivers/scsi/lpfc/lpfc_bsg.c &pmboxq->u.mqe.un.sli4_config.header.cfg_shdr; un 2592 drivers/scsi/lpfc/lpfc_bsg.c *rpi = mbox->u.mb.un.varWords[0]; un 2717 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.addrHigh = putPaddrHigh(dmabuf->phys); un 2718 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.addrLow = putPaddrLow(dmabuf->phys); un 2719 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 2720 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.bdeSize = sizeof(*bpl); un 2722 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Fctl = LA; un 2723 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Dfctl = 0; un 2724 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CTL; un 2725 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Type = FC_TYPE_CT; un 3004 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.addrHigh = un 3006 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.addrLow = un 3008 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.bde.tus.f.bdeSize = un 3010 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.quexri64cx.buff.buffer_tag = mp[i]->buffer_tag; un 3018 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.cont64[i].addrHigh = putPaddrHigh(mp[i]->phys); un 3019 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.cont64[i].addrLow = putPaddrLow(mp[i]->phys); un 3020 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.cont64[i].tus.f.bdeSize = un 3282 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.addrHigh = putPaddrHigh(txbmp->phys); un 3283 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.addrLow = putPaddrLow(txbmp->phys); un 3284 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 3285 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.bdeSize = (num_bde * sizeof(struct ulp_bde64)); un 3287 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Fctl = (LS | LA); un 3288 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Dfctl = 0; un 3289 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CTL; un 3290 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.w5.hcsw.Type = FC_TYPE_CT; un 3300 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.xseq64.bdl.ulpIoTag32 = 0; un 3301 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.ulpWord[3] = phba->sli4_hba.rpi_ids[rpi]; un 3574 drivers/scsi/lpfc/lpfc_bsg.c mb->un.varWords[0], un 3575 drivers/scsi/lpfc/lpfc_bsg.c mb->un.varWords[1]); un 3576 drivers/scsi/lpfc/lpfc_bsg.c if ((mb->un.varWords[0] == SETVAR_MLOMNT) un 3577 drivers/scsi/lpfc/lpfc_bsg.c && (mb->un.varWords[1] == 1)) { un 3579 drivers/scsi/lpfc/lpfc_bsg.c } else if (mb->un.varWords[0] == SETVAR_MLORST) { un 3673 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.sli_config_hdr)) { un 3678 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys.mse[0].buf_len); un 3809 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3813 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3821 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3823 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3825 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3828 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3831 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3838 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3840 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3842 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 3847 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3851 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3860 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un. un 3862 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3864 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3868 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3871 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3879 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un. un 3881 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3883 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb1_subsys. un 3925 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.sli_config_hdr); un 3946 drivers/scsi/lpfc/lpfc_bsg.c ext_buf_cnt = sli_cfg_mbx->un.sli_config_emb1_subsys.hbd_count; un 4050 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.sli_config_hdr)) && un 4054 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys. un 4112 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.sli_config_hdr); un 4130 drivers/scsi/lpfc/lpfc_bsg.c ext_buf_cnt = sli_cfg_mbx->un.sli_config_emb1_subsys.hbd_count; un 4163 drivers/scsi/lpfc/lpfc_bsg.c i, sli_cfg_mbx->un.sli_config_emb0_subsys. un 4169 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb1_subsys. un 4270 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.sli_config_hdr)) { un 4272 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys); un 4274 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys); un 4333 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb1_subsys); un 4335 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb1_subsys); un 4422 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb0_subsys.mse[index]); un 4428 drivers/scsi/lpfc/lpfc_bsg.c &sli_cfg_mbx->un.sli_config_emb1_subsys.hbd[index]); un 4852 drivers/scsi/lpfc/lpfc_bsg.c transmit_length = pmb->un.varWords[1]; un 4853 drivers/scsi/lpfc/lpfc_bsg.c receive_length = pmb->un.varWords[4]; un 4862 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varBIUdiag.un.s2.xmit_bde64.addrHigh = un 4864 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varBIUdiag.un.s2.xmit_bde64.addrLow = un 4867 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varBIUdiag.un.s2.rcv_bde64.addrHigh = un 4869 drivers/scsi/lpfc/lpfc_bsg.c + pmb->un.varBIUdiag.un.s2.xmit_bde64.tus.f.bdeSize); un 4870 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varBIUdiag.un.s2.rcv_bde64.addrLow = un 4872 drivers/scsi/lpfc/lpfc_bsg.c + pmb->un.varBIUdiag.un.s2.xmit_bde64.tus.f.bdeSize); un 4874 drivers/scsi/lpfc/lpfc_bsg.c rdEventLog = &pmb->un.varRdEventLog; un 4888 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varWords[3] = putPaddrLow(dmabuf->phys un 4890 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varWords[4] = putPaddrHigh(dmabuf->phys un 4899 drivers/scsi/lpfc/lpfc_bsg.c (pmb->un.varDmp.type != DMP_WELL_KNOWN)) { un 4903 drivers/scsi/lpfc/lpfc_bsg.c receive_length = pmb->un.varWords[2]; un 4911 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varWords[3] = putPaddrLow(dmabuf->phys un 4913 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varWords[4] = putPaddrHigh(dmabuf->phys un 4916 drivers/scsi/lpfc/lpfc_bsg.c pmb->un.varUpdateCfg.co) { un 4917 drivers/scsi/lpfc/lpfc_bsg.c bde = (struct ulp_bde64 *)&pmb->un.varWords[4]; un 4931 drivers/scsi/lpfc/lpfc_bsg.c sli4_config = &pmboxq->u.mqe.un.sli4_config; un 4938 drivers/scsi/lpfc/lpfc_bsg.c &pmb->un.varWords[0]; un 5126 drivers/scsi/lpfc/lpfc_bsg.c switch (rsp->un.ulpWord[4] & IOERR_PARAM_MASK) { un 5141 drivers/scsi/lpfc/lpfc_bsg.c rsp_size = rsp->un.genreq64.bdl.bdeSize; un 5276 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.ulpIoTag32 = 0; un 5277 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); un 5278 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); un 5279 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 5280 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.bdl.bdeSize = un 5282 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Fctl = (SI | LA); un 5283 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Dfctl = 0; un 5284 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CMD; un 5285 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.genreq64.w5.hcsw.Type = MENLO_TRANSPORT_TYPE; /* 0xfe */ un 5301 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.ulpWord[4] = MENLO_DID; /* 0x0000FC0E */ un 5306 drivers/scsi/lpfc/lpfc_bsg.c cmd->un.ulpWord[4] = 0; un 294 drivers/scsi/lpfc/lpfc_bsg.h } un; un 122 drivers/scsi/lpfc/lpfc_ct.c ((icmd->un.ulpWord[4] & IOERR_PARAM_MASK) == un 146 drivers/scsi/lpfc/lpfc_ct.c size = icmd->un.cont64[0].tus.f.bdeSize; un 167 drivers/scsi/lpfc/lpfc_ct.c paddr = getPaddr(icmd->un.cont64[i].addrHigh, un 168 drivers/scsi/lpfc/lpfc_ct.c icmd->un.cont64[i].addrLow); un 171 drivers/scsi/lpfc/lpfc_ct.c size = icmd->un.cont64[i].tus.f.bdeSize; un 335 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.bdl.ulpIoTag32 = 0; un 336 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); un 337 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); un 338 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 339 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.bdl.bdeSize = (num_entry * sizeof(struct ulp_bde64)); un 355 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.w5.hcsw.Fctl = (SI | LA); un 356 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.w5.hcsw.Dfctl = 0; un 357 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CTL; un 358 drivers/scsi/lpfc/lpfc_ct.c icmd->un.genreq64.w5.hcsw.Type = FC_TYPE_CT; un 598 drivers/scsi/lpfc/lpfc_ct.c uint32_t *ctptr = (uint32_t *) & Response->un.gid.PortType; un 684 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], vport->fc_ns_retry); un 736 drivers/scsi/lpfc/lpfc_ct.c (irsp->un.ulpWord[4] & IOERR_PARAM_MASK) != un 767 drivers/scsi/lpfc/lpfc_ct.c CTreq->un.gid.Fc4Type, un 768 drivers/scsi/lpfc/lpfc_ct.c irsp->un.genreq64.bdl.bdeSize); un 772 drivers/scsi/lpfc/lpfc_ct.c CTreq->un.gid.Fc4Type, un 773 drivers/scsi/lpfc/lpfc_ct.c (uint32_t) (irsp->un.genreq64.bdl.bdeSize)); un 886 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], un 939 drivers/scsi/lpfc/lpfc_ct.c (irsp->un.ulpWord[4] & IOERR_PARAM_MASK) != un 965 drivers/scsi/lpfc/lpfc_ct.c CTreq->un.gid.Fc4Type); un 969 drivers/scsi/lpfc/lpfc_ct.c CTreq->un.gid.Fc4Type, un 970 drivers/scsi/lpfc/lpfc_ct.c (uint32_t)(irsp->un.genreq64.bdl.bdeSize)); un 1067 drivers/scsi/lpfc/lpfc_ct.c did = ((struct lpfc_sli_ct_request *) inp->virt)->un.gff.PortId; un 1072 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], did); un 1077 drivers/scsi/lpfc/lpfc_ct.c fbits = CTrsp->un.gff_acc.fbits[FCP_TYPE_FEATURE_OFFSET]; un 1105 drivers/scsi/lpfc/lpfc_ct.c switch ((irsp->un.ulpWord[4] & un 1139 drivers/scsi/lpfc/lpfc_ct.c did, irsp->ulpStatus, irsp->un.ulpWord[4], un 1196 drivers/scsi/lpfc/lpfc_ct.c did = ((struct lpfc_sli_ct_request *)inp->virt)->un.gft.PortId; un 1201 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], did); un 1206 drivers/scsi/lpfc/lpfc_ct.c fc4_data_0 = be32_to_cpu(CTrsp->un.gft_acc.fc4_types[0]); un 1207 drivers/scsi/lpfc/lpfc_ct.c fc4_data_1 = be32_to_cpu(CTrsp->un.gft_acc.fc4_types[1]); un 1305 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], cmdcode); un 1310 drivers/scsi/lpfc/lpfc_ct.c cmdcode, irsp->ulpStatus, irsp->un.ulpWord[4]); un 1313 drivers/scsi/lpfc/lpfc_ct.c (((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 1315 drivers/scsi/lpfc/lpfc_ct.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 1545 drivers/scsi/lpfc/lpfc_ct.c type = (uint32_t)CtReq->un.gid.Fc4Type; un 1656 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gid.Fc4Type = context; un 1668 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gid.PortType = context; un 1680 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gff.PortId = cpu_to_be32(context); un 1687 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.gft.PortId = cpu_to_be32(context); un 1695 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.PortId = cpu_to_be32(vport->fc_myDID); un 1700 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.fcpReg = 1; un 1708 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.rsvd[0] = un 1715 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.fcpReg ? "FCP" : " ", un 1716 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rft.rsvd[0] ? "NVME" : " ", un 1727 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rnn.PortId = cpu_to_be32(vport->fc_myDID); un 1728 drivers/scsi/lpfc/lpfc_ct.c memcpy(CtReq->un.rnn.wwnn, &vport->fc_nodename, un 1737 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rspn.PortId = cpu_to_be32(vport->fc_myDID); un 1738 drivers/scsi/lpfc/lpfc_ct.c size = sizeof(CtReq->un.rspn.symbname); un 1739 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rspn.len = un 1741 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rspn.symbname, size); un 1748 drivers/scsi/lpfc/lpfc_ct.c memcpy(CtReq->un.rsnn.wwnn, &vport->fc_nodename, un 1750 drivers/scsi/lpfc/lpfc_ct.c size = sizeof(CtReq->un.rsnn.symbname); un 1751 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rsnn.len = un 1753 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rsnn.symbname, size); un 1760 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.da_id.port_id = cpu_to_be32(vport->fc_myDID); un 1767 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.PortId = cpu_to_be32(vport->fc_myDID); un 1768 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.fbits = FC4_FEATURE_INIT; un 1778 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.fbits = (FC4_FEATURE_TARGET | un 1784 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.type_code = context; un 1789 drivers/scsi/lpfc/lpfc_ct.c CtReq->un.rff.type_code = context; un 1864 drivers/scsi/lpfc/lpfc_ct.c irsp->ulpStatus, irsp->un.ulpWord[4], latt); un 1870 drivers/scsi/lpfc/lpfc_ct.c switch ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK)) { un 1902 drivers/scsi/lpfc/lpfc_ct.c irsp->un.ulpWord[4]); un 2062 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, un 2082 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, un 2084 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2085 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2086 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2104 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, phba->SerialNumber, un 2105 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2106 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2107 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2126 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, phba->ModelName, un 2127 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2128 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, sizeof(ae->un.AttrString)); un 2147 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, phba->ModelDesc, un 2148 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2149 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2150 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2175 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrString[7 - i] = un 2179 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrString[7 - i] = un 2200 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, lpfc_release_version, un 2201 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2202 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2203 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2223 drivers/scsi/lpfc/lpfc_ct.c lpfc_decode_firmware_rev(phba, ae->un.AttrString, 1); un 2225 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, phba->OptionROMVersion, un 2226 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2227 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2228 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2247 drivers/scsi/lpfc/lpfc_ct.c lpfc_decode_firmware_rev(phba, ae->un.AttrString, 1); un 2248 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2249 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2267 drivers/scsi/lpfc/lpfc_ct.c snprintf(ae->un.AttrString, sizeof(ae->un.AttrString), "%s %s %s", un 2272 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, sizeof(ae->un.AttrString)); un 2289 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_MAX_CT_SIZE); un 2307 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrString, 256); un 2325 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); un 2342 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); un 2359 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrWWN, &vport->fabric_nodename, un 2378 drivers/scsi/lpfc/lpfc_ct.c strlcat(ae->un.AttrString, phba->BIOSVersion, un 2379 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2380 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2381 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2399 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); un 2416 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, "EMULEX", un 2417 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2418 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2419 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2439 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[3] = 0x02; /* Type 0x1 - ELS */ un 2440 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[2] = 0x01; /* Type 0x8 - FCP */ un 2441 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[7] = 0x01; /* Type 0x20 - CT */ un 2446 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[6] = 0x01; /* Type 0x28 - NVME */ un 2464 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = 0; un 2467 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_128GFC; un 2469 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_64GFC; un 2471 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_32GFC; un 2473 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_16GFC; un 2475 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_10GFC; un 2477 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_8GFC; un 2479 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_4GFC; un 2481 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_2GFC; un 2483 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt |= HBA_PORTSPEED_1GFC; un 2488 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_10GE; un 2491 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_25GE; un 2494 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_40GE; un 2497 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_100GE; un 2501 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); un 2521 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_1GFC; un 2524 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_2GFC; un 2527 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_4GFC; un 2530 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_8GFC; un 2533 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_10GFC; un 2536 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_16GFC; un 2539 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_32GFC; un 2542 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_64GFC; un 2545 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_128GFC; un 2548 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_UNKNOWN; un 2554 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_10GE; un 2557 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_25GE; un 2560 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_40GE; un 2563 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_100GE; un 2566 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = HBA_PORTSPEED_UNKNOWN; un 2571 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); un 2589 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = (((uint32_t) hsp->cmn.bbRcvSizeMsb & 0x0F) << 8) | un 2591 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(ae->un.AttrInt); un 2609 drivers/scsi/lpfc/lpfc_ct.c snprintf(ae->un.AttrString, sizeof(ae->un.AttrString), un 2611 drivers/scsi/lpfc/lpfc_ct.c len = strnlen((char *)ae->un.AttrString, un 2612 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2630 drivers/scsi/lpfc/lpfc_ct.c scnprintf(ae->un.AttrString, sizeof(ae->un.AttrString), "%s", un 2633 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, sizeof(ae->un.AttrString)); un 2651 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrWWN, &vport->fc_sparam.nodeName, un 2669 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrWWN, &vport->fc_sparam.portName, un 2687 drivers/scsi/lpfc/lpfc_ct.c len = lpfc_vport_symbolic_port_name(vport, ae->un.AttrString, 256); un 2705 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTTYPE_NLPORT); un 2707 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTTYPE_NPORT); un 2722 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(FC_COS_CLASS2 | FC_COS_CLASS3); un 2739 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrWWN, &vport->fabric_portname, un 2757 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[3] = 0x02; /* Type 0x1 - ELS */ un 2758 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[2] = 0x01; /* Type 0x8 - FCP */ un 2759 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[7] = 0x01; /* Type 0x20 - CT */ un 2763 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrTypes[6] = 0x1; /* Type 0x28 - NVME */ un 2780 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(LPFC_FDMI_PORTSTATE_ONLINE); un 2796 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(vport->fdmi_num_disc); un 2811 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(vport->fc_myDID); un 2828 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, "Smart SAN Initiator", un 2829 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2830 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2831 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2849 drivers/scsi/lpfc/lpfc_ct.c memcpy(&ae->un.AttrString, &vport->fc_sparam.nodeName, un 2851 drivers/scsi/lpfc/lpfc_ct.c memcpy((((uint8_t *)&ae->un.AttrString) + un 2870 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, "Smart SAN Version 2.0", un 2871 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2872 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, un 2873 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2892 drivers/scsi/lpfc/lpfc_ct.c strncpy(ae->un.AttrString, phba->ModelName, un 2893 drivers/scsi/lpfc/lpfc_ct.c sizeof(ae->un.AttrString)); un 2894 drivers/scsi/lpfc/lpfc_ct.c len = strnlen(ae->un.AttrString, sizeof(ae->un.AttrString)); un 2913 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(2); /* NPIV */ un 2915 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); /* Physical */ un 2930 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(0); un 2945 drivers/scsi/lpfc/lpfc_ct.c ae->un.AttrInt = cpu_to_be32(1); un 3083 drivers/scsi/lpfc/lpfc_ct.c rh = (struct lpfc_fdmi_reg_hba *)&CtReq->un.PortID; un 3133 drivers/scsi/lpfc/lpfc_ct.c pab = (struct lpfc_fdmi_reg_portattr *)&CtReq->un.PortID; un 3184 drivers/scsi/lpfc/lpfc_ct.c pe = (struct lpfc_fdmi_port_entry *)&CtReq->un.PortID; un 3197 drivers/scsi/lpfc/lpfc_ct.c pe = (struct lpfc_fdmi_port_entry *)&CtReq->un.PortID; un 70 drivers/scsi/lpfc/lpfc_disc.h } un; un 238 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); un 239 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); un 240 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 241 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); un 243 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.remoteID = did; /* DID */ un 252 drivers/scsi/lpfc/lpfc_els.c icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); un 253 drivers/scsi/lpfc/lpfc_els.c icmd->un.xseq64.bdl.addrLow = putPaddrLow(pbuflist->phys); un 254 drivers/scsi/lpfc/lpfc_els.c icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 255 drivers/scsi/lpfc/lpfc_els.c icmd->un.xseq64.bdl.bdeSize = sizeof(struct ulp_bde64); un 256 drivers/scsi/lpfc/lpfc_els.c icmd->un.xseq64.xmit_els_remoteID = did; /* DID */ un 273 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.myID = vport->fc_myDID; un 683 drivers/scsi/lpfc/lpfc_els.c vport->fc_myDID = irsp->un.ulpWord[4] & Mask_DID; un 1003 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1018 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 1029 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1042 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 1047 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1058 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1063 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 1121 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4], sp->cmn.e_d_tov, un 1198 drivers/scsi/lpfc/lpfc_els.c (((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) != un 1200 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) != un 1233 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], cmd, un 1331 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.myID = 0; un 1332 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.fl = 1; un 1932 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1933 drivers/scsi/lpfc/lpfc_els.c irsp->un.elsreq64.remoteID); un 1935 drivers/scsi/lpfc/lpfc_els.c ndlp = lpfc_findnode_did(vport, irsp->un.elsreq64.remoteID); un 1940 drivers/scsi/lpfc/lpfc_els.c irsp->un.elsreq64.remoteID, un 1941 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 1950 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_DID, irsp->ulpStatus, irsp->un.ulpWord[4], un 1957 drivers/scsi/lpfc/lpfc_els.c (((irsp->un.ulpWord[4]) >> 16 != LSRJT_INVALID_CMD) && un 1958 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4]) >> 16 != LSRJT_UNABLE_TPC)) || un 1963 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 2008 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2009 drivers/scsi/lpfc/lpfc_els.c irsp->un.elsreq64.remoteID); un 2011 drivers/scsi/lpfc/lpfc_els.c ndlp = lpfc_findnode_did(vport, irsp->un.elsreq64.remoteID); un 2016 drivers/scsi/lpfc/lpfc_els.c irsp->un.elsreq64.remoteID, un 2017 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2035 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2059 drivers/scsi/lpfc/lpfc_els.c (((irsp->un.ulpWord[4]) >> 16 != LSRJT_INVALID_CMD) && un 2060 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4]) >> 16 != LSRJT_UNABLE_TPC)) || un 2065 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 2191 drivers/scsi/lpfc/lpfc_els.c memset(sp->un.vendorVersion, 0, sizeof(sp->un.vendorVersion)); un 2203 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.vid = cpu_to_be32(LPFC_VV_EMLX_ID); un 2204 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.flags = cpu_to_be32(LPFC_VV_SUPPRESS_RSP); un 2256 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2263 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_DID, irsp->ulpStatus, irsp->un.ulpWord[4], un 2291 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4], ndlp->fc4_prli_sent); un 2661 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2675 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_DID, irsp->ulpStatus, irsp->un.ulpWord[4], un 2701 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 2823 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 2830 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_DID, irsp->ulpStatus, irsp->un.ulpWord[4], un 2859 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 2914 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4], irsp->ulpTimeout, un 3029 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 3030 drivers/scsi/lpfc/lpfc_els.c irsp->un.elsreq64.remoteID); un 3035 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4], irsp->ulpTimeout); un 3624 drivers/scsi/lpfc/lpfc_els.c did = irsp->un.elsreq64.remoteID; un 3633 drivers/scsi/lpfc/lpfc_els.c *(((uint32_t *) irsp) + 7), irsp->un.ulpWord[4], ndlp->nlp_DID); un 3649 drivers/scsi/lpfc/lpfc_els.c switch ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK)) { un 3717 drivers/scsi/lpfc/lpfc_els.c if (irsp->un.ulpWord[4] & RJT_UNAVAIL_TEMP) { un 3730 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = be32_to_cpu(irsp->un.ulpWord[4]); un 3734 drivers/scsi/lpfc/lpfc_els.c switch (stat.un.b.lsRjtRsnCode) { un 3749 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == un 3758 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == un 3775 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCodeExp == LSEXP_OUT_OF_RESOURCE)){ un 3779 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); un 3806 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp == LSEXP_PORT_LOGIN_REQ) { un 3811 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp == un 3818 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); un 3825 drivers/scsi/lpfc/lpfc_els.c ((stat.un.b.lsRjtRsnCodeExp == LSEXP_INVALID_PNAME) || un 3826 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCodeExp == LSEXP_INVALID_NPORT_ID)) un 3831 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError); un 3837 drivers/scsi/lpfc/lpfc_els.c if ((stat.un.b.vendorUnique == 0x45) && un 3848 drivers/scsi/lpfc/lpfc_els.c if (stat.un.b.lsRjtRsnCodeExp == un 3937 drivers/scsi/lpfc/lpfc_els.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) != un 4010 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 4017 drivers/scsi/lpfc/lpfc_els.c irsp->un.ulpWord[4]); un 4197 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], ndlp->nlp_DID); un 4345 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 4346 drivers/scsi/lpfc/lpfc_els.c cmdiocb->iocb.un.elsreq64.remoteID); un 4352 drivers/scsi/lpfc/lpfc_els.c rspiocb->iocb.un.ulpWord[4], rspiocb->iocb.ulpTimeout, un 4577 drivers/scsi/lpfc/lpfc_els.c memset(sp->un.vendorVersion, 0, un 4578 drivers/scsi/lpfc/lpfc_els.c sizeof(sp->un.vendorVersion)); un 4586 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.vid = cpu_to_be32(LPFC_VV_EMLX_ID); un 4587 drivers/scsi/lpfc/lpfc_els.c sp->un.vv.flags = un 4612 drivers/scsi/lpfc/lpfc_els.c els_pkt_ptr->un.prlo.acceptRspCode = PRLO_REQ_EXECUTED; un 5033 drivers/scsi/lpfc/lpfc_els.c memcpy(&rn->un.topologyDisc.portName, un 5035 drivers/scsi/lpfc/lpfc_els.c rn->un.topologyDisc.unitType = RNID_HBA; un 5036 drivers/scsi/lpfc/lpfc_els.c rn->un.topologyDisc.physPort = 0; un 5037 drivers/scsi/lpfc/lpfc_els.c rn->un.topologyDisc.attachedNodes = 0; un 5822 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 5953 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; un 5954 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = rjt_expl; un 5955 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 5982 drivers/scsi/lpfc/lpfc_els.c &pmb->u.mqe.un.beacon_config.header.cfg_shdr; un 6051 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 6054 drivers/scsi/lpfc/lpfc_els.c stat->un.b.lsRjtRsnCodeExp = LSEXP_CMD_IN_PROGRESS; un 6080 drivers/scsi/lpfc/lpfc_els.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; un 6089 drivers/scsi/lpfc/lpfc_els.c bf_set(lpfc_mbx_set_beacon_port_num, &mbox->u.mqe.un.beacon_config, un 6091 drivers/scsi/lpfc/lpfc_els.c bf_set(lpfc_mbx_set_beacon_state, &mbox->u.mqe.un.beacon_config, un 6093 drivers/scsi/lpfc/lpfc_els.c mbox->u.mqe.un.beacon_config.word5 = 0; /* Reserved */ un 6106 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, 0); un 6108 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, un 6119 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, beacon_state); un 6121 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, 1); un 6123 drivers/scsi/lpfc/lpfc_els.c &mbox->u.mqe.un.beacon_config, un 6217 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; un 6218 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 6283 drivers/scsi/lpfc/lpfc_els.c ns_did.un.word = did; un 6307 drivers/scsi/lpfc/lpfc_els.c rscn_did.un.word = be32_to_cpu(*lp++); un 6309 drivers/scsi/lpfc/lpfc_els.c switch (rscn_did.un.b.resv & RSCN_ADDRESS_FORMAT_MASK) { un 6311 drivers/scsi/lpfc/lpfc_els.c if ((ns_did.un.b.domain == rscn_did.un.b.domain) un 6312 drivers/scsi/lpfc/lpfc_els.c && (ns_did.un.b.area == rscn_did.un.b.area) un 6313 drivers/scsi/lpfc/lpfc_els.c && (ns_did.un.b.id == rscn_did.un.b.id)) un 6317 drivers/scsi/lpfc/lpfc_els.c if ((ns_did.un.b.domain == rscn_did.un.b.domain) un 6318 drivers/scsi/lpfc/lpfc_els.c && (ns_did.un.b.area == rscn_did.un.b.area)) un 6322 drivers/scsi/lpfc/lpfc_els.c if (ns_did.un.b.domain == rscn_did.un.b.domain) un 6789 drivers/scsi/lpfc/lpfc_els.c did = icmd->un.elsreq64.remoteID; un 6820 drivers/scsi/lpfc/lpfc_els.c mbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; un 6952 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 6953 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 6954 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 6955 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 6956 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 7006 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 7007 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 7008 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 7009 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 7010 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 7106 drivers/scsi/lpfc/lpfc_els.c rls_rsp->linkFailureCnt = cpu_to_be32(mb->un.varRdLnk.linkFailureCnt); un 7107 drivers/scsi/lpfc/lpfc_els.c rls_rsp->lossSyncCnt = cpu_to_be32(mb->un.varRdLnk.lossSyncCnt); un 7108 drivers/scsi/lpfc/lpfc_els.c rls_rsp->lossSignalCnt = cpu_to_be32(mb->un.varRdLnk.lossSignalCnt); un 7109 drivers/scsi/lpfc/lpfc_els.c rls_rsp->primSeqErrCnt = cpu_to_be32(mb->un.varRdLnk.primSeqErrCnt); un 7110 drivers/scsi/lpfc/lpfc_els.c rls_rsp->invalidXmitWord = cpu_to_be32(mb->un.varRdLnk.invalidXmitWord); un 7111 drivers/scsi/lpfc/lpfc_els.c rls_rsp->crcCnt = cpu_to_be32(mb->un.varRdLnk.crcCnt); un 7202 drivers/scsi/lpfc/lpfc_els.c rps_rsp->linkFailureCnt = cpu_to_be32(mb->un.varRdLnk.linkFailureCnt); un 7203 drivers/scsi/lpfc/lpfc_els.c rps_rsp->lossSyncCnt = cpu_to_be32(mb->un.varRdLnk.lossSyncCnt); un 7204 drivers/scsi/lpfc/lpfc_els.c rps_rsp->lossSignalCnt = cpu_to_be32(mb->un.varRdLnk.lossSignalCnt); un 7205 drivers/scsi/lpfc/lpfc_els.c rps_rsp->primSeqErrCnt = cpu_to_be32(mb->un.varRdLnk.primSeqErrCnt); un 7206 drivers/scsi/lpfc/lpfc_els.c rps_rsp->invalidXmitWord = cpu_to_be32(mb->un.varRdLnk.invalidXmitWord); un 7207 drivers/scsi/lpfc/lpfc_els.c rps_rsp->crcCnt = cpu_to_be32(mb->un.varRdLnk.crcCnt); un 7274 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 7275 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 7276 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 7277 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 7278 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 7362 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 7363 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 7364 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 7365 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 7366 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 7410 drivers/scsi/lpfc/lpfc_els.c ((flag == 1) && (be32_to_cpu(rps->un.portNum) == 0)) || un 7411 drivers/scsi/lpfc/lpfc_els.c ((flag == 2) && (memcmp(&rps->un.portName, &vport->fc_portname, un 7439 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 7440 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 7441 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 7442 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 7443 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 7641 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsvd0 = 0; un 7642 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 7643 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CANT_GIVE_DATA; un 7644 drivers/scsi/lpfc/lpfc_els.c stat.un.b.vendorUnique = 0; un 7645 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 7704 drivers/scsi/lpfc/lpfc_els.c did = icmd->un.elsreq64.remoteID; un 7776 drivers/scsi/lpfc/lpfc_els.c did = icmd->un.elsreq64.remoteID; un 7947 drivers/scsi/lpfc/lpfc_els.c remote_ID = cmd->un.elsreq64.remoteID; un 8191 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = be32_to_cpu(rspiocbp->iocb.un.ulpWord[4]); un 8192 drivers/scsi/lpfc/lpfc_els.c lsrjt_event.reason_code = stat.un.b.lsRjtRsnCode; un 8193 drivers/scsi/lpfc/lpfc_els.c lsrjt_event.explanation = stat.un.b.lsRjtRsnCodeExp; un 8338 drivers/scsi/lpfc/lpfc_els.c did = icmd->un.rcvels.remoteID; un 8342 drivers/scsi/lpfc/lpfc_els.c icmd->ulpStatus, icmd->un.ulpWord[4], did); un 8438 drivers/scsi/lpfc/lpfc_els.c vport->fc_myDID = elsiocb->iocb.un.rcvels.parmRo; un 8718 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCode = rjt_err; un 8719 drivers/scsi/lpfc/lpfc_els.c stat.un.b.lsRjtRsnCodeExp = rjt_exp; un 8720 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, elsiocb, ndlp, un 8739 drivers/scsi/lpfc/lpfc_els.c mbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; un 8754 drivers/scsi/lpfc/lpfc_els.c icmd->ulpStatus, icmd->un.ulpWord[4], icmd->ulpTimeout); un 8787 drivers/scsi/lpfc/lpfc_els.c (icmd->un.ulpWord[4] & IOERR_PARAM_MASK) == un 8818 drivers/scsi/lpfc/lpfc_els.c paddr = getPaddr(icmd->un.cont64[0].addrHigh, un 8819 drivers/scsi/lpfc/lpfc_els.c icmd->un.cont64[0].addrLow); un 8982 drivers/scsi/lpfc/lpfc_els.c mb->un.varRegVpi.upd); un 8984 drivers/scsi/lpfc/lpfc_els.c mb->un.varRegVpi.upd) un 9197 drivers/scsi/lpfc/lpfc_els.c (rspiocb->iocb.un.ulpWord[4] != RJT_LOGIN_REQUIRED)) un 9240 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], un 9252 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], vport->fc_prevDID); un 9267 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4]); un 9278 drivers/scsi/lpfc/lpfc_els.c vport->fc_myDID = irsp->un.ulpWord[4] & Mask_DID; un 9393 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.myID = 0; un 9394 drivers/scsi/lpfc/lpfc_els.c icmd->un.elsreq64.fl = 1; un 9427 drivers/scsi/lpfc/lpfc_els.c memset(sp->un.vendorVersion, 0, sizeof(sp->un.vendorVersion)); un 9476 drivers/scsi/lpfc/lpfc_els.c irsp->ulpStatus, irsp->un.ulpWord[4], irsp->un.rcvels.remoteID); un 9488 drivers/scsi/lpfc/lpfc_els.c ndlp->nlp_DID, irsp->ulpStatus, irsp->un.ulpWord[4], un 9635 drivers/scsi/lpfc/lpfc_els.c cmd->un.ulpWord[4] = IOERR_SLI_ABORTED; un 9711 drivers/scsi/lpfc/lpfc_els.c if (rspiocb->iocb.un.ulpWord[4] & RJT_UNAVAIL_TEMP) { un 9722 drivers/scsi/lpfc/lpfc_els.c stat.un.lsRjtError = un 9723 drivers/scsi/lpfc/lpfc_els.c be32_to_cpu(rspiocb->iocb.un.ulpWord[4]); un 9724 drivers/scsi/lpfc/lpfc_els.c if ((stat.un.b.lsRjtRsnCode == LSRJT_UNABLE_TPC) || un 9725 drivers/scsi/lpfc/lpfc_els.c (stat.un.b.lsRjtRsnCode == LSRJT_LOGICAL_BSY)) un 463 drivers/scsi/lpfc/lpfc_hbadisc.c evt_category = (unsigned long) fast_evt_data->un.fabric_evt.event_type; un 464 drivers/scsi/lpfc/lpfc_hbadisc.c evt_sub_category = (unsigned long) fast_evt_data->un. un 469 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data = (char *) &fast_evt_data->un.read_check_error; un 470 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data_size = sizeof(fast_evt_data->un. un 474 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data = (char *) &fast_evt_data->un.fabric_evt; un 475 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data_size = sizeof(fast_evt_data->un.fabric_evt); un 484 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data = (char *) &fast_evt_data->un.scsi_evt; un 485 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data_size = sizeof(fast_evt_data->un.scsi_evt); un 488 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data = (char *) &fast_evt_data->un.check_cond_evt; un 489 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data_size = sizeof(fast_evt_data->un. un 493 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data = (char *) &fast_evt_data->un.queue_depth_evt; un 494 drivers/scsi/lpfc/lpfc_hbadisc.c evt_data_size = sizeof(fast_evt_data->un. un 1231 drivers/scsi/lpfc/lpfc_hbadisc.c phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); un 3196 drivers/scsi/lpfc/lpfc_hbadisc.c } un; un 3200 drivers/scsi/lpfc/lpfc_hbadisc.c memset(un.pamap, 0, 16); un 3202 drivers/scsi/lpfc/lpfc_hbadisc.c un.pamap[k - 1] = un 3215 drivers/scsi/lpfc/lpfc_hbadisc.c un.pa.wd1, un.pa.wd2, un 3216 drivers/scsi/lpfc/lpfc_hbadisc.c un.pa.wd3, un.pa.wd4); un 3411 drivers/scsi/lpfc/lpfc_hbadisc.c la = (struct lpfc_mbx_read_top *) &pmb->u.mb.un.varReadTop; un 3785 drivers/scsi/lpfc/lpfc_hbadisc.c byte_count = pmb->u.mqe.un.mb_words[5]; un 3794 drivers/scsi/lpfc/lpfc_hbadisc.c if (mb->un.varDmp.word_cnt > un 3796 drivers/scsi/lpfc/lpfc_hbadisc.c mb->un.varDmp.word_cnt = un 3799 drivers/scsi/lpfc/lpfc_hbadisc.c byte_count = mb->un.varDmp.word_cnt; un 3911 drivers/scsi/lpfc/lpfc_hbadisc.c ndlp->nlp_rpi = mb->un.varWords[0]; un 4065 drivers/scsi/lpfc/lpfc_hbadisc.c ndlp->nlp_rpi = mb->un.varWords[0]; un 4724 drivers/scsi/lpfc/lpfc_hbadisc.c if (icmd->un.elsreq64.remoteID == ndlp->nlp_DID) un 5280 drivers/scsi/lpfc/lpfc_hbadisc.c mydid.un.word = vport->fc_myDID; un 5281 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mydid.un.b.domain == 0) && (mydid.un.b.area == 0)) { un 5285 drivers/scsi/lpfc/lpfc_hbadisc.c matchdid.un.word = did; un 5286 drivers/scsi/lpfc/lpfc_hbadisc.c ndlpdid.un.word = ndlp->nlp_DID; un 5287 drivers/scsi/lpfc/lpfc_hbadisc.c if (matchdid.un.b.id == ndlpdid.un.b.id) { un 5288 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mydid.un.b.domain == matchdid.un.b.domain) && un 5289 drivers/scsi/lpfc/lpfc_hbadisc.c (mydid.un.b.area == matchdid.un.b.area)) { un 5298 drivers/scsi/lpfc/lpfc_hbadisc.c if ((ndlpdid.un.b.domain == 0) && un 5299 drivers/scsi/lpfc/lpfc_hbadisc.c (ndlpdid.un.b.area == 0)) { un 5300 drivers/scsi/lpfc/lpfc_hbadisc.c if (ndlpdid.un.b.id && un 5308 drivers/scsi/lpfc/lpfc_hbadisc.c matchdid.un.word = ndlp->nlp_DID; un 5309 drivers/scsi/lpfc/lpfc_hbadisc.c if ((mydid.un.b.domain == ndlpdid.un.b.domain) && un 5310 drivers/scsi/lpfc/lpfc_hbadisc.c (mydid.un.b.area == ndlpdid.un.b.area)) { un 5311 drivers/scsi/lpfc/lpfc_hbadisc.c if ((matchdid.un.b.domain == 0) && un 5312 drivers/scsi/lpfc/lpfc_hbadisc.c (matchdid.un.b.area == 0)) { un 5313 drivers/scsi/lpfc/lpfc_hbadisc.c if (matchdid.un.b.id) un 5940 drivers/scsi/lpfc/lpfc_hbadisc.c initlinkmbox->u.mb.un.varInitLnk.lipsr_AL_PA = 0; un 6050 drivers/scsi/lpfc/lpfc_hbadisc.c ndlp->nlp_rpi = mb->un.varWords[0]; un 190 drivers/scsi/lpfc/lpfc_hw.h } un; un 196 drivers/scsi/lpfc/lpfc_hw.h #define GID_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 198 drivers/scsi/lpfc/lpfc_hw.h #define GIDFF_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 200 drivers/scsi/lpfc/lpfc_hw.h #define GFF_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 202 drivers/scsi/lpfc/lpfc_hw.h #define GFT_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 204 drivers/scsi/lpfc/lpfc_hw.h #define RFT_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 206 drivers/scsi/lpfc/lpfc_hw.h #define RFF_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 208 drivers/scsi/lpfc/lpfc_hw.h #define RNN_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 210 drivers/scsi/lpfc/lpfc_hw.h #define RSNN_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 212 drivers/scsi/lpfc/lpfc_hw.h #define DA_ID_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 214 drivers/scsi/lpfc/lpfc_hw.h #define RSPN_REQUEST_SZ (offsetof(struct lpfc_sli_ct_request, un) + \ un 531 drivers/scsi/lpfc/lpfc_hw.h } un; un 702 drivers/scsi/lpfc/lpfc_hw.h } un; un 718 drivers/scsi/lpfc/lpfc_hw.h } un; un 919 drivers/scsi/lpfc/lpfc_hw.h } un; un 926 drivers/scsi/lpfc/lpfc_hw.h } un; un 1035 drivers/scsi/lpfc/lpfc_hw.h } un; un 1065 drivers/scsi/lpfc/lpfc_hw.h } un; un 1369 drivers/scsi/lpfc/lpfc_hw.h } un; un 2163 drivers/scsi/lpfc/lpfc_hw.h } un; un 2219 drivers/scsi/lpfc/lpfc_hw.h } un; un 2539 drivers/scsi/lpfc/lpfc_hw.h } un; un 2595 drivers/scsi/lpfc/lpfc_hw.h } un; un 2686 drivers/scsi/lpfc/lpfc_hw.h } un; un 2787 drivers/scsi/lpfc/lpfc_hw.h } un; un 3598 drivers/scsi/lpfc/lpfc_hw.h MAILVARIANTS un; un 4124 drivers/scsi/lpfc/lpfc_hw.h } un; un 4285 drivers/scsi/lpfc/lpfc_hw.h (iocbp->un.ulpWord[4] == IOERR_SLI_ABORTED || un 4286 drivers/scsi/lpfc/lpfc_hw.h iocbp->un.ulpWord[4] == IOERR_LINK_DOWN || un 4287 drivers/scsi/lpfc/lpfc_hw.h iocbp->un.ulpWord[4] == IOERR_SLI_DOWN)); un 3977 drivers/scsi/lpfc/lpfc_hw4.h } un; un 150 drivers/scsi/lpfc/lpfc_init.c memset((char*)mb->un.varRDnvp.rsvd3, 0, un 151 drivers/scsi/lpfc/lpfc_init.c sizeof (mb->un.varRDnvp.rsvd3)); un 152 drivers/scsi/lpfc/lpfc_init.c memcpy((char*)mb->un.varRDnvp.rsvd3, licensed, un 166 drivers/scsi/lpfc/lpfc_init.c memcpy(phba->wwnn, (char *)mb->un.varRDnvp.nodename, un 168 drivers/scsi/lpfc/lpfc_init.c memcpy(phba->wwpn, (char *)mb->un.varRDnvp.portname, un 195 drivers/scsi/lpfc/lpfc_init.c if (mb->un.varRdRev.rr == 0) { un 204 drivers/scsi/lpfc/lpfc_init.c if (phba->sli_rev == 3 && !mb->un.varRdRev.v3rsp) { un 211 drivers/scsi/lpfc/lpfc_init.c memcpy(&vp->sli3Feat, &mb->un.varRdRev.sli3Feat, sizeof(uint32_t)); un 212 drivers/scsi/lpfc/lpfc_init.c vp->rev.sli1FwRev = mb->un.varRdRev.sli1FwRev; un 213 drivers/scsi/lpfc/lpfc_init.c memcpy(vp->rev.sli1FwName, (char*) mb->un.varRdRev.sli1FwName, 16); un 214 drivers/scsi/lpfc/lpfc_init.c vp->rev.sli2FwRev = mb->un.varRdRev.sli2FwRev; un 215 drivers/scsi/lpfc/lpfc_init.c memcpy(vp->rev.sli2FwName, (char *) mb->un.varRdRev.sli2FwName, 16); un 216 drivers/scsi/lpfc/lpfc_init.c vp->rev.biuRev = mb->un.varRdRev.biuRev; un 217 drivers/scsi/lpfc/lpfc_init.c vp->rev.smRev = mb->un.varRdRev.smRev; un 218 drivers/scsi/lpfc/lpfc_init.c vp->rev.smFwRev = mb->un.varRdRev.un.smFwRev; un 219 drivers/scsi/lpfc/lpfc_init.c vp->rev.endecRev = mb->un.varRdRev.endecRev; un 220 drivers/scsi/lpfc/lpfc_init.c vp->rev.fcphHigh = mb->un.varRdRev.fcphHigh; un 221 drivers/scsi/lpfc/lpfc_init.c vp->rev.fcphLow = mb->un.varRdRev.fcphLow; un 222 drivers/scsi/lpfc/lpfc_init.c vp->rev.feaLevelHigh = mb->un.varRdRev.feaLevelHigh; un 223 drivers/scsi/lpfc/lpfc_init.c vp->rev.feaLevelLow = mb->un.varRdRev.feaLevelLow; un 224 drivers/scsi/lpfc/lpfc_init.c vp->rev.postKernRev = mb->un.varRdRev.postKernRev; un 225 drivers/scsi/lpfc/lpfc_init.c vp->rev.opFwRev = mb->un.varRdRev.opFwRev; un 235 drivers/scsi/lpfc/lpfc_init.c memcpy(phba->RandomData, (char *)&mb->un.varWords[24], un 251 drivers/scsi/lpfc/lpfc_init.c mb->un.varDmp.word_cnt = 0; un 256 drivers/scsi/lpfc/lpfc_init.c if (mb->un.varDmp.word_cnt == 0) un 258 drivers/scsi/lpfc/lpfc_init.c if (mb->un.varDmp.word_cnt > DMP_VPD_SIZE - offset) un 259 drivers/scsi/lpfc/lpfc_init.c mb->un.varDmp.word_cnt = DMP_VPD_SIZE - offset; un 262 drivers/scsi/lpfc/lpfc_init.c mb->un.varDmp.word_cnt); un 263 drivers/scsi/lpfc/lpfc_init.c offset += mb->un.varDmp.word_cnt; un 264 drivers/scsi/lpfc/lpfc_init.c } while (mb->un.varDmp.word_cnt && offset < DMP_VPD_SIZE); un 321 drivers/scsi/lpfc/lpfc_init.c prog_id_word = pmboxq->u.mb.un.varWords[7]; un 351 drivers/scsi/lpfc/lpfc_init.c u32 *fawwpn_key = (u32 *)&vport->fc_sparam.un.vendorVersion[0]; un 514 drivers/scsi/lpfc/lpfc_init.c i = (mb->un.varRdConfig.max_xri + 1); un 523 drivers/scsi/lpfc/lpfc_init.c i = (mb->un.varRdConfig.max_xri >> 3); un 531 drivers/scsi/lpfc/lpfc_init.c phba->lmt = mb->un.varRdConfig.lmt; un 2600 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[0].addrHigh = putPaddrHigh(mp1->phys); un 2601 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[0].addrLow = putPaddrLow(mp1->phys); un 2602 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[0].tus.f.bdeSize = FCELSSIZE; un 2606 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); un 2607 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); un 2608 drivers/scsi/lpfc/lpfc_init.c icmd->un.cont64[1].tus.f.bdeSize = FCELSSIZE; un 4215 drivers/scsi/lpfc/lpfc_init.c memcpy(&wwn, (char *)mb->un.varRDnvp.portname, sizeof(uint64_t)); un 4966 drivers/scsi/lpfc/lpfc_init.c la = (struct lpfc_mbx_read_top *) &pmb->u.mb.un.varReadTop; un 5242 drivers/scsi/lpfc/lpfc_init.c la = (struct lpfc_mbx_read_top *)&pmb->u.mb.un.varReadTop; un 6606 drivers/scsi/lpfc/lpfc_init.c memcpy(&wwn, (char *)mb->un.varRDnvp.nodename, un 6610 drivers/scsi/lpfc/lpfc_init.c memcpy(&wwn, (char *)mb->un.varRDnvp.portname, un 6648 drivers/scsi/lpfc/lpfc_init.c memcpy(&pn_page[0], ((uint8_t *)&mqe->un.supp_pages.word3), un 8293 drivers/scsi/lpfc/lpfc_init.c rd_config = &pmb->u.mqe.un.rd_config; un 8498 drivers/scsi/lpfc/lpfc_init.c &pmb->u.mqe.un.sli4_config.header.cfg_shdr; un 8511 drivers/scsi/lpfc/lpfc_init.c get_func_cfg = &pmb->u.mqe.un.get_func_cfg; un 9381 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; un 9396 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.function_mode; un 9397 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp0_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp0_mode; un 9398 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp1_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp1_mode; un 9400 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.physical_port; un 9999 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; un 11614 drivers/scsi/lpfc/lpfc_init.c sli4_params->if_type = bf_get(if_type, &mqe->un.sli4_params); un 11615 drivers/scsi/lpfc/lpfc_init.c sli4_params->sli_rev = bf_get(sli_rev, &mqe->un.sli4_params); un 11616 drivers/scsi/lpfc/lpfc_init.c sli4_params->sli_family = bf_get(sli_family, &mqe->un.sli4_params); un 11618 drivers/scsi/lpfc/lpfc_init.c &mqe->un.sli4_params); un 11620 drivers/scsi/lpfc/lpfc_init.c &mqe->un.sli4_params); un 11621 drivers/scsi/lpfc/lpfc_init.c sli4_params->proto_types = mqe->un.sli4_params.word3; un 11622 drivers/scsi/lpfc/lpfc_init.c sli4_params->sge_supp_len = mqe->un.sli4_params.sge_supp_len; un 11623 drivers/scsi/lpfc/lpfc_init.c sli4_params->if_page_sz = bf_get(if_page_sz, &mqe->un.sli4_params); un 11624 drivers/scsi/lpfc/lpfc_init.c sli4_params->rq_db_window = bf_get(rq_db_window, &mqe->un.sli4_params); un 11625 drivers/scsi/lpfc/lpfc_init.c sli4_params->loopbk_scope = bf_get(loopbk_scope, &mqe->un.sli4_params); un 11626 drivers/scsi/lpfc/lpfc_init.c sli4_params->eq_pages_max = bf_get(eq_pages, &mqe->un.sli4_params); un 11627 drivers/scsi/lpfc/lpfc_init.c sli4_params->eqe_size = bf_get(eqe_size, &mqe->un.sli4_params); un 11628 drivers/scsi/lpfc/lpfc_init.c sli4_params->cq_pages_max = bf_get(cq_pages, &mqe->un.sli4_params); un 11629 drivers/scsi/lpfc/lpfc_init.c sli4_params->cqe_size = bf_get(cqe_size, &mqe->un.sli4_params); un 11630 drivers/scsi/lpfc/lpfc_init.c sli4_params->mq_pages_max = bf_get(mq_pages, &mqe->un.sli4_params); un 11631 drivers/scsi/lpfc/lpfc_init.c sli4_params->mqe_size = bf_get(mqe_size, &mqe->un.sli4_params); un 11632 drivers/scsi/lpfc/lpfc_init.c sli4_params->mq_elem_cnt = bf_get(mq_elem_cnt, &mqe->un.sli4_params); un 11633 drivers/scsi/lpfc/lpfc_init.c sli4_params->wq_pages_max = bf_get(wq_pages, &mqe->un.sli4_params); un 11634 drivers/scsi/lpfc/lpfc_init.c sli4_params->wqe_size = bf_get(wqe_size, &mqe->un.sli4_params); un 11635 drivers/scsi/lpfc/lpfc_init.c sli4_params->rq_pages_max = bf_get(rq_pages, &mqe->un.sli4_params); un 11636 drivers/scsi/lpfc/lpfc_init.c sli4_params->rqe_size = bf_get(rqe_size, &mqe->un.sli4_params); un 11637 drivers/scsi/lpfc/lpfc_init.c sli4_params->hdr_pages_max = bf_get(hdr_pages, &mqe->un.sli4_params); un 11638 drivers/scsi/lpfc/lpfc_init.c sli4_params->hdr_size = bf_get(hdr_size, &mqe->un.sli4_params); un 11639 drivers/scsi/lpfc/lpfc_init.c sli4_params->hdr_pp_align = bf_get(hdr_pp_align, &mqe->un.sli4_params); un 11640 drivers/scsi/lpfc/lpfc_init.c sli4_params->sgl_pages_max = bf_get(sgl_pages, &mqe->un.sli4_params); un 11641 drivers/scsi/lpfc/lpfc_init.c sli4_params->sgl_pp_align = bf_get(sgl_pp_align, &mqe->un.sli4_params); un 11695 drivers/scsi/lpfc/lpfc_init.c mbx_sli4_parameters = &mqe->un.get_sli4_parameters.sli4_parameters; un 70 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.type = DMP_NV_PARAMS; un 71 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.entry_index = offset; un 72 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.region_id = DMP_REGION_VPORT; un 77 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.cv = 1; un 78 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.word_cnt = DMP_RSP_SIZE/sizeof(uint32_t); un 98 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varWords[3] = putPaddrLow(mp->phys); un 99 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varWords[4] = putPaddrHigh(mp->phys); un 100 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.sli4_length = sizeof(struct static_vport_info); un 147 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.cv = 1; un 148 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.type = DMP_NV_PARAMS; un 149 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.entry_index = offset; un 150 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.region_id = region_id; un 151 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.word_cnt = (DMP_RSP_SIZE / sizeof (uint32_t)); un 152 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.co = 0; un 153 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.resp_offset = 0; un 181 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.cv = 1; un 182 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.type = DMP_NV_PARAMS; un 184 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.entry_index = 0; un 185 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.region_id = WAKE_UP_PARMS_REGION_ID; un 186 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.word_cnt = WAKE_UP_PARMS_WORD_SIZE; un 187 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.co = 0; un 188 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.resp_offset = 0; un 238 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgAsyncEvent.ring = ring; un 300 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varReadTop.lilpBde64.tus.f.bdeSize = LPFC_ALPA_MAP_SIZE; un 301 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varReadTop.lilpBde64.addrHigh = putPaddrHigh(mp->phys); un 302 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varReadTop.lilpBde64.addrLow = putPaddrLow(mp->phys); un 335 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varClearLA.eventTag = phba->fc_eventTag; un 366 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cr = 1; un 367 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.ci = 1; un 368 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cr_delay = phba->cfg_cr_delay; un 369 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cr_count = phba->cfg_cr_count; un 372 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.myId = vport->fc_myDID; un 373 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.edtov = phba->fc_edtov; un 374 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.arbtov = phba->fc_arbtov; un 375 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.ratov = phba->fc_ratov; un 376 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.rttov = phba->fc_rttov; un 377 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.altov = phba->fc_altov; un 378 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.crtov = phba->fc_crtov; un 379 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cscn = 0; un 381 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.cscn = 1; un 382 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.bbscn = bf_get(lpfc_bbscn_def, un 387 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgLnk.ack0_enable = 1; un 440 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.attentionConditions[0] = attentionConditions[0]; un 441 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.attentionConditions[1] = attentionConditions[1]; un 448 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.messageNumberByHA[HA_R0_POS] = 1; un 450 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.messageNumberByHA[HA_R1_POS] = 1; un 453 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.messageNumberByHA[HA_R0_POS^3] = 1; un 455 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.messageNumberByHA[HA_R1_POS^3] = 1; un 458 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.autoClearHA[0] = attentionConditions[0]; un 459 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.autoClearHA[1] = attentionConditions[1]; un 462 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.autoClearHA[0] = 0; un 463 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgMSI.autoClearHA[1] = 0; un 498 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_LOOP; un 499 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_TOPOLOGY_FAILOVER; un 502 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT; un 505 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_LOOP; un 508 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT; un 509 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_TOPOLOGY_FAILOVER; un 512 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_LOCAL_LB; un 518 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags & FLAGS_TOPOLOGY_MODE_LOOP) { un 519 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT; un 524 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_IMED_ABORT; un 533 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 534 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_1G; un 537 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 538 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_2G; un 541 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 542 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_4G; un 545 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 546 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_8G; un 549 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 550 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_10G; un 553 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 554 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_16G; un 557 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 558 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_32G; un 561 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED; un 562 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_64G; un 566 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO; un 572 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.link_speed = LINK_SPEED_AUTO; un 576 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varInitLnk.fabric_AL_PA = phba->fc_pref_ALPA; un 627 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdSparm.un.sp64.tus.f.bdeSize = sizeof (struct serv_parm); un 628 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdSparm.un.sp64.addrHigh = putPaddrHigh(mp->phys); un 629 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdSparm.un.sp64.addrLow = putPaddrLow(mp->phys); un 631 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdSparm.vpi = phba->vpi_ids[vpi]; un 663 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregDID.did = did; un 664 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregDID.vpi = vpi; un 667 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregDID.vpi = phba->vpi_ids[vpi]; un 759 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.rpi = 0; un 761 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.rpi = phba->sli4_hba.rpi_ids[rpi]; un 763 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.vpi = phba->vpi_ids[vpi]; un 764 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.did = did; un 789 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.un.sp64.tus.f.bdeSize = sizeof (struct serv_parm); un 790 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.un.sp64.addrHigh = putPaddrHigh(mp->phys); un 791 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegLogin.un.sp64.addrLow = putPaddrLow(mp->phys); un 822 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregLogin.rpi = rpi; un 823 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregLogin.rsvd1 = 0; un 825 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregLogin.vpi = phba->vpi_ids[vpi]; un 858 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mb.un.varUnregLogin.rsvd1 = 0x4000; un 895 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.upd = 1; un 897 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.vpi = phba->vpi_ids[vport->vpi]; un 898 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.sid = vport->fc_myDID; un 900 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.vfi = phba->sli4_hba.vfi_ids[vport->vfi]; un 902 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.vfi = vport->vfi + vport->phba->vfi_base; un 903 drivers/scsi/lpfc/lpfc_mbox.c memcpy(mb->un.varRegVpi.wwn, &vport->fc_portname, un 905 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.wwn[0] = cpu_to_le32(mb->un.varRegVpi.wwn[0]); un 906 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRegVpi.wwn[1] = cpu_to_le32(mb->un.varRegVpi.wwn[1]); un 937 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregVpi.vpi = phba->vpi_ids[vpi]; un 939 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varUnregVpi.sli4_vpi = phba->vpi_ids[vpi]; un 1033 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdRev.cv = 1; un 1034 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varRdRev.v3req = 1; /* Request SLI3 info */ un 1049 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli_pcimem_bcopy(mqe->un.read_rev.fw_name, un 1050 drivers/scsi/lpfc/lpfc_mbox.c mqe->un.read_rev.fw_name, 16); un 1051 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli_pcimem_bcopy(mqe->un.read_rev.ulp_fw_name, un 1052 drivers/scsi/lpfc/lpfc_mbox.c mqe->un.read_rev.ulp_fw_name, 16); un 1145 drivers/scsi/lpfc/lpfc_mbox.c struct config_hbq_var *hbqmb = &mb->un.varCfgHbq; un 1225 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.ring = ring; un 1226 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.maxOrigXchg = 0; un 1227 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.maxRespXchg = 0; un 1228 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.recvNotify = 1; un 1232 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.numMask = pring->num_mask; un 1238 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.profile = pring->prt[0].profile; un 1244 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.rrRegs[i].rval = pring->prt[i].rctl; un 1245 drivers/scsi/lpfc/lpfc_mbox.c if (mb->un.varCfgRing.rrRegs[i].rval != FC_RCTL_ELS_REQ) un 1246 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.rrRegs[i].rmask = 0xff; un 1248 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.rrRegs[i].rmask = 0xfe; un 1249 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.rrRegs[i].tval = pring->prt[i].type; un 1250 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgRing.rrRegs[i].tmask = 0xff; un 1286 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.pcbLen = sizeof(PCB_t); un 1290 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.pcbLow = putPaddrLow(pdma_addr); un 1291 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.pcbHigh = putPaddrHigh(pdma_addr); un 1294 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.hps = 1; un 1300 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.cbg = 1; /* configure BlockGuard */ un 1302 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.cdss = 1; /* Configure Security */ un 1303 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.cerbm = 1; /* Request HBQs */ un 1304 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.ccrp = 1; /* Command Ring Polling */ un 1305 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.max_hbq = lpfc_sli_hbq_count(); un 1308 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.max_vpi = LPFC_MAX_VPI; un 1309 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.cmv = 1; un 1311 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.max_vpi = phba->max_vpi = 0; un 1314 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.sli_mode = phba->sli_rev; un 1318 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.casabt = 1; un 1391 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varCfgPort.hps = 1; un 1437 drivers/scsi/lpfc/lpfc_mbox.c memcpy(&mb->un.varCfgPort.hbainit, hbainit, 20); un 1693 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.nembed_cmd; un 1714 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.nembed_cmd; un 1735 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; un 1794 drivers/scsi/lpfc/lpfc_mbox.c sli4_config = &mbox->u.mqe.un.sli4_config; un 1908 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.alloc_rsrc_extents.u.req, un 1925 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.alloc_rsrc_extents.u.req, un 1964 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; un 1968 drivers/scsi/lpfc/lpfc_mbox.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; un 1997 drivers/scsi/lpfc/lpfc_mbox.c sli4_cfg = &mbox->u.mqe.un.sli4_config; un 2001 drivers/scsi/lpfc/lpfc_mbox.c cfg_shdr = &mbox->u.mqe.un.sli4_config.header.cfg_shdr; un 2084 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_fcpi, &mboxq->u.mqe.un.req_ftrs, 1); un 2085 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_perfh, &mboxq->u.mqe.un.req_ftrs, 1); un 2089 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_dif, &mboxq->u.mqe.un.req_ftrs, 1); un 2093 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_npiv, &mboxq->u.mqe.un.req_ftrs, 1); un 2096 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_mrqp, &mboxq->u.mqe.un.req_ftrs, 1); un 2098 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0); un 2099 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0); un 2122 drivers/scsi/lpfc/lpfc_mbox.c init_vfi = &mbox->u.mqe.un.init_vfi; un 2154 drivers/scsi/lpfc/lpfc_mbox.c reg_vfi = &mbox->u.mqe.un.reg_vfi; un 2231 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_init_vpi_vpi, &mbox->u.mqe.un.init_vpi, un 2233 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_init_vpi_vfi, &mbox->u.mqe.un.init_vpi, un 2253 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_unreg_vfi_vfi, &mbox->u.mqe.un.unreg_vfi, un 2294 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.type = DMP_NV_PARAMS; un 2295 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.region_id = DMP_REGION_23; un 2296 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varDmp.sli4_length = DMP_RGN23_SIZE; un 2297 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varWords[3] = putPaddrLow(mp->phys); un 2298 drivers/scsi/lpfc/lpfc_mbox.c mb->un.varWords[4] = putPaddrHigh(mp->phys); un 2314 drivers/scsi/lpfc/lpfc_mbox.c memcpy(&rdp_context->link_stat, &mb->un.varRdLnk, sizeof(READ_LNK_VAR)); un 2383 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_LMSD); un 2385 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, phba->sli4_hba.physical_port); un 2387 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_PAGE_A2); un 2389 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A2_SIZE); un 2390 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); un 2391 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_hi = putPaddrHigh(mp->phys); un 2442 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_LMSD); un 2444 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, phba->sli4_hba.physical_port); un 2446 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_PAGE_A0); un 2448 drivers/scsi/lpfc/lpfc_mbox.c &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A0_SIZE); un 2449 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); un 2450 drivers/scsi/lpfc/lpfc_mbox.c mbox->u.mqe.un.mem_dump_type3.addr_hi = putPaddrHigh(mp->phys); un 2474 drivers/scsi/lpfc/lpfc_mbox.c reg_fcfi = &mbox->u.mqe.un.reg_fcfi; un 2546 drivers/scsi/lpfc/lpfc_mbox.c reg_fcfi = &mbox->u.mqe.un.reg_fcfi_mrq; un 2599 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_unreg_fcfi, &mbox->u.mqe.un.unreg_fcfi, fcfi); un 2617 drivers/scsi/lpfc/lpfc_mbox.c resume_rpi = &mbox->u.mqe.un.resume_rpi; un 2639 drivers/scsi/lpfc/lpfc_mbox.c supp_pages = &mbox->u.mqe.un.supp_pages; un 2657 drivers/scsi/lpfc/lpfc_mbox.c sli4_params = &mbox->u.mqe.un.sli4_params; un 195 drivers/scsi/lpfc/lpfc_nportdisc.c irsp->un.ulpWord[4] = IOERR_SLI_ABORTED; un 306 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 307 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_INVALID_PNAME; un 308 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 315 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 316 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_INVALID_NNAME; un 317 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 325 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 326 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_SPARM_OPTIONS; un 327 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 403 drivers/scsi/lpfc/lpfc_nportdisc.c vport->fc_myDID = icmd->un.rcvels.parmRo; un 445 drivers/scsi/lpfc/lpfc_nportdisc.c vid = be32_to_cpu(sp->un.vv.vid); un 446 drivers/scsi/lpfc/lpfc_nportdisc.c flag = be32_to_cpu(sp->un.vv.flags); un 459 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_reg_rpi(phba, vport->vpi, icmd->un.rcvels.remoteID, un 506 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_INVALID_CMD; un 507 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 508 drivers/scsi/lpfc/lpfc_nportdisc.c rc = lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, un 519 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 520 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_OUT_OF_RESOURCE; un 521 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 627 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsvd0 = 0; un 628 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 629 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_SPARM_OPTIONS; un 630 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.vendorUnique = 0; un 631 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 766 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_CMD_UNSUPPORTED; un 767 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_REQ_UNSUPPORTED; un 768 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, un 942 drivers/scsi/lpfc/lpfc_nportdisc.c rpi = pmb->u.mb.un.varWords[0]; un 1058 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 1059 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_CMD_IN_PROGRESS; un 1060 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, un 1092 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_LOGICAL_BSY; un 1093 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 1094 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 1226 drivers/scsi/lpfc/lpfc_nportdisc.c vid = be32_to_cpu(sp->un.vv.vid); un 1227 drivers/scsi/lpfc/lpfc_nportdisc.c flag = be32_to_cpu(sp->un.vv.flags); un 1282 drivers/scsi/lpfc/lpfc_nportdisc.c if (lpfc_reg_rpi(phba, vport->vpi, irsp->un.elsreq64.remoteID, un 1370 drivers/scsi/lpfc/lpfc_nportdisc.c rpi = pmb->u.mb.un.varWords[0]; un 1648 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_LOGICAL_BSY; un 1649 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 1650 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, un 1751 drivers/scsi/lpfc/lpfc_nportdisc.c uint32_t did = mb->un.varWords[1]; un 1759 drivers/scsi/lpfc/lpfc_nportdisc.c mb->un.varRegLogin.vpi, un 1760 drivers/scsi/lpfc/lpfc_nportdisc.c mb->un.varRegLogin.rpi); un 1787 drivers/scsi/lpfc/lpfc_nportdisc.c ndlp->nlp_rpi = mb->un.varWords[0]; un 2211 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 2212 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 2213 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 2225 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 2226 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 2227 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 2253 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 2254 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 2255 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 2267 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 2268 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 2269 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 2502 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; un 2503 drivers/scsi/lpfc/lpfc_nportdisc.c stat.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; un 2504 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_els_rsp_reject(vport, stat.un.lsRjtError, cmdiocb, ndlp, NULL); un 2674 drivers/scsi/lpfc/lpfc_nportdisc.c ndlp->nlp_rpi = mb->un.varWords[0]; un 1757 drivers/scsi/lpfc/lpfc_nvme.c cmdiocb->iocb.un.acxri.abortContextTag, un 1758 drivers/scsi/lpfc/lpfc_nvme.c cmdiocb->iocb.un.acxri.abortIoTag, un 415 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.ulpIoTag32 = 0; un 419 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_IMMED; un 420 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); un 421 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrLow = offsetof(IOCB_t, un 423 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrHigh = 0; un 436 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BLP_64; un 437 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeSize = un 439 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrLow = un 441 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrHigh = un 711 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.ulpIoTag32 = 0; un 712 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeFlags = BUFF_TYPE_BDE_64; un 717 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.bdeSize = sizeof(struct fcp_cmnd); un 718 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrLow = putPaddrLow(pdma_phys_fcp_cmd); un 719 drivers/scsi/lpfc/lpfc_scsi.c iocb->un.fcpi64.bdl.addrHigh = putPaddrHigh(pdma_phys_fcp_cmd); un 945 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi64.bdl.bdeSize = un 955 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_parm = scsi_bufflen(scsi_cmnd); un 2633 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); un 2634 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi64.bdl.bdeSize += (num_bde * sizeof(struct ulp_bde64)); un 2645 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_parm = fcpdl; un 2651 drivers/scsi/lpfc/lpfc_scsi.c if (iocb_cmd->un.fcpi.fcpi_XRdy && un 2653 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_XRdy = fcpdl; un 3226 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_parm = scsi_bufflen(scsi_cmnd); un 3398 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_parm = fcpdl; un 3404 drivers/scsi/lpfc/lpfc_scsi.c if (iocb_cmd->un.fcpi.fcpi_XRdy && un 3406 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_XRdy = fcpdl; un 3491 drivers/scsi/lpfc/lpfc_scsi.c uint32_t fcpi_parm = rsp_iocb->iocb.un.fcpi.fcpi_parm; un 3505 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.scsi_evt.event_type = un 3507 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.scsi_evt.subcategory = un 3510 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; un 3511 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.scsi_evt.wwpn, un 3513 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.scsi_evt.wwnn, un 3520 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.scsi_event.event_type = un 3522 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.scsi_event.subcategory = un 3524 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.scsi_event.lun = un 3526 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, un 3528 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, un 3530 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.sense_key = un 3532 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; un 3533 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; un 3546 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.read_check_error.header.event_type = un 3548 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.read_check_error.header.subcategory = un 3550 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.read_check_error.header.wwpn, un 3552 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.read_check_error.header.wwnn, un 3554 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.read_check_error.lun = cmnd->device->lun; un 3555 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; un 3556 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.read_check_error.fcpiparam = un 3612 drivers/scsi/lpfc/lpfc_scsi.c uint32_t fcpi_parm = rsp_iocb->iocb.un.fcpi.fcpi_parm; un 3837 drivers/scsi/lpfc/lpfc_scsi.c lpfc_cmd->result = (pIocbOut->iocb.un.ulpWord[4] & IOERR_PARAM_MASK); un 3917 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.fabric_evt.event_type = un 3919 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.fabric_evt.subcategory = un 3923 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.fabric_evt.wwpn, un 3926 drivers/scsi/lpfc/lpfc_scsi.c memcpy(&fast_path_evt->un.fabric_evt.wwnn, un 4113 drivers/scsi/lpfc/lpfc_scsi.c piocbq->iocb.un.fcpi.fcpi_XRdy = 0; un 4132 drivers/scsi/lpfc/lpfc_scsi.c piocbq->iocb.un.fcpi.fcpi_XRdy = fcpdl; un 4134 drivers/scsi/lpfc/lpfc_scsi.c piocbq->iocb.un.fcpi.fcpi_XRdy = un 4149 drivers/scsi/lpfc/lpfc_scsi.c iocb_cmd->un.fcpi.fcpi_parm = 0; un 4230 drivers/scsi/lpfc/lpfc_scsi.c piocb->un.fcpi.fcpi_parm = 0; un 4818 drivers/scsi/lpfc/lpfc_scsi.c icmd->un.acxri.abortType = ABORT_TYPE_ABTS; un 4819 drivers/scsi/lpfc/lpfc_scsi.c icmd->un.acxri.abortContextTag = cmd->ulpContext; un 4821 drivers/scsi/lpfc/lpfc_scsi.c icmd->un.acxri.abortIoTag = iocb->sli4_xritag; un 4823 drivers/scsi/lpfc/lpfc_scsi.c icmd->un.acxri.abortIoTag = cmd->ulpIoTag; un 5080 drivers/scsi/lpfc/lpfc_scsi.c iocbqrsp->iocb.un.ulpWord[4], un 1402 drivers/scsi/lpfc/lpfc_sli.c piocb->iocb.un.ulpWord[4] = ulpWord4; un 2482 drivers/scsi/lpfc/lpfc_sli.c rpi = pmb->u.mb.un.varWords[0]; un 2483 drivers/scsi/lpfc/lpfc_sli.c vpi = pmb->u.mb.un.varRegLogin.vpi; un 2658 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], un 2659 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[1]); un 2666 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], un 2667 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[1]); un 2708 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], un 2729 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], un 2730 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[1], un 2731 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[2], un 2732 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[3], un 2733 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[4], un 2734 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[5], un 2735 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[6], un 2736 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[7], un 2737 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[8], un 2738 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[9], un 2739 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[10]); un 2859 drivers/scsi/lpfc/lpfc_sli.c irsp->un.asyncstat.evt_code); un 2867 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3]); un 2889 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3]); un 2897 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3]); un 2915 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3]); un 2923 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3]); un 2970 drivers/scsi/lpfc/lpfc_sli.c w5p = (WORD5 *)&(saveq->iocb.un.ulpWord[5]); un 3148 drivers/scsi/lpfc/lpfc_sli.c saveq->iocb.un.ulpWord[4] = un 3192 drivers/scsi/lpfc/lpfc_sli.c cmdiocbp->iocb.un.ulpWord[4] = un 3202 drivers/scsi/lpfc/lpfc_sli.c saveq->iocb.un.ulpWord[4] = un 3234 drivers/scsi/lpfc/lpfc_sli.c saveq->iocb.un.ulpWord[4], un 3411 drivers/scsi/lpfc/lpfc_sli.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 3423 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[0], un 3424 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[1], un 3425 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[2], un 3426 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3], un 3427 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[4], un 3428 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[5], un 3586 drivers/scsi/lpfc/lpfc_sli.c ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK) == un 3603 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[0], un 3604 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[1], un 3605 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[2], un 3606 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[3], un 3607 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[4], un 3608 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[5], un 4979 drivers/scsi/lpfc/lpfc_sli.c if ((pmb->u.mb.un.varCfgPort.casabt == 1) && un 4980 drivers/scsi/lpfc/lpfc_sli.c (pmb->u.mb.un.varCfgPort.gasabt == 0)) un 4989 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.sli_mode == 3) { un 4990 drivers/scsi/lpfc/lpfc_sli.c if (!pmb->u.mb.un.varCfgPort.cMA) { un 4994 drivers/scsi/lpfc/lpfc_sli.c if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { un 4996 drivers/scsi/lpfc/lpfc_sli.c phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; un 5004 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gdss) { un 5006 drivers/scsi/lpfc/lpfc_sli.c phba->fips_level = pmb->u.mb.un.varCfgPort.fips_level; un 5007 drivers/scsi/lpfc/lpfc_sli.c phba->fips_spec_rev = pmb->u.mb.un.varCfgPort.fips_rev; un 5013 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.sec_err) { un 5017 drivers/scsi/lpfc/lpfc_sli.c pmb->u.mb.un.varCfgPort.sec_err); un 5019 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gerbm) un 5021 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gcrp) un 5028 drivers/scsi/lpfc/lpfc_sli.c if (pmb->u.mb.un.varCfgPort.gbg == 0) { un 5236 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[0], mqe->un.mb_words[1], un 5237 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[2], mqe->un.mb_words[3], un 5238 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[4], mqe->un.mb_words[5], un 5239 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[6], mqe->un.mb_words[7], un 5240 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[8], mqe->un.mb_words[9], un 5241 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[10], mqe->un.mb_words[11], un 5242 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[12], mqe->un.mb_words[13], un 5243 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[14], mqe->un.mb_words[15], un 5244 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[16], mqe->un.mb_words[50], un 5255 drivers/scsi/lpfc/lpfc_sli.c data_length = mqe->un.mb_words[5]; un 5320 drivers/scsi/lpfc/lpfc_sli.c mqe->un.read_rev.vpd_paddr_high = putPaddrHigh(dmabuf->phys); un 5321 drivers/scsi/lpfc/lpfc_sli.c mqe->un.read_rev.vpd_paddr_low = putPaddrLow(dmabuf->phys); un 5322 drivers/scsi/lpfc/lpfc_sli.c mqe->un.read_rev.word1 &= 0x0000FFFF; un 5323 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rd_rev_vpd, &mqe->un.read_rev, 1); un 5324 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rd_rev_avail_len, &mqe->un.read_rev, dma_size); un 5339 drivers/scsi/lpfc/lpfc_sli.c if (mqe->un.read_rev.avail_vpd_len < *vpd_size) un 5340 drivers/scsi/lpfc/lpfc_sli.c *vpd_size = mqe->un.read_rev.avail_vpd_len; un 5480 drivers/scsi/lpfc/lpfc_sli.c get_port_name = &mboxq->u.mqe.un.get_port_name; un 5641 drivers/scsi/lpfc/lpfc_sli.c rsrc_info = &mbox->u.mqe.un.rsrc_extent_info; un 5867 drivers/scsi/lpfc/lpfc_sli.c rsrc_ext = &mbox->u.mqe.un.alloc_rsrc_extents; un 6086 drivers/scsi/lpfc/lpfc_sli.c dealloc_rsrc = &mbox->u.mqe.un.dealloc_rsrc_extents; un 6168 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); un 6169 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_UE_RECOVERY; un 6170 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.param_len = 8; un 6174 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); un 6176 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.set_feature, 1); un 6177 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.feature = LPFC_SET_MDS_DIAGS; un 6178 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_feature.param_len = 8; un 6324 drivers/scsi/lpfc/lpfc_sli.c &pmb->u.mqe.un.ras_fwlog.header.cfg_shdr; un 6405 drivers/scsi/lpfc/lpfc_sli.c mbx_fwlog = (struct lpfc_mbx_set_ras_fwlog *)&mbox->u.mqe.un.ras_fwlog; un 6866 drivers/scsi/lpfc/lpfc_sli.c rsrc_ext = &mbox->u.mqe.un.alloc_rsrc_extents; un 7084 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_host_data.param_id = LPFC_SET_HOST_OS_DRIVER_VERSION; un 7085 drivers/scsi/lpfc/lpfc_sli.c mbox->u.mqe.un.set_host_data.param_len = un 7087 drivers/scsi/lpfc/lpfc_sli.c snprintf(mbox->u.mqe.un.set_host_data.data, un 7210 drivers/scsi/lpfc/lpfc_sli.c phba->sli_rev = bf_get(lpfc_mbx_rd_rev_sli_lvl, &mqe->un.read_rev); un 7211 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mbx_rd_rev_fcoe, &mqe->un.read_rev)) { un 7218 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mbx_rd_rev_cee_ver, &mqe->un.read_rev) == un 7277 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.biuRev = mqe->un.read_rev.first_hw_rev; un 7278 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.smRev = mqe->un.read_rev.second_hw_rev; un 7291 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.endecRev = mqe->un.read_rev.third_hw_rev; un 7293 drivers/scsi/lpfc/lpfc_sli.c &mqe->un.read_rev); un 7295 drivers/scsi/lpfc/lpfc_sli.c &mqe->un.read_rev); un 7297 drivers/scsi/lpfc/lpfc_sli.c &mqe->un.read_rev); un 7299 drivers/scsi/lpfc/lpfc_sli.c &mqe->un.read_rev); un 7300 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.sli1FwRev = mqe->un.read_rev.fw_id_rev; un 7301 drivers/scsi/lpfc/lpfc_sli.c memcpy(phba->vpd.rev.sli1FwName, mqe->un.read_rev.fw_name, 16); un 7302 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.sli2FwRev = mqe->un.read_rev.ulp_fw_id_rev; un 7303 drivers/scsi/lpfc/lpfc_sli.c memcpy(phba->vpd.rev.sli2FwName, mqe->un.read_rev.ulp_fw_name, 16); un 7304 drivers/scsi/lpfc/lpfc_sli.c phba->vpd.rev.opFwRev = mqe->un.read_rev.fw_id_rev; un 7305 drivers/scsi/lpfc/lpfc_sli.c memcpy(phba->vpd.rev.opFwName, mqe->un.read_rev.fw_name, 16); un 7334 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); un 7337 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); un 7364 drivers/scsi/lpfc/lpfc_sli.c if (!(bf_get(lpfc_mbx_rq_ftr_rsp_fcpi, &mqe->un.req_ftrs))) { un 7372 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mbx_rq_ftr_rsp_perfh, &mqe->un.req_ftrs)) un 7384 drivers/scsi/lpfc/lpfc_sli.c if (!(bf_get(lpfc_mbx_rq_ftr_rsp_dif, &mqe->un.req_ftrs))) { un 7392 drivers/scsi/lpfc/lpfc_sli.c !(bf_get(lpfc_mbx_rq_ftr_rsp_npiv, &mqe->un.req_ftrs))) un 7398 drivers/scsi/lpfc/lpfc_sli.c "x%x x%x x%x\n", mqe->un.req_ftrs.word2, un 7399 drivers/scsi/lpfc/lpfc_sli.c mqe->un.req_ftrs.word3, phba->cfg_enable_bg, un 7401 drivers/scsi/lpfc/lpfc_sli.c if (!(bf_get(lpfc_mbx_rq_ftr_rsp_dif, &mqe->un.req_ftrs))) un 7403 drivers/scsi/lpfc/lpfc_sli.c if (!(bf_get(lpfc_mbx_rq_ftr_rsp_npiv, &mqe->un.req_ftrs))) un 7619 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi); un 7631 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi_mrq); un 8146 drivers/scsi/lpfc/lpfc_sli.c mbx->un.varWords[0], mbx->un.varWords[1]); un 8153 drivers/scsi/lpfc/lpfc_sli.c mbx->un.varWords[0], mbx->un.varWords[1]); un 8197 drivers/scsi/lpfc/lpfc_sli.c mbx->un.varWords[0], mbx->un.varWords[1]); un 8204 drivers/scsi/lpfc/lpfc_sli.c mbx->un.varWords[0], mbx->un.varWords[1]); un 8250 drivers/scsi/lpfc/lpfc_sli.c lpfc_memcpy_to_slim(to_slim, &mbx->un.varWords[0], un 8637 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[0], mb->un.mb_words[1], un 8638 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[2], mb->un.mb_words[3], un 8639 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[4], mb->un.mb_words[5], un 8640 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[6], mb->un.mb_words[7], un 8641 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[8], mb->un.mb_words[9], un 8642 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[10], mb->un.mb_words[11], un 8643 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[12], mboxq->mcqe.word0, un 8871 drivers/scsi/lpfc/lpfc_sli.c mbx_cmnd, mqe->un.mb_words[0], un 8872 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[1]); un 8877 drivers/scsi/lpfc/lpfc_sli.c mbx_cmnd, mqe->un.mb_words[0], un 8878 drivers/scsi/lpfc/lpfc_sli.c mqe->un.mb_words[1]); un 9098 drivers/scsi/lpfc/lpfc_sli.c (piocb->iocb.un.genreq64.w5.hcsw.Rctl != un 9100 drivers/scsi/lpfc/lpfc_sli.c (piocb->iocb.un.genreq64.w5.hcsw.Type != un 9197 drivers/scsi/lpfc/lpfc_sli.c if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { un 9198 drivers/scsi/lpfc/lpfc_sli.c numBdes = icmd->un.genreq64.bdl.bdeSize / un 9248 drivers/scsi/lpfc/lpfc_sli.c } else if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BDE_64) { un 9254 drivers/scsi/lpfc/lpfc_sli.c cpu_to_le32(icmd->un.genreq64.bdl.addrHigh); un 9256 drivers/scsi/lpfc/lpfc_sli.c cpu_to_le32(icmd->un.genreq64.bdl.addrLow); un 9261 drivers/scsi/lpfc/lpfc_sli.c cpu_to_le32(icmd->un.genreq64.bdl.bdeSize); un 9321 drivers/scsi/lpfc/lpfc_sli.c if (iocbq->iocb.un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { un 9322 drivers/scsi/lpfc/lpfc_sli.c numBdes = iocbq->iocb.un.genreq64.bdl.bdeSize / un 9343 drivers/scsi/lpfc/lpfc_sli.c xmit_len = iocbq->iocb.un.fcpi64.bdl.bdeSize; un 9418 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.ulpWord[3]); un 9647 drivers/scsi/lpfc/lpfc_sli.c numBdes = iocbq->iocb.un.genreq64.bdl.bdeSize / un 9687 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.xmit_els_remoteID); un 9735 drivers/scsi/lpfc/lpfc_sli.c abrt_iotag = iocbq->iocb.un.acxri.abortContextTag; un 9756 drivers/scsi/lpfc/lpfc_sli.c abort_tag = iocbq->iocb.un.acxri.abortIoTag; un 9778 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_abts_oxid, &iocbq->iocb.un.bls_rsp)); un 9779 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_abts_orig, &iocbq->iocb.un.bls_rsp) == un 9793 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_abts_rxid, &iocbq->iocb.un.bls_rsp)); un 9811 drivers/scsi/lpfc/lpfc_sli.c if (iocbq->iocb.un.xseq64.w5.hcsw.Rctl == FC_RCTL_BA_RJT) { un 9813 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_vndr_code, &iocbq->iocb.un.bls_rsp)); un 9815 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_rsn_expln, &iocbq->iocb.un.bls_rsp)); un 9817 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_rsn_code, &iocbq->iocb.un.bls_rsp)); un 10158 drivers/scsi/lpfc/lpfc_sli.c vpi = iocbq->iocb.un.asyncstat.sub_ctxt_tag; un 10254 drivers/scsi/lpfc/lpfc_sli.c evt_code = icmd->un.asyncstat.evt_code; un 10293 drivers/scsi/lpfc/lpfc_sli.c pring->ringno, icmd->un.asyncstat.evt_code, un 11037 drivers/scsi/lpfc/lpfc_sli.c abort_context = cmdiocb->iocb.un.acxri.abortContextTag; un 11038 drivers/scsi/lpfc/lpfc_sli.c abort_iotag = cmdiocb->iocb.un.acxri.abortIoTag; un 11044 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[4] == IOERR_ABORT_REQUESTED) { un 11065 drivers/scsi/lpfc/lpfc_sli.c irsp->ulpStatus, irsp->un.ulpWord[4]); un 11096 drivers/scsi/lpfc/lpfc_sli.c irsp->un.ulpWord[4], irsp->ulpTimeout); un 11152 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortType = ABORT_TYPE_ABTS; un 11153 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortContextTag = icmd->ulpContext; un 11155 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortIoTag = cmdiocb->sli4_xritag; un 11156 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortContextTag = cmdiocb->iotag; un 11158 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortIoTag = icmd->ulpIoTag; un 11161 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortContextTag = ndlp->nlp_rpi; un 11185 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortIoTag, un 11186 drivers/scsi/lpfc/lpfc_sli.c iabt->un.acxri.abortContextTag, un 11434 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb.un.acxri.abortContextTag, un 11435 drivers/scsi/lpfc/lpfc_sli.c cmdiocb->iocb.un.acxri.abortIoTag, un 11437 drivers/scsi/lpfc/lpfc_sli.c rspiocb->iocb.un.ulpWord[4]); un 11504 drivers/scsi/lpfc/lpfc_sli.c abtsiocb->iocb.un.acxri.abortType = ABORT_TYPE_ABTS; un 11505 drivers/scsi/lpfc/lpfc_sli.c abtsiocb->iocb.un.acxri.abortContextTag = cmd->ulpContext; un 11507 drivers/scsi/lpfc/lpfc_sli.c abtsiocb->iocb.un.acxri.abortIoTag = iocbq->sli4_xritag; un 11509 drivers/scsi/lpfc/lpfc_sli.c abtsiocb->iocb.un.acxri.abortIoTag = cmd->ulpIoTag; un 11641 drivers/scsi/lpfc/lpfc_sli.c abtsiocbq->iocb.un.acxri.abortType = ABORT_TYPE_ABTS; un 11642 drivers/scsi/lpfc/lpfc_sli.c abtsiocbq->iocb.un.acxri.abortContextTag = icmd->ulpContext; un 11644 drivers/scsi/lpfc/lpfc_sli.c abtsiocbq->iocb.un.acxri.abortIoTag = un 11647 drivers/scsi/lpfc/lpfc_sli.c abtsiocbq->iocb.un.acxri.abortIoTag = icmd->ulpIoTag; un 12543 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], 0); un 12558 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], un 12885 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.fcpi.fcpi_parm = un 12886 drivers/scsi/lpfc/lpfc_sli.c pIocbOut->iocb.un.fcpi.fcpi_parm - un 12889 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.ulpWord[4] = wcqe->parameter; un 12891 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.ulpWord[4] = wcqe->parameter; un 12903 drivers/scsi/lpfc/lpfc_sli.c numBdes = pIocbOut->iocb.un.genreq64.bdl.bdeSize/ un 12918 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.genreq64.bdl.bdeSize = max_response; un 12920 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.genreq64.bdl.bdeSize = un 12929 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.ulpWord[4] = IOERR_RX_DMA_FAILED; un 12931 drivers/scsi/lpfc/lpfc_sli.c pIocbIn->iocb.un.ulpWord[4] = IOERR_TX_DMA_FAILED; un 13137 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], 0); un 13145 drivers/scsi/lpfc/lpfc_sli.c pmbox->un.varWords[0], pmb); un 14687 drivers/scsi/lpfc/lpfc_sli.c eq_delay = &mbox->u.mqe.un.eq_delay; un 14774 drivers/scsi/lpfc/lpfc_sli.c eq_create = &mbox->u.mqe.un.eq_create; un 14903 drivers/scsi/lpfc/lpfc_sli.c cq_create = &mbox->u.mqe.un.cq_create; un 15281 drivers/scsi/lpfc/lpfc_sli.c mq_create = &mbox->u.mqe.un.mq_create; un 15362 drivers/scsi/lpfc/lpfc_sli.c mq_create_ext = &mbox->u.mqe.un.mq_create_ext; un 15432 drivers/scsi/lpfc/lpfc_sli.c mq_create = &mbox->u.mqe.un.mq_create; un 15523 drivers/scsi/lpfc/lpfc_sli.c wq_create = &mbox->u.mqe.un.wq_create; un 15787 drivers/scsi/lpfc/lpfc_sli.c rq_create = &mbox->u.mqe.un.rq_create; un 16247 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_eq_destroy_q_id, &mbox->u.mqe.un.eq_destroy.u.request, un 16255 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.eq_destroy.header.cfg_shdr; un 16303 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_cq_destroy_q_id, &mbox->u.mqe.un.cq_destroy.u.request, un 16310 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.wq_create.header.cfg_shdr; un 16357 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_mq_destroy_q_id, &mbox->u.mqe.un.mq_destroy.u.request, un 16364 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.mq_destroy.header.cfg_shdr; un 16411 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_wq_destroy_q_id, &mbox->u.mqe.un.wq_destroy.u.request, un 16417 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.wq_destroy.header.cfg_shdr; un 16467 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_destroy_q_id, &mbox->u.mqe.un.rq_destroy.u.request, un 16474 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.rq_destroy.header.cfg_shdr; un 16486 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_mbx_rq_destroy_q_id, &mbox->u.mqe.un.rq_destroy.u.request, un 16490 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.rq_destroy.header.cfg_shdr; un 16557 drivers/scsi/lpfc/lpfc_sli.c &mbox->u.mqe.un.post_sgl_pages; un 17478 drivers/scsi/lpfc/lpfc_sli.c rsp_iocbq->iocb.un.ulpWord[4]); un 17560 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.bdl.bdeSize = 0; un 17561 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.bdl.ulpIoTag32 = 0; un 17562 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Dfctl = 0; un 17563 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_BA_ACC; un 17564 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Type = FC_TYPE_BLS; un 17597 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_BA_RJT; un 17598 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_vndr_code, &icmd->un.bls_rsp, 0); un 17599 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rsn_expln, &icmd->un.bls_rsp, FC_BA_RJT_INV_XID); un 17600 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rsn_code, &icmd->un.bls_rsp, FC_BA_RJT_UNABLE); un 17608 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_BA_RJT; un 17609 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_vndr_code, &icmd->un.bls_rsp, 0); un 17610 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rsn_expln, &icmd->un.bls_rsp, FC_BA_RJT_INV_XID); un 17611 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_rsn_code, &icmd->un.bls_rsp, FC_BA_RJT_UNABLE); un 17619 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_abts_orig, &icmd->un.bls_rsp, LPFC_ABTS_UNSOL_RSP); un 17625 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_abts_orig, &icmd->un.bls_rsp, LPFC_ABTS_UNSOL_INT); un 17627 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_abts_rxid, &icmd->un.bls_rsp, rxid); un 17628 drivers/scsi/lpfc/lpfc_sli.c bf_set(lpfc_abts_oxid, &icmd->un.bls_rsp, oxid); un 17633 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Rctl, oxid, phba->link_state); un 17640 drivers/scsi/lpfc/lpfc_sli.c icmd->un.xseq64.w5.hcsw.Rctl, oxid, un 17783 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.un.rcvels.parmRo = un 17802 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.un.cont64[0].tus.f.bdeSize = un 17805 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.un.cont64[0].tus.f.bdeSize = tot_len; un 17807 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.un.rcvels.remoteID = sid; un 17843 drivers/scsi/lpfc/lpfc_sli.c first_iocbq->iocb.un.ulpWord[4] = un 17857 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.cont64[0].tus.f.bdeSize = un 17860 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.cont64[0].tus.f.bdeSize = len; un 17865 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.rcvels.remoteID = sid; un 17965 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.addrHigh = putPaddrHigh(pcmd->phys); un 17966 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.addrLow = putPaddrLow(pcmd->phys); un 17967 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.bdeFlags = BUFF_TYPE_BDE_64; un 17968 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.bdeSize = frame_len; un 18212 drivers/scsi/lpfc/lpfc_sli.c hdr_tmpl = &mboxq->u.mqe.un.hdr_tmpl; un 19025 drivers/scsi/lpfc/lpfc_sli.c redisc_fcf = &mbox->u.mqe.un.redisc_fcf_tbl; un 19100 drivers/scsi/lpfc/lpfc_sli.c redisc_fcf = &mbox->u.mqe.un.redisc_fcf_tbl; un 19178 drivers/scsi/lpfc/lpfc_sli.c mb->un.varDmp.word_cnt = 0; un 19184 drivers/scsi/lpfc/lpfc_sli.c if (mb->un.varDmp.word_cnt == 0) un 19186 drivers/scsi/lpfc/lpfc_sli.c if (mb->un.varDmp.word_cnt > DMP_RGN23_SIZE - offset) un 19187 drivers/scsi/lpfc/lpfc_sli.c mb->un.varDmp.word_cnt = DMP_RGN23_SIZE - offset; un 19191 drivers/scsi/lpfc/lpfc_sli.c mb->un.varDmp.word_cnt); un 19192 drivers/scsi/lpfc/lpfc_sli.c offset += mb->un.varDmp.word_cnt; un 19193 drivers/scsi/lpfc/lpfc_sli.c } while (mb->un.varDmp.word_cnt && offset < DMP_RGN23_SIZE); un 19234 drivers/scsi/lpfc/lpfc_sli.c data_length = mqe->un.mb_words[5]; un 19390 drivers/scsi/lpfc/lpfc_sli.c wr_object = (struct lpfc_mbx_wr_object *)&mbox->u.mqe.un.wr_object; un 872 fs/jffs2/readinode.c static inline int read_unknown(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *ref, struct jffs2_unknown_node *un) un 879 fs/jffs2/readinode.c je16_to_cpu(un->magic), je16_to_cpu(un->nodetype), un 880 fs/jffs2/readinode.c je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); un 885 fs/jffs2/readinode.c un->nodetype = cpu_to_je16(JFFS2_NODE_ACCURATE | je16_to_cpu(un->nodetype)); un 887 fs/jffs2/readinode.c switch(je16_to_cpu(un->nodetype) & JFFS2_COMPAT_MASK) { un 891 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); un 898 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); un 904 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); un 909 fs/jffs2/readinode.c je16_to_cpu(un->nodetype), ref_offset(ref)); un 1016 fs/reiserfs/inode.c unp_t *un; un 1045 fs/reiserfs/inode.c un = &unf_single; un 1047 fs/reiserfs/inode.c un = kcalloc(min(blocks_needed, max_to_insert), un 1049 fs/reiserfs/inode.c if (!un) { un 1050 fs/reiserfs/inode.c un = &unf_single; un 1060 fs/reiserfs/inode.c un[blocks_needed - 1] = un 1078 fs/reiserfs/inode.c (char *)un, un 1083 fs/reiserfs/inode.c kfree(un); un 117 include/math-emu/double.h #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,2,r,X,Y,un) un 192 include/math-emu/double.h #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,1,r,X,Y,un) un 531 include/math-emu/op-common.h #define _FP_CMP(fs, wc, ret, X, Y, un) \ un 537 include/math-emu/op-common.h ret = un; \ un 123 include/math-emu/quad.h #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,4,r,X,Y,un) un 196 include/math-emu/quad.h #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,2,r,X,Y,un) un 106 include/math-emu/single.h #define FP_CMP_S(r,X,Y,un) _FP_CMP(S,1,r,X,Y,un) un 84 include/uapi/linux/icmp.h } un; un 632 ipc/sem.c struct sem_undo *un; un 636 ipc/sem.c un = q->undo; un 654 ipc/sem.c int undo = un->semadj[sop->sem_num] - sem_op; un 658 ipc/sem.c un->semadj[sop->sem_num] = undo; un 691 ipc/sem.c un->semadj[sop->sem_num] += sem_op; un 704 ipc/sem.c struct sem_undo *un; un 708 ipc/sem.c un = q->undo; un 737 ipc/sem.c int undo = un->semadj[sop->sem_num] - sem_op; un 751 ipc/sem.c int undo = un->semadj[sop->sem_num] - sem_op; un 753 ipc/sem.c un->semadj[sop->sem_num] = undo; un 1126 ipc/sem.c struct sem_undo *un, *tu; un 1134 ipc/sem.c list_for_each_entry_safe(un, tu, &sma->list_id, list_id) { un 1135 ipc/sem.c list_del(&un->list_id); un 1136 ipc/sem.c spin_lock(&un->ulp->lock); un 1137 ipc/sem.c un->semid = -1; un 1138 ipc/sem.c list_del_rcu(&un->list_proc); un 1139 ipc/sem.c spin_unlock(&un->ulp->lock); un 1140 ipc/sem.c kfree_rcu(un, rcu); un 1327 ipc/sem.c struct sem_undo *un; un 1372 ipc/sem.c list_for_each_entry(un, &sma->list_id, list_id) un 1373 ipc/sem.c un->semadj[semnum] = 0; un 1458 ipc/sem.c struct sem_undo *un; un 1501 ipc/sem.c list_for_each_entry(un, &sma->list_id, list_id) { un 1503 ipc/sem.c un->semadj[i] = 0; un 1853 ipc/sem.c struct sem_undo *un; un 1855 ipc/sem.c list_for_each_entry_rcu(un, &ulp->list_proc, list_proc, un 1857 ipc/sem.c if (un->semid == semid) un 1858 ipc/sem.c return un; un 1865 ipc/sem.c struct sem_undo *un; un 1869 ipc/sem.c un = __lookup_undo(ulp, semid); un 1870 ipc/sem.c if (un) { un 1871 ipc/sem.c list_del_rcu(&un->list_proc); un 1872 ipc/sem.c list_add_rcu(&un->list_proc, &ulp->list_proc); un 1874 ipc/sem.c return un; un 1892 ipc/sem.c struct sem_undo *un, *new; un 1901 ipc/sem.c un = lookup_undo(ulp, semid); un 1903 ipc/sem.c if (likely(un != NULL)) un 1917 ipc/sem.c un = ERR_PTR(-EIDRM); un 1936 ipc/sem.c un = ERR_PTR(-EIDRM); un 1944 ipc/sem.c un = lookup_undo(ulp, semid); un 1945 ipc/sem.c if (un) { un 1957 ipc/sem.c un = new; un 1963 ipc/sem.c return un; un 1973 ipc/sem.c struct sem_undo *un; un 2031 ipc/sem.c un = find_alloc_undo(ns, semid); un 2032 ipc/sem.c if (IS_ERR(un)) { un 2033 ipc/sem.c error = PTR_ERR(un); un 2037 ipc/sem.c un = NULL; un 2085 ipc/sem.c if (un && un->semid == -1) un 2090 ipc/sem.c queue.undo = un; un 2312 ipc/sem.c struct sem_undo *un; un 2319 ipc/sem.c un = list_entry_rcu(ulp->list_proc.next, un 2321 ipc/sem.c if (&un->list_proc == &ulp->list_proc) { un 2334 ipc/sem.c semid = un->semid; un 2357 ipc/sem.c un = __lookup_undo(ulp, semid); un 2358 ipc/sem.c if (un == NULL) { un 2369 ipc/sem.c list_del(&un->list_id); un 2372 ipc/sem.c list_del_rcu(&un->list_proc); un 2378 ipc/sem.c if (un->semadj[i]) { un 2379 ipc/sem.c semaphore->semval += un->semadj[i]; un 2406 ipc/sem.c kfree_rcu(un, rcu); un 336 net/batman-adv/tp_meter.c struct batadv_tp_unacked *un, *safe; un 344 net/batman-adv/tp_meter.c list_for_each_entry_safe(un, safe, &tp_vars->unacked_list, list) { un 345 net/batman-adv/tp_meter.c list_del(&un->list); un 346 net/batman-adv/tp_meter.c kfree(un); un 1106 net/batman-adv/tp_meter.c struct batadv_tp_unacked *un, *safe; un 1133 net/batman-adv/tp_meter.c list_for_each_entry_safe(un, safe, &tp_vars->unacked_list, list) { un 1134 net/batman-adv/tp_meter.c list_del(&un->list); un 1135 net/batman-adv/tp_meter.c kfree(un); un 1230 net/batman-adv/tp_meter.c struct batadv_tp_unacked *un, *new; un 1258 net/batman-adv/tp_meter.c list_for_each_entry_reverse(un, &tp_vars->unacked_list, list) { un 1260 net/batman-adv/tp_meter.c if (new->seqno == un->seqno) { un 1261 net/batman-adv/tp_meter.c if (new->len > un->len) un 1262 net/batman-adv/tp_meter.c un->len = new->len; un 1269 net/batman-adv/tp_meter.c if (batadv_seq_before(new->seqno, un->seqno)) un 1276 net/batman-adv/tp_meter.c list_add_tail(&new->list, &un->list); un 1298 net/batman-adv/tp_meter.c struct batadv_tp_unacked *un, *safe; un 1305 net/batman-adv/tp_meter.c list_for_each_entry_safe(un, safe, &tp_vars->unacked_list, list) { un 1310 net/batman-adv/tp_meter.c if (batadv_seq_before(tp_vars->last_recv, un->seqno)) un 1313 net/batman-adv/tp_meter.c to_ack = un->seqno + un->len - tp_vars->last_recv; un 1315 net/batman-adv/tp_meter.c if (batadv_seq_before(tp_vars->last_recv, un->seqno + un->len)) un 1318 net/batman-adv/tp_meter.c list_del(&un->list); un 1319 net/batman-adv/tp_meter.c kfree(un); un 707 net/ipv4/icmp.c icmp_param.data.icmph.un.gateway = info; un 836 net/ipv4/icmp.c info = ntohs(icmph->un.frag.mtu); un 850 net/ipv4/icmp.c info = ntohl(icmph->un.gateway) >> 24; un 912 net/ipv4/icmp.c icmp_socket_deliver(skb, ntohl(icmp_hdr(skb)->un.gateway)); un 182 net/ipv4/ip_gre.c data_len = icmp_hdr(skb)->un.reserved[1] * 4; /* RFC 4884 4.1 */ un 164 net/ipv4/netfilter/nf_log_ipv4.c ntohs(ich->un.echo.id), un 165 net/ipv4/netfilter/nf_log_ipv4.c ntohs(ich->un.echo.sequence)); un 171 net/ipv4/netfilter/nf_log_ipv4.c ntohl(ich->un.gateway) >> 24); un 175 net/ipv4/netfilter/nf_log_ipv4.c nf_log_buf_add(m, "GATEWAY=%pI4 ", &ich->un.gateway); un 192 net/ipv4/netfilter/nf_log_ipv4.c ntohs(ich->un.frag.mtu)); un 508 net/ipv4/ping.c skb->protocol, type, code, ntohs(icmph->un.echo.id), un 509 net/ipv4/ping.c ntohs(icmph->un.echo.sequence)); un 511 net/ipv4/ping.c sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id)); un 816 net/ipv4/ping.c pfh.icmph.un.echo.id = inet->inet_sport; un 817 net/ipv4/ping.c pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence; un 967 net/ipv4/ping.c skb, ntohs(icmph->un.echo.id), ntohs(icmph->un.echo.sequence)); un 972 net/ipv4/ping.c sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id)); un 738 net/ipv4/route.c __be32 new_gw = icmp_hdr(skb)->un.gateway; un 132 net/ipv6/ping.c pfh.icmph.un.echo.id = inet->inet_sport; un 133 net/ipv6/ping.c pfh.icmph.un.echo.sequence = user_icmph.icmp6_sequence; un 517 net/ipv6/sit.c data_len = icmp_hdr(skb)->un.reserved[1] * 4; /* RFC 4884 4.1 */ un 99 net/netfilter/ipvs/ip_vs_core.c #define icmp_id(icmph) (((icmph)->un).echo.id) un 1801 net/netfilter/ipvs/ip_vs_core.c __be32 info = ic->un.gateway; un 1809 net/netfilter/ipvs/ip_vs_core.c u32 mtu = ntohs(ic->un.frag.mtu); un 36 net/netfilter/nf_conntrack_proto_icmp.c tuple->src.u.icmp.id = hp->un.echo.id; un 217 net/netfilter/nf_conntrack_proto_udp.c struct nf_udp_net *un = nf_udp_pernet(net); un 220 net/netfilter/nf_conntrack_proto_udp.c timeouts = un->timeouts; un 223 net/netfilter/nf_conntrack_proto_udp.c timeouts[UDP_CT_UNREPLIED] = un->timeouts[UDP_CT_UNREPLIED]; un 224 net/netfilter/nf_conntrack_proto_udp.c timeouts[UDP_CT_REPLIED] = un->timeouts[UDP_CT_REPLIED]; un 262 net/netfilter/nf_conntrack_proto_udp.c struct nf_udp_net *un = nf_udp_pernet(net); un 266 net/netfilter/nf_conntrack_proto_udp.c un->timeouts[i] = udp_timeouts[i]; un 1025 net/netfilter/nf_conntrack_standalone.c struct nf_udp_net *un = nf_udp_pernet(net); un 1049 net/netfilter/nf_conntrack_standalone.c table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP].data = &un->timeouts[UDP_CT_UNREPLIED]; un 1050 net/netfilter/nf_conntrack_standalone.c table[NF_SYSCTL_CT_PROTO_TIMEOUT_UDP_STREAM].data = &un->timeouts[UDP_CT_REPLIED]; un 248 net/netfilter/nf_nat_proto.c hdr->un.echo.id, tuple->src.u.icmp.id, false); un 249 net/netfilter/nf_nat_proto.c hdr->un.echo.id = tuple->src.u.icmp.id; un 95 samples/bpf/xdp_adjust_tail_kern.c icmp_hdr->un.frag.mtu = htons(MAX_PCKT_SIZE-sizeof(struct ethhdr)); un 49 scripts/conmakehash.c static void addpair(int fp, int un) un 53 scripts/conmakehash.c if ( un <= 0xfffe ) un 58 scripts/conmakehash.c if ( unitable[fp][i] == un ) un 69 scripts/conmakehash.c unitable[fp][unicount[fp]] = un; un 116 tools/testing/selftests/bpf/progs/xdping_kern.c if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence) un 142 tools/testing/selftests/bpf/progs/xdping_kern.c seq = bpf_htons(bpf_ntohs(icmph->un.echo.sequence) + 1); un 143 tools/testing/selftests/bpf/progs/xdping_kern.c icmph->un.echo.sequence = seq;