Lines Matching refs:lid
672 u32 lid; member
2491 int (*attach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
2492 int (*detach_mcast)(struct ib_qp *qp, union ib_gid *gid, u16 lid);
4270 int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
4278 int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
4587 static inline u16 ib_lid_cpu16(u32 lid) in ib_lid_cpu16() argument
4589 WARN_ON_ONCE(lid & 0xFFFF0000); in ib_lid_cpu16()
4590 return (u16)lid; in ib_lid_cpu16()
4598 static inline __be16 ib_lid_be16(u32 lid) in ib_lid_be16() argument
4600 WARN_ON_ONCE(lid & 0xFFFF0000); in ib_lid_be16()
4601 return cpu_to_be16((u16)lid); in ib_lid_be16()