/linux-6.3-rc2/Documentation/firmware-guide/acpi/ |
A D | acpi-lid.rst | 14 Platforms containing lids convey lid state (open/close) to OSPMs 16 Notify(lid_device, 0x80) to notify the OSPMs whenever the lid state has 18 report the "current" state of the lid as either "opened" or "closed". 20 For most platforms, both the _LID method and the lid notifications are 24 exceptions of the Linux ACPI lid device driver. 32 the lid state upon the last lid notification instead of returning the lid 37 There are platforms always return "closed" as initial lid state. 39 Restrictions of the lid state change notifications 49 Exceptions for the userspace users of the ACPI lid device driver 55 /proc/acpi/button/lid/LID0/state [all …]
|
/linux-6.3-rc2/fs/jfs/ |
A D | jfs_txnmgr.c | 182 lid_t lid; in txLockAlloc() local 601 lid = mp->lid; in txLock() 725 mp->lid = lid; in txLock() 841 if (xtid && (tlck->mp == mp) && (mp->lid == lid)) in txLock() 871 for (lid = tblk->next; lid; lid = tlck->next) { in txRelease() 911 for (lid = tblk->next; lid; lid = next) { in txUnlock() 1377 for (lid = tblk->next; lid; lid = tlck->next) { in txLog() 2198 for (lid = tblk->next; lid; lid = next) { in txForce() 2269 for (lid = tblk->next; lid; lid = tlck->next) { in txUpdateMap() 2332 ASSERT(mp->lid == lid); in txUpdateMap() [all …]
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | uasm.c | 416 (*lab)->lab = lid; in uasm_build_label() 495 (*rel)->lab = lid; in uasm_r_mips_pc16() 560 int lid) in uasm_il_bltz() argument 562 uasm_r_mips_pc16(r, *p, lid); in uasm_il_bltz() 569 uasm_r_mips_pc16(r, *p, lid); in uasm_il_b() 575 unsigned int r2, int lid) in uasm_il_beq() argument 583 int lid) in uasm_il_beqz() argument 591 int lid) in uasm_il_beqzl() argument 607 int lid) in uasm_il_bnez() argument 615 int lid) in uasm_il_bgezl() argument [all …]
|
/linux-6.3-rc2/drivers/infiniband/sw/rdmavt/ |
A D | mcast.c | 65 static struct rvt_mcast *rvt_mcast_alloc(union ib_gid *mgid, u16 lid) in rvt_mcast_alloc() argument 74 mcast->mcast_addr.lid = lid; in rvt_mcast_alloc() 107 u16 lid) in rvt_mcast_find() argument 129 if (mcast->mcast_addr.lid == lid) { in rvt_mcast_find() 179 if (tmcast->mcast_addr.lid != mcast->mcast_addr.lid) { in rvt_mcast_add() 238 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_attach_mcast() argument 254 mcast = rvt_mcast_alloc(gid, lid); in rvt_attach_mcast() 301 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_detach_mcast() argument 334 if (mcast->mcast_addr.lid != lid) { in rvt_detach_mcast()
|
A D | mcast.h | 12 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);
|
/linux-6.3-rc2/drivers/platform/surface/ |
A D | surface_gpe.c | 203 const struct surface_lid_device *lid = dev_get_drvdata(dev); in surface_lid_enable_wakeup() local 207 status = acpi_set_gpe_wake_mask(NULL, lid->gpe_number, action); in surface_lid_enable_wakeup() 231 struct surface_lid_device *lid; in surface_gpe_probe() local 242 lid = devm_kzalloc(&pdev->dev, sizeof(*lid), GFP_KERNEL); in surface_gpe_probe() 243 if (!lid) in surface_gpe_probe() 246 lid->gpe_number = gpe_number; in surface_gpe_probe() 247 platform_set_drvdata(pdev, lid); in surface_gpe_probe() 272 struct surface_lid_device *lid = dev_get_drvdata(&pdev->dev); in surface_gpe_remove() local 276 acpi_disable_gpe(NULL, lid->gpe_number); in surface_gpe_remove()
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | smp.h | 36 } lid; in ia64_get_lid() local 38 lid.bits = ia64_getreg(_IA64_REG_CR_LID); in ia64_get_lid() 39 return lid.f.id << 8 | lid.f.eid; in ia64_get_lid()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | uasm.h | 195 int lid); 305 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid); 314 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid); 316 unsigned int bit, int lid); 318 unsigned int bit, int lid); 320 unsigned int r2, int lid); 321 void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 324 void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 325 void uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 327 unsigned int reg2, int lid); [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/qib/ |
A D | qib_ud.c | 90 u16 lid; in qib_ud_loopback() local 95 lid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in qib_ud_loopback() 100 cpu_to_be16(lid), in qib_ud_loopback() 208 wc.slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in qib_ud_loopback() 243 u16 lid; in qib_make_ud_req() local 284 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req() 285 if (unlikely(lid == ppd->lid)) { in qib_make_ud_req() 355 lid = ppd->lid; in qib_make_ud_req() 356 if (lid) { in qib_make_ud_req() 357 lid |= rdma_ah_get_path_bits(ah_attr) & in qib_make_ud_req() [all …]
|
A D | qib_driver.c | 107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units() 138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units() 309 u16 lid = be16_to_cpu(hdr->lrh[1]); in qib_rcv_hdrerr() local 320 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_rcv_hdrerr() 321 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr() 322 if (unlikely(lid != ppd->lid)) in qib_rcv_hdrerr() 638 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument 642 ppd->lid = lid; in qib_set_lid() 646 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid() 649 dd->unit, ppd->port, lid); in qib_set_lid()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | npc.h | 13 #define SET_KEX_LD(intf, lid, ltype, ld, cfg) \ argument 15 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, ltype, ld), cfg) 259 u8 lid; member 348 u64 lid : 3; member 370 u64 lid : 3; 518 u8 lid; member 524 u8 lid; member 532 u8 lid; member 539 u8 lid; member 547 u8 lid; member
|
A D | rvu_npc_fs.c | 151 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument 162 input->layer_mdata.lid = lid; in npc_set_layer_mdata() 173 if (input1->layer_mdata.lid == input2->layer_mdata.lid && in npc_check_overlap_fields() 196 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 207 for (lid = start_lid; lid < NPC_MAX_LID; lid++) { in npc_check_overlap() 212 (intf, lid, lt, ld)); in npc_check_overlap() 217 lid, lt, intf); in npc_check_overlap() 575 u8 lid, lt, ld, bitnr; in npc_scan_kex() local 604 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_scan_kex() 609 (intf, lid, lt, ld)); in npc_scan_kex() [all …]
|
/linux-6.3-rc2/drivers/base/ |
A D | physical_location.c | 36 dev->physical_location->lid = pld->lid; in dev_add_physical_location() 129 dev->physical_location->lid ? "yes" : "no"); in lid_show() 131 static DEVICE_ATTR_RO(lid);
|
/linux-6.3-rc2/include/rdma/ |
A D | opa_smi.h | 38 } lid; member 105 return smp->route.lid.data; in opa_get_smp_data() 113 return sizeof(smp->route.lid.data); in opa_get_smp_data_size() 121 return sizeof(*smp) - sizeof(smp->route.lid.data); in opa_get_smp_header_size()
|
/linux-6.3-rc2/drivers/iio/common/cros_ec_sensors/ |
A D | Kconfig | 26 tristate "ChromeOS EC Sensor for lid angle" 29 Module to report the angle between lid and base for some 32 and the lid.
|
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/ |
A D | mad.h | 65 __be32 lid; member 69 __be32 lid; /* where violation happened */ member 74 __be32 lid; /* LID where change occurred */ member 83 __be32 lid; /* lid where sys guid changed */ member 87 __be32 lid; member 123 __be32 lid; member
|
A D | hfi.h | 794 u32 lid; member 2465 static inline bool hfi1_check_mcast(u32 lid) in hfi1_check_mcast() argument 2471 #define opa_get_lid(lid, format) \ argument 2477 bool is_mcast = hfi1_check_mcast(lid); in __opa_get_lid() 2485 return lid & 0xFFFFF; in __opa_get_lid() 2490 return lid & 0xFFFFFF; in __opa_get_lid() 2493 return (lid - in __opa_get_lid() 2497 return lid & 0xFFFF; in __opa_get_lid() 2499 return lid; in __opa_get_lid() 2506 return ((lid >= in hfi1_is_16B_mcast() [all …]
|
A D | ud.c | 75 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 207 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback() 313 u16 lid = (u16)ppd->lid; in hfi1_make_ud_req_9B() local 315 if (lid) { in hfi1_make_ud_req_9B() 316 lid |= rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_9B() 318 slid = lid; in hfi1_make_ud_req_9B() 403 if (!ppd->lid) in hfi1_make_ud_req_16B() 406 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_16B() 443 u32 lid; in hfi1_make_ud_req() local 483 ((lid == ppd->lid) || in hfi1_make_ud_req() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A D | mthca_mad.c | 76 u8 port_num, u16 lid, u8 sl) in update_sm_ah() argument 87 rdma_ah_set_dlid(&ah_attr, lid); in update_sm_ah() 120 u16 lid = be16_to_cpu(pinfo->lid); in smp_snoop() local 135 if (prev_lid != lid) { in smp_snoop() 249 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
|
/linux-6.3-rc2/include/trace/events/ |
A D | ib_umad.h | 35 __field(u16, lid) 63 __entry->lid = umad_hdr->lid; 95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
|
/linux-6.3-rc2/Documentation/translations/zh_CN/infiniband/ |
A D | user_mad.rst | 86 息。例如,远程LID将在mad.lid中。 99 填入lid字段,以此类推。发送端确实支持RMPP,所以可以发送任意长度的MAD。 109 mad->hdr.lid = my_dest; /* in network byte order... */
|
/linux-6.3-rc2/include/uapi/rdma/ |
A D | ib_user_mad.h | 81 __be16 lid; member 125 __be16 lid; member
|
/linux-6.3-rc2/Documentation/ABI/testing/ |
A D | sysfs-class-chromeos | 11 Control the keyboard wake lid angle. Values are between 12 0 and 360. This file will also show the keyboard wake lid
|
A 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'.
|
A D | sysfs-devices-physical_location | 37 What: /sys/devices/.../physical_location/lid 41 "Yes" if the device connection point resides on the lid of
|