| /kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/ |
| D | acpi-lid.rst | 5 Special Usage Model of the ACPI Control Method Lid Device 14 Platforms containing lids convey lid state (open/close) to OSPMs 15 using a control method lid device. To implement this, the AML tables issue 16 Notify(lid_device, 0x80) to notify the OSPMs whenever the lid state has 17 changed. The _LID control method for the lid device must be implemented to 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. 30 The _LID control method is described to return the "current" lid state. 32 the lid state upon the last lid notification instead of returning the lid [all …]
|
| /kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/ |
| D | acpi-lid.rst | 5 Special Usage Model of the ACPI Control Method Lid Device 14 Platforms containing lids convey lid state (open/close) to OSPMs 15 using a control method lid device. To implement this, the AML tables issue 16 Notify(lid_device, 0x80) to notify the OSPMs whenever the lid state has 17 changed. The _LID control method for the lid device must be implemented to 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. 30 The _LID control method is described to return the "current" lid state. 32 the lid state upon the last lid notification instead of returning the lid [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/ |
| D | mcast.c | 61 * @lid: the muilticast LID (host order) 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() 95 * rvt_mcast_find - search the global table for the given multicast GID/LID 100 * @lid: the multicast LID portion of the multicast address (host order) 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() 234 * @lid: multicast lid 238 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_attach_mcast() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
| D | mcast.c | 103 * @lid: the muilticast LID (host order) 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() 137 * rvt_mcast_find - search the global table for the given multicast GID/LID 142 * @lid: the multicast LID portion of the multicast address (host order) 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() 276 * @lid: multicast lid 280 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in rvt_attach_mcast() argument [all …]
|
| /kernel/linux/linux-5.10/arch/mips/mm/ |
| D | uasm.c | 412 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) in uasm_build_label() argument 415 (*lab)->lab = lid; in uasm_build_label() 490 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) in uasm_r_mips_pc16() argument 494 (*rel)->lab = lid; in uasm_r_mips_pc16() 559 int lid) in uasm_il_bltz() argument 561 uasm_r_mips_pc16(r, *p, lid); in uasm_il_bltz() 566 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) in uasm_il_b() argument 568 uasm_r_mips_pc16(r, *p, lid); in uasm_il_b() 574 unsigned int r2, int lid) in uasm_il_beq() argument 576 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beq() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| D | surface_gpe.c | 3 * 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); 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() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/mm/ |
| D | uasm.c | 413 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) in uasm_build_label() argument 416 (*lab)->lab = lid; in uasm_build_label() 491 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid) in uasm_r_mips_pc16() argument 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() 567 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) in uasm_il_b() argument 569 uasm_r_mips_pc16(r, *p, lid); in uasm_il_b() 575 unsigned int r2, int lid) in uasm_il_beq() argument 577 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beq() [all …]
|
| /kernel/linux/linux-5.10/fs/jfs/ |
| D | jfs_txnmgr.c | 142 lid_t maxlid; /* 4: biggest lid ever used */ 182 lid_t lid; in txLockAlloc() local 189 while (!(lid = TxAnchor.freelock)) in txLockAlloc() 191 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc() 192 HIGHWATERMARK(stattx.maxlid, lid); in txLockAlloc() 199 return lid; in txLockAlloc() 202 static void txLockFree(lid_t lid) in txLockFree() argument 204 TxLock[lid].tid = 0; in txLockFree() 205 TxLock[lid].next = TxAnchor.freelock; in txLockFree() 206 TxAnchor.freelock = lid; in txLockFree() [all …]
|
| /kernel/linux/linux-6.6/fs/jfs/ |
| D | jfs_txnmgr.c | 142 lid_t maxlid; /* 4: biggest lid ever used */ 182 lid_t lid; in txLockAlloc() local 189 while (!(lid = TxAnchor.freelock)) in txLockAlloc() 191 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc() 192 HIGHWATERMARK(stattx.maxlid, lid); in txLockAlloc() 199 return lid; in txLockAlloc() 202 static void txLockFree(lid_t lid) in txLockFree() argument 204 TxLock[lid].tid = 0; in txLockFree() 205 TxLock[lid].next = TxAnchor.freelock; in txLockFree() 206 TxAnchor.freelock = lid; in txLockFree() [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | button.c | 37 #define ACPI_BUTTON_SUBCLASS_LID "lid" 38 #define ACPI_BUTTON_DEVICE_NAME_LID "Lid Switch" 81 /* Nextbook Ares 8A tablet, _LID device always reports lid closed */ 91 * Lenovo Yoga 9 14ITL5, initial notification of the LID device 102 * Medion Akoya E2215T, notification of the LID device only 113 * Medion Akoya E2228T, notification of the LID device only 124 * Razer Blade Stealth 13 late 2019, notification of the LID device 136 * lid closed. 186 MODULE_PARM_DESC(lid_report_interval, "Interval (ms) between lid key events"); 211 * In lid_init_state=ignore mode, if user opens/closes lid in acpi_lid_notify_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | button.c | 39 #define ACPI_BUTTON_SUBCLASS_LID "lid" 40 #define ACPI_BUTTON_DEVICE_NAME_LID "Lid Switch" 86 /* Nextbook Ares 8A tablet, _LID device always reports lid closed */ 96 * Medion Akoya E2215T, notification of the LID device only 107 * Medion Akoya E2228T, notification of the LID device only 118 * Razer Blade Stealth 13 late 2019, notification of the LID device 171 MODULE_PARM_DESC(lid_report_interval, "Interval (ms) between lid key events"); 199 * In lid_init_state=ignore mode, if user opens/closes lid in acpi_lid_notify_state() 216 pr_warn_once("The lid device is not compliant to SW_LID.\n"); in acpi_lid_notify_state() 221 * On most platforms, the lid device is reliable. However in acpi_lid_notify_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
| 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() 242 u16 lid; in qib_make_ud_req() local 283 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req() 284 if (unlikely(lid == ppd->lid)) { in qib_make_ud_req() 351 cpu_to_be16(rdma_ah_get_dlid(ah_attr)); /* DEST LID */ in qib_make_ud_req() 354 lid = ppd->lid; in qib_make_ud_req() 355 if (lid) { in qib_make_ud_req() [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
| 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() 352 cpu_to_be16(rdma_ah_get_dlid(ah_attr)); /* DEST LID */ in qib_make_ud_req() 355 lid = ppd->lid; in qib_make_ud_req() 356 if (lid) { in qib_make_ud_req() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| D | uasm.h | 194 int lid); 300 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid); 309 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid); 311 unsigned int bit, int lid); 313 unsigned int bit, int lid); 315 unsigned int r2, int lid); 316 void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 317 void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 318 void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 319 void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/ |
| 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); 322 void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid); 323 void uasm_il_bgezl(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); [all …]
|
| /kernel/linux/linux-6.6/include/rdma/ |
| D | opa_addr.h | 18 * Example: For 24 bit LID space, 29 * extended LID information. 42 * store the lid. 69 /* Get multicast lid base */ 75 /* Check for a valid unicast LID for non-SM traffic types */
|
| 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()
|
| /kernel/linux/linux-5.10/include/rdma/ |
| D | opa_addr.h | 18 * Example: For 24 bit LID space, 29 * extended LID information. 42 * store the lid. 69 /* Get multicast lid base */ 75 /* Check for a valid unicast LID for non-SM traffic types */
|
| 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()
|
| /kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
| D | cros_ec_lid_angle.c | 4 * cros_ec_lid_angle - Driver for CrOS EC lid angle sensor. 28 #define DRV_NAME "cros-ec-lid-angle" 31 * One channel for the lid angle, the other for timestamp. 59 dev_warn(&indio_dev->dev, "Unable to read lid angle\n"); in cros_ec_sensors_read_lid_angle() 137 MODULE_DESCRIPTION("ChromeOS EC driver for reporting convertible lid angle.");
|
| 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.
|
| /kernel/linux/linux-6.6/drivers/iio/common/cros_ec_sensors/ |
| D | cros_ec_lid_angle.c | 4 * cros_ec_lid_angle - Driver for CrOS EC lid angle sensor. 29 #define DRV_NAME "cros-ec-lid-angle" 32 * One channel for the lid angle, the other for timestamp. 60 dev_warn(&indio_dev->dev, "Unable to read lid angle\n"); in cros_ec_sensors_read_lid_angle() 137 MODULE_DESCRIPTION("ChromeOS EC driver for reporting convertible lid angle.");
|
| 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.
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
| 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) 267 u8 lid; member 356 u64 lid : 3; member 378 u64 lid : 3; 526 u8 lid; member 532 u8 lid; member 540 u8 lid; member 547 u8 lid; member 555 u8 lid; member
|
| /kernel/linux/linux-5.10/arch/ia64/include/asm/ |
| 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()
|