Home
last modified time | relevance | path

Searched refs:lid (Results 1 – 25 of 131) sorted by relevance

123456

/Linux-v5.4/Documentation/firmware-guide/acpi/
Dacpi-lid.rst14 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 expections 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
37 There are platforms always retun "closed" as initial lid state.
[all …]
/Linux-v5.4/fs/jfs/
Djfs_txnmgr.c182 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()
582 lid_t lid; in txLock() local
[all …]
/Linux-v5.4/arch/mips/mm/
Duasm.c412 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 …]
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmcast.c107 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()
Dmcast.h54 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-v5.4/arch/ia64/include/asm/
Dsmp.h37 } 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-v5.4/arch/mips/include/asm/
Duasm.h194 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 …]
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_ud.c90 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()
354 lid = ppd->lid; in qib_make_ud_req()
355 if (lid) { in qib_make_ud_req()
356 lid |= rdma_ah_get_path_bits(ah_attr) & in qib_make_ud_req()
[all …]
Dqib_driver.c106 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
137 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
308 u16 lid = be16_to_cpu(hdr->lrh[1]); in qib_rcv_hdrerr() local
319 if (lid < be16_to_cpu(IB_MULTICAST_LID_BASE)) { in qib_rcv_hdrerr()
320 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr()
321 if (unlikely(lid != ppd->lid)) in qib_rcv_hdrerr()
637 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument
641 ppd->lid = lid; in qib_set_lid()
645 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid()
648 dd->unit, ppd->port, lid); in qib_set_lid()
/Linux-v5.4/include/rdma/
Dopa_smi.h65 } 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()
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/
DKconfig26 tristate "ChromeOS EC Sensor for lid angle"
29 Module to report the angle between lid and base for some
32 and the lid.
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dmad.h106 __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
Dhfi.h836 u32 lid; member
1802 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
2320 (ppd->lid >= be16_to_cpu(IB_MULTICAST_LID_BASE))) && in hfi1_update_ah_attr()
2339 static inline bool hfi1_check_mcast(u32 lid) in hfi1_check_mcast() argument
2341 return ((lid >= opa_get_mcast_base(OPA_MCAST_NR)) && in hfi1_check_mcast()
2342 (lid != be32_to_cpu(OPA_LID_PERMISSIVE))); in hfi1_check_mcast()
2345 #define opa_get_lid(lid, format) \ argument
2346 __opa_get_lid(lid, OPA_PORT_PACKET_FORMAT_##format)
2349 static inline u32 __opa_get_lid(u32 lid, u8 format) in __opa_get_lid() argument
2351 bool is_mcast = hfi1_check_mcast(lid); in __opa_get_lid()
[all …]
Dud.c117 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
249 wc.slid = (ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in ud_loopback()
355 u16 lid = (u16)ppd->lid; in hfi1_make_ud_req_9B() local
357 if (lid) { in hfi1_make_ud_req_9B()
358 lid |= rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_9B()
360 slid = lid; in hfi1_make_ud_req_9B()
445 if (!ppd->lid) in hfi1_make_ud_req_16B()
448 slid = ppd->lid | (rdma_ah_get_path_bits(ah_attr) & in hfi1_make_ud_req_16B()
484 u32 lid; in hfi1_make_ud_req() local
519 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req()
[all …]
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_mad.c76 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()
260 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
/Linux-v5.4/include/trace/events/
Dib_umad.h35 __field(u16, lid)
63 __entry->lid = umad_hdr->lid;
95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c646 #define SET_KEX_LD(intf, lid, ltype, ld, cfg) \ argument
648 NPC_AF_INTFX_LIDX_LTX_LDX_CFG(intf, lid, ltype, ld), cfg)
661 int lid, ltype; in npc_config_ldata_extract() local
671 for (lid = 0; lid < lid_count; lid++) { in npc_config_ldata_extract()
673 SET_KEX_LD(NIX_INTF_RX, lid, ltype, 0, 0ULL); in npc_config_ldata_extract()
674 SET_KEX_LD(NIX_INTF_RX, lid, ltype, 1, 0ULL); in npc_config_ldata_extract()
675 SET_KEX_LD(NIX_INTF_TX, lid, ltype, 0, 0ULL); in npc_config_ldata_extract()
676 SET_KEX_LD(NIX_INTF_TX, lid, ltype, 1, 0ULL); in npc_config_ldata_extract()
738 int lid, lt, ld, fl; in npc_program_mkex_profile() local
749 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_profile()
[all …]
Dnpc.h127 u8 lid; member
216 u64 lid : 3; member
238 u64 lid : 3;
/Linux-v5.4/drivers/infiniband/core/
Duverbs_std_types_device.c150 resp->lid = OPA_TO_IB_UCAST_LID(attr->lid); in copy_port_attr_to_resp()
153 resp->lid = ib_lid_cpu16(attr->lid); in copy_port_attr_to_resp()
/Linux-v5.4/include/uapi/rdma/
Dib_user_mad.h81 __be16 lid; member
125 __be16 lid; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-chromeos11 Control the keyboard wake lid angle. Values are between
12 0 and 360. This file will also show the keyboard wake lid
Dsysfs-bus-iio-cros-ec17 sensor can be located on the base or on the lid. Current valid
18 values are 'base' and 'lid'.
/Linux-v5.4/scripts/
Dspdxcheck.py49 lid = l.split(':')[1].strip().upper()
50 if lid in spdx.licenses:
51 raise SPDXException(el, 'Duplicate License Identifier: %s' %lid)
53 spdx.licenses.append(lid)
/Linux-v5.4/drivers/pinctrl/tegra/
Dpinctrl-tegra194.c58 #define TEGRA_PIN_FUNCTION(lid) \ argument
60 .name = #lid, \
/Linux-v5.4/arch/arm/boot/dts/
Drk3288-veyron-chromebook.dtsi30 lid_switch: lid-switch {
35 lid {
161 ap_lid_int_l: ap-lid-int-l {

123456