Home
last modified time | relevance | path

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

1234

/linux/Documentation/firmware-guide/acpi/
H A 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 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
37 There are platforms always return "closed" as initial lid state.
[all …]
/linux/arch/mips/mm/
H A Duasm.c423 void uasm_build_label(struct uasm_label **lab, u32 *addr, int lid) in uasm_in_compat_space_p()
426 (*lab)->lab = lid;
501 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid)
505 (*rel)->lab = lid; in uasm_resolve_relocs()
570 int lid) in uasm_il_b()
572 uasm_r_mips_pc16(r, *p, lid);
577 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid) in uasm_il_beq()
579 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beq()
585 unsigned int r2, int lid) in uasm_il_beqz()
587 uasm_r_mips_pc16(r, *p, lid); in uasm_il_beqz()
413 uasm_build_label(struct uasm_label ** lab,u32 * addr,int lid) uasm_build_label() argument
491 uasm_r_mips_pc16(struct uasm_reloc ** rel,u32 * addr,int lid) uasm_r_mips_pc16() argument
560 uasm_il_bltz(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_bltz() argument
567 uasm_il_b(u32 ** p,struct uasm_reloc ** r,int lid) uasm_il_b() argument
575 uasm_il_beq(u32 ** p,struct uasm_reloc ** r,unsigned int r1,unsigned int r2,int lid) uasm_il_beq() argument
583 uasm_il_beqz(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_beqz() argument
591 uasm_il_beqzl(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_beqzl() argument
599 uasm_il_bne(u32 ** p,struct uasm_reloc ** r,unsigned int reg1,unsigned int reg2,int lid) uasm_il_bne() argument
607 uasm_il_bnez(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_bnez() argument
615 uasm_il_bgezl(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_bgezl() argument
623 uasm_il_bgez(u32 ** p,struct uasm_reloc ** r,unsigned int reg,int lid) uasm_il_bgez() argument
631 uasm_il_bbit0(u32 ** p,struct uasm_reloc ** r,unsigned int reg,unsigned int bit,int lid) uasm_il_bbit0() argument
639 uasm_il_bbit1(u32 ** p,struct uasm_reloc ** r,unsigned int reg,unsigned int bit,int lid) uasm_il_bbit1() argument
[all...]
H A Dtlbex.c611 unsigned int tmp, enum label_id lid, in build_restore_pagemask() argument
627 uasm_il_b(p, r, lid); in build_restore_pagemask()
631 uasm_il_b(p, r, lid); in build_restore_pagemask()
634 uasm_il_b(p, r, lid); in build_restore_pagemask()
645 uasm_il_b(p, r, lid); in build_restore_pagemask()
649 uasm_il_b(p, r, lid); in build_restore_pagemask()
652 uasm_il_b(p, r, lid); in build_restore_pagemask()
679 unsigned int pmd, int lid) in build_is_huge_pte() argument
683 uasm_il_bbit1(p, r, tmp, ilog2(_PAGE_HUGE), lid); in build_is_huge_pte()
686 uasm_il_bnez(p, r, tmp, lid); in build_is_huge_pte()
[all …]
/linux/arch/mips/include/asm/
H A Duasm.h203 int lid);
311 void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);
320 void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid);
322 unsigned int bit, int lid);
324 unsigned int bit, int lid);
326 unsigned int r2, int lid);
327 void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
328 void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
329 void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
330 void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dnpc.h13 #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
[all...]
H A Drvu_npc_fs.c169 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, l in npc_check_overlap()
577 npc_scan_ldata(struct rvu * rvu,int blkaddr,u8 lid,u8 lt,u64 cfg,u8 intf) npc_scan_ldata() argument
764 u8 lid, lt, ld, bitnr; npc_scan_kex() local
[all...]
H A Drvu_npc.c1502 int lid, lt, ld, fl; in npc_program_mkex_rx() local
1511 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_rx()
1514 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_rx()
1516 [lid][lt][ld]); in npc_program_mkex_rx()
1532 int lid, lt, ld, fl; in npc_program_mkex_tx() local
1541 for (lid = 0; lid < NPC_MAX_LID; lid in npc_program_mkex_tx()
4124 GET_KEX_LD(intf,lid,lt,ld) global() argument
4135 int lid, lt, ld, fl; rvu_mbox_handler_npc_get_kex_cfg() local
[all...]
H A Drvu_nix.c4101 field->lid = NPC_LID_LC; in set_flowkey_fields()
4109 field->lid = NPC_LID_LC; in set_flowkey_fields()
4114 field->lid = NPC_LID_LG; in set_flowkey_fields()
4139 field->lid = NPC_LID_LC; in set_flowkey_fields()
4144 field->lid = NPC_LID_LG; in set_flowkey_fields()
4173 field->lid = NPC_LID_LD; in set_flowkey_fields()
4177 field->lid = NPC_LID_LH; in set_flowkey_fields()
4197 * the lid for inner protocols in set_flowkey_fields()
4244 field->lid = NPC_LID_LD; in set_flowkey_fields()
4252 field->lid in set_flowkey_fields()
[all...]
/linux/include/rdma/
H A Dopa_smi.h38 } 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/base/
H A Dphysical_location.c34 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/hfi1/
H A Dmad.h65 __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 Dud.c75 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
478 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req()
[all …]
H A Druc.c290 if (!ppd->lid) in hfi1_make_ruc_header_16B()
293 slid = ppd->lid | in hfi1_make_ruc_header_16B()
371 ppd_from_ibp(ibp)->lid | in hfi1_make_ruc_header_9B()
511 ps.ppd->lid)) { in hfi1_do_send()
521 ps.ppd->lid)) { in hfi1_do_send()
/linux/drivers/infiniband/hw/mthca/
H A 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()
249 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
/linux/drivers/infiniband/sw/rdmavt/
H A Dmcast.h12 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/iio/common/cros_ec_sensors/
H A 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/include/trace/events/
H A Dib_umad.h35 __field(u16, lid)
63 __entry->lid = umad_hdr->lid;
95 be32_to_cpu(__entry->qkey), be16_to_cpu(__entry->lid),
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-sp.dts14 gpio-keys-lid {
17 lid-switch {
/linux/Documentation/translations/zh_CN/infiniband/
H A Duser_mad.rst86 息。例如,远程LID将在mad.lid中。
99 填入lid字段,以此类推。发送端确实支持RMPP,所以可以发送任意长度的MAD。
109 mad->hdr.lid = my_dest; /* in network byte order... */
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh586 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\
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-physical_location37 What: /sys/devices/.../physical_location/lid
41 "Yes" if the device connection point resides on the lid of
H A Dsysfs-driver-samsung-laptop35 Description: Some Samsung laptops handle lid closing quicker and
36 only handle lid opening with this mode enabled.
H A Dsysfs-bus-surface_aggregator-tabletsw41 - "closed": The lid of the device is closed.
43 - "laptop": The lid of the device is opened and the device
/linux/kernel/sched/
H A Dtopology.c3041 int lid, max; in __sched_domains_alloc_llc_id() local
3045 lid = cpumask_first_zero(sched_domains_llc_id_allocmask); in __sched_domains_alloc_llc_id()
3050 if (lid >= nr_cpu_ids) in __sched_domains_alloc_llc_id()
3053 __cpumask_set_cpu(lid, sched_domains_llc_id_allocmask); in __sched_domains_alloc_llc_id()
3058 return lid; in __sched_domains_alloc_llc_id()
3063 int i, lid, max; in __sched_domains_free_llc_id() local
3067 lid = per_cpu(sd_llc_id, cpu); in __sched_domains_free_llc_id()
3068 if (lid == -1 || lid >= nr_cpu_ids) in __sched_domains_free_llc_id()
3075 if (per_cpu(sd_llc_id, i) == lid) in __sched_domains_free_llc_id()
3121 int lid; build_sched_domains() local
[all...]
/linux/fs/jfs/
H A Djfs_txnmgr.h15 #define lid_to_tlock(lid) (&TxLock[lid]) argument

1234