Searched refs:lid (Results 1 - 25 of 113) sorted by relevance

12345

/linux-master/drivers/infiniband/sw/rdmavt/
H A Dmcast.h12 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
13 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
H A Dmcast.c61 * @lid: the muilticast LID (host order)
65 static struct rvt_mcast *rvt_mcast_alloc(union ib_gid *mgid, u16 lid) argument
74 mcast->mcast_addr.lid = lid;
100 * @lid: the multicast LID portion of the multicast address (host order)
107 u16 lid)
129 if (mcast->mcast_addr.lid == lid) {
179 if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) {
106 rvt_mcast_find(struct rvt_ibport *ibp, union ib_gid *mgid, u16 lid) argument
238 rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
301 rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) argument
[all...]
/linux-master/arch/mips/mm/
H A Duasm.c413 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) argument
416 (*lab)->lab = lid;
491 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) argument
495 (*rel)->lab = lid;
560 int lid)
562 uasm_r_mips_pc16(r, *p, lid);
567 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) argument
569 uasm_r_mips_pc16(r, *p, lid);
575 unsigned int r2, int lid)
577 uasm_r_mips_pc16(r, *p, lid);
559 uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
574 uasm_il_beq(u32 **p, struct uasm_reloc **r, unsigned int r1, unsigned int r2, int lid) argument
582 uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
590 uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
598 uasm_il_bne(u32 **p, struct uasm_reloc **r, unsigned int reg1, unsigned int reg2, int lid) argument
606 uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
614 uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
622 uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid) argument
630 uasm_il_bbit0(u32 **p, struct uasm_reloc **r, unsigned int reg, unsigned int bit, int lid) argument
638 uasm_il_bbit1(u32 **p, struct uasm_reloc **r, unsigned int reg, unsigned int bit, int lid) argument
[all...]
/linux-master/drivers/platform/surface/
H A Dsurface_gpe.c3 * Surface GPE/Lid driver to enable wakeup from suspend via the lid by
4 * properly configuring the respective GPEs. Required for wakeup via lid on
19 * Note: The GPE numbers for the lid devices found below have been obtained
21 * lid.
203 const struct surface_lid_device *lid = dev_get_drvdata(dev); local
207 status = acpi_set_gpe_wake_mask(NULL, lid->gpe_number, action);
231 struct surface_lid_device *lid; local
242 lid = devm_kzalloc(&pdev->dev, sizeof(*lid), GFP_KERNEL);
243 if (!lid)
272 struct surface_lid_device *lid = dev_get_drvdata(&pdev->dev); local
[all...]
/linux-master/fs/jfs/
H A Djfs_txnmgr.c142 lid_t maxlid; /* 4: biggest lid ever used */
182 lid_t lid; local
189 while (!(lid = TxAnchor.freelock))
191 TxAnchor.freelock = TxLock[lid].next;
192 HIGHWATERMARK(stattx.maxlid, lid);
199 return lid;
202 static void txLockFree(lid_t lid) argument
204 TxLock[lid].tid = 0;
205 TxLock[lid].next = TxAnchor.freelock;
206 TxAnchor.freelock = lid;
587 lid_t lid; local
871 lid_t lid; local
904 lid_t lid, next, llid, k; local
990 lid_t lid; local
1062 lid_t lid; local
1375 lid_t lid; local
2180 lid_t lid, next; local
2249 lid_t lid; local
2551 lid_t xlid = 0, lid; local
2595 lid_t lid, next; local
[all...]
H A Djfs_txnmgr.h15 #define lid_to_tlock(lid) (&TxLock[lid])
H A Djfs_metapage.h15 lid_t lid; member in struct:metapage
/linux-master/include/rdma/
H A Dopa_smi.h38 } lid; member in union:opa_smp::__anon1402
105 return smp->route.lid.data;
113 return sizeof(smp->route.lid.data);
121 return sizeof(*smp) - sizeof(smp->route.lid.data);
H A Dib_mad.h390 __be16 lid; /* where violation happened */ member in struct:ib_mad_notice_attr::__anon1878::__anon1880
396 __be16 lid; /* LID where change occurred */ member in struct:ib_mad_notice_attr::__anon1878::__anon1881
406 __be16 lid; /* lid where sys guid changed */ member in struct:ib_mad_notice_attr::__anon1878::__anon1882
413 __be16 lid; member in struct:ib_mad_notice_attr::__anon1878::__anon1883
/linux-master/drivers/base/
H A Dphysical_location.c36 dev->physical_location->lid = pld->lid;
129 dev->physical_location->lid ? "yes" : "no");
131 static DEVICE_ATTR_RO(lid);
/linux-master/include/uapi/rdma/
H A Dib_user_mad.h63 * @lid - Remote lid received from/to be sent to
81 __be16 lid; member in struct:ib_user_mad_hdr_old
106 * @lid - Remote lid received from/to be sent to
125 __be16 lid; member in struct:ib_user_mad_hdr
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dnpc.h13 #define SET_KEX_LD(intf, lid, ltype, ld, cfg) \
15 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, ltype, ld), cfg)
275 u8 lid; member in struct:npc_kpu_profile_action
364 u64 lid : 3; member in struct:npc_kpu_pkind_cpi_def
386 u64 lid : 3;
534 u8 lid; member in struct:npc_lt_def
540 u8 lid; member in struct:npc_lt_def_ipsec
548 u8 lid; member in struct:npc_lt_def_apad
555 u8 lid; member in struct:npc_lt_def_color
563 u8 lid; member in struct:npc_lt_def_et
[all...]
H A Drvu_npc_hash.c104 u8 intf, int lid, int lt, int ld)
109 cfg = rvu_read64(rvu, blkaddr, NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, lt, ld));
126 int lid, lt, ld, hash_cnt = 0; local
132 for (lid = 0; lid < NPC_MAX_LID; lid++) {
135 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) {
142 intf, lid, lt, ld);
144 SET_KEX_LD(intf, lid, lt, ld, cfg);
166 int lid, l local
103 npc_update_use_hash(struct rvu *rvu, int blkaddr, u8 intf, int lid, int lt, int ld) argument
302 u8 lid = (cfg & GENMASK_ULL(10, 8)) >> 8; local
[all...]
H A Drvu_npc_fs.c159 u64 cfg, u8 lid, u8 lt, u8 intf)
170 input->layer_mdata.lid = lid;
181 if (input1->layer_mdata.lid == input2->layer_mdata.lid &&
204 u8 nr_bits, lid, lt, ld; local
215 for (lid = start_lid; lid < NPC_MAX_LID; lid++) {
220 (intf, lid, l
158 npc_set_layer_mdata(struct npc_mcam *mcam, enum key_fields type, u64 cfg, u8 lid, u8 lt, u8 intf) argument
459 npc_scan_ldata(struct rvu *rvu, int blkaddr, u8 lid, u8 lt, u64 cfg, u8 intf) argument
636 u8 lid, lt, ld, bitnr; local
[all...]
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_ud.c90 u16 lid; local
95 lid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
100 cpu_to_be16(lid),
208 wc.slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
243 u16 lid; local
284 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1);
285 if (unlikely(lid == ppd->lid)) {
355 lid
[all...]
H A Dqib_driver.c107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT |
309 u16 lid = be16_to_cpu(hdr->lrh[1]); local
320 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) {
321 lid &= ~((1 << ppd->lmc) - 1);
322 if (unlikely(lid != ppd->lid))
638 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) argument
642 ppd->lid = lid;
[all...]
H A Dqib_mad.c152 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
176 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
179 data.details.ntc_256.lid = data.issuer_lid;
217 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
220 data.details.ntc_144.lid = data.issuer_lid;
237 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
240 data.details.ntc_145.lid = data.issuer_lid;
257 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid);
260 data.details.ntc_144.lid = data.issuer_lid;
498 pip->lid
663 u16 lid, smlid; local
[all...]
/linux-master/arch/mips/include/asm/
H A Duasm.h195 int lid);
303 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);
312 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid);
314 unsigned int bit, int lid);
316 unsigned int bit, int lid);
318 unsigned int r2, int lid);
319 void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
320 void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
321 void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
322 void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c76 u8 port_num, u16 lid, u8 sl)
87 rdma_ah_set_dlid(&ah_attr, lid);
120 u16 lid = be16_to_cpu(pinfo->lid); local
135 if (prev_lid != lid) {
249 prev_lid = ib_lid_cpu16(pattr.lid);
75 update_sm_ah(struct mthca_dev *dev, u8 port_num, u16 lid, u8 sl) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dmad.h65 __be32 lid; member in struct:opa_mad_notice_attr::__anon893::__anon896
69 __be32 lid; /* where violation happened */ member in struct:opa_mad_notice_attr::__anon893::__anon897
74 __be32 lid; /* LID where change occurred */ member in struct:opa_mad_notice_attr::__anon893::__anon898
83 __be32 lid; /* lid where sys guid changed */ member in struct:opa_mad_notice_attr::__anon893::__anon899
87 __be32 lid; member in struct:opa_mad_notice_attr::__anon893::__anon900
123 __be32 lid; member in struct:opa_mad_notice_attr::__anon893::__anon903
H A Dud.c75 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
207 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) &
209 /* Check for loopback when the port lid is not set */
313 u16 lid = (u16)ppd->lid; local
315 if (lid) {
316 lid |= rdma_ah_get_path_bits(ah_attr) &
318 slid = lid;
403 if (!ppd->lid)
406 slid = ppd->lid | (rdma_ah_get_path_bit
443 u32 lid; local
[all...]
H A Dhfi.h794 u32 lid; member in struct:hfi1_pportdata
1887 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
2444 (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))) &&
2456 * hfi1_check_mcast- Check if the given lid is
2463 static inline bool hfi1_check_mcast(u32 lid) argument
2465 return ((lid >= opa_get_mcast_base(OPA_MCAST_NR)) &&
2466 (lid != be32_to_cpu(OPA_LID_PERMISSIVE)));
2469 #define opa_get_lid(lid, format) \
2470 __opa_get_lid(lid, OPA_PORT_PACKET_FORMAT_##format)
2472 /* Convert a lid t
2473 __opa_get_lid(u32 lid, u8 format) argument
2502 hfi1_is_16B_mcast(u32 lid) argument
2535 hfi1_get_packet_type(u32 lid) argument
2548 hfi1_get_hdr_type(u32 lid, struct rdma_ah_attr *attr) argument
[all...]
/linux-master/include/trace/events/
H A Dib_umad.h35 __field(u16, lid)
63 __entry->lid = umad_hdr->lid;
86 "len %u QP%u qkey 0x%08x lid 0x%04x sl %u path_bits 0x%x " \
95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
/linux-master/samples/bpf/
H A Dibumad_kern.c60 u16 lid; member in struct:ib_umad_rw_args
/linux-master/drivers/infiniband/core/
H A Duverbs_std_types_device.c157 resp->lid = OPA_TO_IB_UCAST_LID(attr->lid);
160 resp->lid = ib_lid_cpu16(attr->lid);

Completed in 266 milliseconds

12345