/Linux-v4.19/Documentation/acpi/ |
D | acpi-lid.txt | 9 Platforms containing lids convey lid state (open/close) to OSPMs using a 10 control method lid device. To implement this, the AML tables issue 11 Notify(lid_device, 0x80) to notify the OSPMs whenever the lid state has 12 changed. The _LID control method for the lid device must be implemented to 13 report the "current" state of the lid as either "opened" or "closed". 15 For most platforms, both the _LID method and the lid notifications are 19 expections of the Linux ACPI lid device driver. 24 The _LID control method is described to return the "current" lid state. 26 the lid state upon the last lid notification instead of returning the lid 31 There are platforms always retun "closed" as initial lid state. [all …]
|
/Linux-v4.19/fs/jfs/ |
D | jfs_txnmgr.c | 195 lid_t lid; in txLockAlloc() local 202 while (!(lid = TxAnchor.freelock)) in txLockAlloc() 204 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc() 205 HIGHWATERMARK(stattx.maxlid, lid); in txLockAlloc() 212 return lid; in txLockAlloc() 215 static void txLockFree(lid_t lid) in txLockFree() argument 217 TxLock[lid].tid = 0; in txLockFree() 218 TxLock[lid].next = TxAnchor.freelock; in txLockFree() 219 TxAnchor.freelock = lid; in txLockFree() 595 lid_t lid; in txLock() local [all …]
|
D | jfs_txnmgr.h | 28 #define lid_to_tlock(lid) (&TxLock[lid]) argument
|
/Linux-v4.19/arch/mips/mm/ |
D | uasm.c | 402 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) in uasm_build_label() argument 405 (*lab)->lab = lid; in uasm_build_label() 480 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) in uasm_r_mips_pc16() argument 484 (*rel)->lab = lid; in uasm_r_mips_pc16() 549 int lid) in uasm_il_bltz() argument 551 uasm_r_mips_pc16(r, *p, lid); in uasm_il_bltz() 556 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) in uasm_il_b() argument 558 uasm_r_mips_pc16(r, *p, lid); in uasm_il_b() 564 unsigned int r2, int lid) in uasm_il_beq() argument 566 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beq() [all …]
|
D | tlbex.c | 652 unsigned int tmp, enum label_id lid, in build_restore_pagemask() argument 661 uasm_il_b(p, r, lid); in build_restore_pagemask() 665 uasm_il_b(p, r, lid); in build_restore_pagemask() 668 uasm_il_b(p, r, lid); in build_restore_pagemask() 679 uasm_il_b(p, r, lid); in build_restore_pagemask() 683 uasm_il_b(p, r, lid); in build_restore_pagemask() 686 uasm_il_b(p, r, lid); in build_restore_pagemask() 713 unsigned int pmd, int lid) in build_is_huge_pte() argument 717 uasm_il_bbit1(p, r, tmp, ilog2(_PAGE_HUGE), lid); in build_is_huge_pte() 720 uasm_il_bnez(p, r, tmp, lid); in build_is_huge_pte() [all …]
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | mcast.c | 107 static struct rvt_mcast *rvt_mcast_alloc(union ib_gid *mgid, u16 lid) in rvt_mcast_alloc() argument 116 mcast->mcast_addr.lid = lid; in rvt_mcast_alloc() 149 u16 lid) in rvt_mcast_find() argument 171 if (mcast->mcast_addr.lid == lid) { in rvt_mcast_find() 221 if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) { in rvt_mcast_add() 280 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_attach_mcast() argument 296 mcast = rvt_mcast_alloc(gid, lid); in rvt_attach_mcast() 343 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_detach_mcast() argument 376 if (mcast->mcast_addr.lid != lid) { in rvt_detach_mcast()
|
D | mcast.h | 54 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid); 55 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | smp.h | 37 } lid; in ia64_get_lid() local 39 lid.bits = ia64_getreg(_IA64_REG_CR_LID); in ia64_get_lid() 40 return lid.f.id << 8 | lid.f.eid; in ia64_get_lid()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | uasm.h | 185 int lid); 291 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid); 300 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid); 302 unsigned int bit, int lid); 304 unsigned int bit, int lid); 306 unsigned int r2, int lid); 307 void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 308 void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 309 void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 310 void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); [all …]
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 89 u16 lid; in qib_ud_loopback() local 94 lid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in qib_ud_loopback() 99 cpu_to_be16(lid), in qib_ud_loopback() 212 wc.slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in qib_ud_loopback() 247 u16 lid; in qib_make_ud_req() local 288 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req() 289 if (unlikely(lid == ppd->lid)) { in qib_make_ud_req() 359 lid = ppd->lid; in qib_make_ud_req() 360 if (lid) { in qib_make_ud_req() 361 lid |= rdma_ah_get_path_bits(ah_attr) & in qib_make_ud_req() [all …]
|
D | qib_driver.c | 108 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units() 140 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units() 312 u16 lid = be16_to_cpu(hdr->lrh[1]); in qib_rcv_hdrerr() local 323 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_rcv_hdrerr() 324 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr() 325 if (unlikely(lid != ppd->lid)) in qib_rcv_hdrerr() 641 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument 645 ppd->lid = lid; in qib_set_lid() 649 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid() 652 dd->unit, ppd->port, lid); in qib_set_lid()
|
D | qib_mad.c | 152 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_pkey() 176 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_bad_mkey() 179 data.details.ntc_256.lid = data.issuer_lid; in qib_bad_mkey() 217 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_cap_mask_chg() 220 data.details.ntc_144.lid = data.issuer_lid; in qib_cap_mask_chg() 237 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_sys_guid_chg() 240 data.details.ntc_145.lid = data.issuer_lid; in qib_sys_guid_chg() 257 data.issuer_lid = cpu_to_be16(ppd_from_ibp(ibp)->lid); in qib_node_desc_chg() 260 data.details.ntc_144.lid = data.issuer_lid; in qib_node_desc_chg() 498 pip->lid = cpu_to_be16(ppd->lid); in subn_get_portinfo() [all …]
|
D | qib_verbs.c | 315 u16 lid; in qib_ib_rcv() local 322 lid = be16_to_cpu(hdr->lrh[1]); in qib_ib_rcv() 323 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_ib_rcv() 324 lid &= ~((1 << ppd->lmc) - 1); in qib_ib_rcv() 325 if (unlikely(lid != ppd->lid)) in qib_ib_rcv() 359 mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid); in qib_ib_rcv() 1233 u16 lid = ppd->lid; in qib_query_port() local 1236 props->lid = lid ? lid : be16_to_cpu(IB_LID_PERMISSIVE); in qib_query_port()
|
/Linux-v4.19/include/rdma/ |
D | opa_smi.h | 65 } lid; member 132 return smp->route.lid.data; in opa_get_smp_data() 140 return sizeof(smp->route.lid.data); in opa_get_smp_data_size() 148 return sizeof(*smp) - sizeof(smp->route.lid.data); in opa_get_smp_header_size()
|
D | ib_mad.h | 404 __be16 lid; /* where violation happened */ member 410 __be16 lid; /* LID where change occurred */ member 420 __be16 lid; /* lid where sys guid changed */ member 427 __be16 lid; member
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | mad.h | 106 __be32 lid; member 110 __be32 lid; /* where violation happened */ member 115 __be32 lid; /* LID where change occurred */ member 124 __be32 lid; /* lid where sys guid changed */ member 128 __be32 lid; member 164 __be32 lid; member
|
D | hfi.h | 772 u32 lid; member 1744 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc); 2262 (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))) && in hfi1_update_ah_attr() 2281 static inline bool hfi1_check_mcast(u32 lid) in hfi1_check_mcast() argument 2283 return ((lid >= opa_get_mcast_base(OPA_MCAST_NR)) && in hfi1_check_mcast() 2284 (lid != be32_to_cpu(OPA_LID_PERMISSIVE))); in hfi1_check_mcast() 2287 #define opa_get_lid(lid, format) \ argument 2288 __opa_get_lid(lid, OPA_PORT_PACKET_FORMAT_##format) 2291 static inline u32 __opa_get_lid(u32 lid, u8 format) in __opa_get_lid() argument 2293 bool is_mcast = hfi1_check_mcast(lid); in __opa_get_lid() [all …]
|
D | ud.c | 116 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 268 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 374 u16 lid = (u16)ppd->lid; in hfi1_make_ud_req_9B() local 376 if (lid) { in hfi1_make_ud_req_9B() 377 lid |= rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_9B() 379 slid = lid; in hfi1_make_ud_req_9B() 464 if (!ppd->lid) in hfi1_make_ud_req_16B() 467 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_16B() 503 u32 lid; in hfi1_make_ud_req() local 538 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req() [all …]
|
D | mad.c | 371 memcpy(smp->route.lid.data, &trap->data, trap->len); in send_trap() 431 static struct trap_node *create_trap_node(u8 type, __be16 trap_num, u32 lid) in create_trap_node() argument 443 trap->data.issuer_lid = cpu_to_be32(lid); in create_trap_node() 455 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_bad_pkey() local 461 lid); in hfi1_bad_pkey() 484 u32 lid = ppd_from_ibp(ibp)->lid; in bad_mkey() local 487 lid); in bad_mkey() 492 trap->data.ntc_256.lid = trap->data.issuer_lid; in bad_mkey() 524 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_cap_mask_chg() local 528 lid); in hfi1_cap_mask_chg() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 75 u8 port_num, u16 lid, u8 sl) in update_sm_ah() argument 86 rdma_ah_set_dlid(&ah_attr, lid); in update_sm_ah() 119 u16 lid = be16_to_cpu(pinfo->lid); in smp_snoop() local 134 if (prev_lid != lid) { in smp_snoop() 259 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
|
/Linux-v4.19/include/uapi/rdma/ |
D | ib_user_mad.h | 81 __be16 lid; member 125 __be16 lid; member
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-bus-iio-cros-ec | 17 sensor can be located on the base or on the lid. Current valid 18 values are 'base' and 'lid'.
|
D | sysfs-driver-samsung-laptop | 43 Description: Some Samsung laptops handle lid closing quicker and 44 only handle lid opening with this mode enabled.
|
/Linux-v4.19/scripts/ |
D | spdxcheck.py | 48 lid = l.split(':')[1].strip().upper() 49 if lid in spdx.licenses: 50 raise SPDXException(el, 'Duplicate License Identifier: %s' %lid) 52 spdx.licenses.append(lid)
|
/Linux-v4.19/drivers/nvme/target/ |
D | discovery.c | 200 switch (cmd->get_log_page.lid) { in nvmet_parse_discovery_cmd() 206 cmd->get_log_page.lid); in nvmet_parse_discovery_cmd()
|