Lines Matching full:lid
101 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
132 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
303 u16 lid = be16_to_cpu(hdr->lrh[1]); in qib_rcv_hdrerr() local
314 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_rcv_hdrerr()
315 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr()
316 if (unlikely(lid != ppd->lid)) in qib_rcv_hdrerr()
632 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument
636 ppd->lid = lid; in qib_set_lid()
640 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid()
642 qib_devinfo(dd->pcidev, "IB%u:%u got a lid: 0x%x\n", in qib_set_lid()
643 dd->unit, ppd->port, lid); in qib_set_lid()