| /linux/Documentation/firmware-guide/acpi/ |
| H A 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 …]
|
| /linux/arch/mips/mm/ |
| H A 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 …]
|
| /linux/drivers/acpi/ |
| H A D | button.c | 39 #define ACPI_BUTTON_CLASS_LID "button/lid" 40 #define ACPI_BUTTON_SUBCLASS_LID "lid" 41 #define ACPI_BUTTON_DEVICE_NAME_LID "Lid Switch" 84 /* Nextbook Ares 8A tablet, _LID device always reports lid closed */ 94 * Lenovo Yoga 9 14ITL5, initial notification of the LID device 105 * Medion Akoya E2215T, notification of the LID device only 116 * Medion Akoya E2228T, notification of the LID device only 127 * Razer Blade Stealth 13 late 2019, notification of the LID device 138 * Razer Blade Pro 17 early 2020, notification of the LID device 150 * lid closed. [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | uasm.h | 195 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/include/rdma/ |
| H A 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 */
|
| H 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/drivers/iio/common/cros_ec_sensors/ |
| H A 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() 136 MODULE_DESCRIPTION("ChromeOS EC driver for reporting convertible lid angle.");
|
| H 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/drivers/infiniband/hw/hfi1/ |
| H 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
|
| H 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() 209 /* Check for loopback when the port lid is not set */ 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 [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H 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) 296 u8 lid; member 389 u64 lid : 3; member 411 u64 lid : 3; 560 u8 lid; member 566 u8 lid; member 574 u8 lid; member 581 u8 lid; member 589 u8 lid; member
|
| H A D | rvu_npc_fs.c | 169 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument 183 input->layer_mdata.lid = lid; in npc_set_layer_mdata() 195 if (input1->layer_mdata.lid == input2->layer_mdata.lid && in npc_check_overlap_fields() 218 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 235 for (lid = start_lid; lid < NPC_MAX_LID; lid++) { in npc_check_overlap() 240 (intf, lid, lt, ld)); in npc_check_overlap() 245 cfg, lid, lt, intf); in npc_check_overlap() 268 lid = CN20K_GET_EXTR_LID(intf, extr); in npc_check_overlap() 269 if (lid < start_lid) in npc_check_overlap() 278 lid, lt, intf); in npc_check_overlap() [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h700-anbernic-rg35xx-sp.dts | 14 gpio-keys-lid { 17 lid-switch { 18 label = "Lid Switch";
|
| /linux/include/trace/events/ |
| H A D | ib_umad.h | 35 __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/drivers/base/ |
| H A D | physical_location.c | 34 dev->physical_location->lid = pld->lid; in dev_add_physical_location() 127 str_yes_no(dev->physical_location->lid)); in lid_show() 129 static DEVICE_ATTR_RO(lid);
|
| /linux/drivers/infiniband/hw/mthca/ |
| H 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() 105 * synthesize LID change and P_Key change events. 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/arch/x86/platform/olpc/ |
| H A D | olpc-xo15-sci.c | 26 * The normal ACPI LID wakeup behavior is wake-on-open, but not 31 * suspend with the display running; if the lid is then closed, we want to 40 status = acpi_execute_simple_method(NULL, "\\_SB.PCI0.LID.LIDW", wake_on_close); in set_lid_wake_behavior() 42 pr_warn(PFX "failed to set lid behavior\n"); in set_lid_wake_behavior()
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H 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/drivers/platform/surface/ |
| H A D | surface3-wmi.c | 3 * Driver for the LID cover switch of the Surface 3 146 /* check for LID ACPI switch */ in s3_wmi_check_platform_device() 180 input->name = "Lid Switch"; in s3_wmi_create_and_register_input() 234 /* reinstall the actual PNPC0C0D LID default handle */ in s3_wmi_remove()
|
| /linux/arch/mips/loongson2ef/lemote-2f/ |
| H A D | pm.c | 66 /* Wakeup CPU via SCI lid open event */ in setup_wakeup_events() 114 /* check the LID status */ in wakeup_loongson() 116 /* wakeup cpu when people open the LID */ in wakeup_loongson()
|
| /linux/drivers/platform/loongarch/ |
| H A D | loongson-laptop.c | 214 * The input device sw element records the last lid status. in loongson_hotkey_resume() 216 * the lid event will also be reported. The judgment of in loongson_hotkey_resume() 220 * Input system will drop lid event when current lid event in loongson_hotkey_resume() 221 * value and last lid status in the same. So laptop driver in loongson_hotkey_resume() 224 * Lid status is generally 0, but hardware exception is in loongson_hotkey_resume() 225 * considered. So add lid status confirmation. in loongson_hotkey_resume()
|
| /linux/Documentation/ABI/testing/ |
| H 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
|
| H A D | sysfs-driver-samsung-laptop | 35 Description: Some Samsung laptops handle lid closing quicker and 36 only handle lid opening with this mode enabled.
|
| H A D | sysfs-bus-surface_aggregator-tabletsw | 41 - "closed": The lid of the device is closed. 43 - "laptop": The lid of the device is opened and the device
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | userspace_pm.sh | 586 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2\ 624 ip netns exec "$ns1" ./pm_nl_ctl csf lip dead:beef:2::1 lid 23 rip\ 663 ip netns exec "$ns1" ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2 rport\ 702 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 739 ip netns exec "$ns2" ./pm_nl_ctl csf lip dead:beef:2::2 lid 23 rip\ 778 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 823 ip netns exec "$ns2" ./pm_nl_ctl csf lip 10.0.2.2 lid 23 rip 10.0.2.1 rport\ 920 ip netns exec $ns1 ./pm_nl_ctl csf lip 10.0.2.1 lid 23 rip 10.0.2.2\
|