| /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);
|
| /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()
|
| /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) 279 u8 lid; member 368 u64 lid : 3; member 390 u64 lid : 3; 538 u8 lid; member 544 u8 lid; member 552 u8 lid; member 559 u8 lid; member 567 u8 lid; member
|
| A D | rvu_npc_fs.c | 159 u64 cfg, u8 lid, u8 lt, u8 intf) in npc_set_layer_mdata() argument 170 input->layer_mdata.lid = lid; in npc_set_layer_mdata() 181 if (input1->layer_mdata.lid == input2->layer_mdata.lid && in npc_check_overlap_fields() 204 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 215 for (lid = start_lid; lid < NPC_MAX_LID; lid++) { in npc_check_overlap() 220 (intf, lid, lt, ld)); in npc_check_overlap() 225 lid, lt, intf); in npc_check_overlap() 636 u8 lid, lt, ld, bitnr; in npc_scan_kex() local 664 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_scan_kex() 669 (intf, lid, lt, ld)); in npc_scan_kex() [all …]
|
| A D | rvu_npc_hash.c | 104 u8 intf, int lid, int lt, int ld) in npc_update_use_hash() argument 126 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_rx() local 132 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_hash_rx() 135 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][lt][ld]) { in npc_program_mkex_hash_rx() 142 intf, lid, lt, ld); in npc_program_mkex_hash_rx() 144 SET_KEX_LD(intf, lid, lt, ld, cfg); in npc_program_mkex_hash_rx() 166 int lid, lt, ld, hash_cnt = 0; in npc_program_mkex_hash_tx() local 172 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_hash_tx() 182 intf, lid, lt, ld); in npc_program_mkex_hash_tx() 184 SET_KEX_LD(intf, lid, lt, ld, cfg); in npc_program_mkex_hash_tx() [all …]
|
| A D | rvu_npc.c | 1263 int lid, lt, ld, fl; in npc_program_mkex_rx() local 1272 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_rx() 1275 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_rx() 1277 [lid][lt][ld]); in npc_program_mkex_rx() 1292 int lid, lt, ld, fl; in npc_program_mkex_tx() local 1301 for (lid = 0; lid < NPC_MAX_LID; lid++) { in npc_program_mkex_tx() 1304 SET_KEX_LD(intf, lid, lt, ld, in npc_program_mkex_tx() 1306 [lid][lt][ld]); in npc_program_mkex_tx() 1437 action0.capture_lid = kpuaction->lid; in npc_config_kpuaction() 3370 int lid, lt, ld, fl; in rvu_mbox_handler_npc_get_kex_cfg() local [all …]
|
| A D | rvu_npc_hash.h | 21 #define KEX_LD_CFG_HASH(hdr_ofs, bytesm1, lt_en, lid_en, lid, ltype_match, ltype_mask) \ argument 23 ((lt_en) << 12) | ((lid_en) << 11) | ((lid) << 8) | \
|
| A D | rvu_nix.c | 4038 field->lid = NPC_LID_LC; in set_flowkey_fields() 4046 field->lid = NPC_LID_LC; in set_flowkey_fields() 4074 field->lid = NPC_LID_LC; in set_flowkey_fields() 4106 field->lid = NPC_LID_LD; in set_flowkey_fields() 4177 field->lid = NPC_LID_LD; in set_flowkey_fields() 4185 field->lid = NPC_LID_LE; in set_flowkey_fields() 4214 field->lid = NPC_LID_LA; in set_flowkey_fields() 4225 field->lid = NPC_LID_LC; in set_flowkey_fields() 4232 field->lid = NPC_LID_LE; in set_flowkey_fields() 4239 field->lid = NPC_LID_LC; in set_flowkey_fields() [all …]
|
| A D | npc_profile.h | 15487 .lid = NPC_LID_LA, 15492 .lid = NPC_LID_LB, 15497 .lid = NPC_LID_LB, 15502 .lid = NPC_LID_LC, 15507 .lid = NPC_LID_LG, 15512 .lid = NPC_LID_LC, 15517 .lid = NPC_LID_LG, 15522 .lid = NPC_LID_LD, 15527 .lid = NPC_LID_LH, 15532 .lid = NPC_LID_LD, [all …]
|
| /drivers/base/ |
| A D | physical_location.c | 35 dev->physical_location->lid = pld->lid; in dev_add_physical_location() 128 str_yes_no(dev->physical_location->lid)); in lid_show() 130 static DEVICE_ATTR_RO(lid);
|
| /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 2449 static inline bool hfi1_check_mcast(u32 lid) in hfi1_check_mcast() argument 2455 #define opa_get_lid(lid, format) \ argument 2461 bool is_mcast = hfi1_check_mcast(lid); in __opa_get_lid() 2469 return lid & 0xFFFFF; in __opa_get_lid() 2474 return lid & 0xFFFFFF; in __opa_get_lid() 2477 return (lid - in __opa_get_lid() 2481 return lid & 0xFFFF; in __opa_get_lid() 2483 return lid; in __opa_get_lid() 2490 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 …]
|
| A D | mad.c | 413 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_bad_pkey() local 419 lid); in hfi1_bad_pkey() 442 u32 lid = ppd_from_ibp(ibp)->lid; in bad_mkey() local 445 lid); in bad_mkey() 482 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_cap_mask_chg() local 504 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_sys_guid_chg() local 524 u32 lid = ppd_from_ibp(ibp)->lid; in hfi1_node_desc_chg() local 788 pi->lid = cpu_to_be32(ppd->lid); in __subn_get_opa_portinfo() 1338 lid = be32_to_cpu(pi->lid); in __subn_set_opa_portinfo() 1379 } else if (ppd->lid != lid || in __subn_set_opa_portinfo() [all …]
|
| A D | ruc.c | 290 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()
|
| A D | ipoib_tx.c | 307 u16 lid = (u16)ppd->lid; in hfi1_ipoib_build_ib_tx_headers() local 309 if (lid) { in hfi1_ipoib_build_ib_tx_headers() 310 lid |= rdma_ah_get_path_bits(ah_attr) & in hfi1_ipoib_build_ib_tx_headers() 312 slid = lid; in hfi1_ipoib_build_ib_tx_headers()
|
| A D | driver.c | 142 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units() 430 ppd->lid; in hfi1_process_ecn_slowpath() 1282 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid() argument 1286 ppd->lid = lid; in hfi1_set_lid() 1290 dd_dev_info(dd, "port %u: got a lid: 0x%x\n", ppd->port, lid); in hfi1_set_lid() 1457 if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid) in hfi1_bypass_ingress_pkt_check()
|
| /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()
|
| A D | mthca_mcg.c | 120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_attach() argument 214 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_detach() argument
|
| /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.
|
| /drivers/infiniband/core/ |
| A D | uverbs_std_types_device.c | 157 resp->lid = OPA_TO_IB_UCAST_LID(attr->lid); in copy_port_attr_to_resp() 160 resp->lid = ib_lid_cpu16(attr->lid); in copy_port_attr_to_resp()
|
| /drivers/platform/arm64/ |
| A D | Kconfig | 29 monitoring as well as some misc functions like the lid sensor 48 as some misc functions like the lid sensor and temperature sensors,
|
| /drivers/acpi/acpica/ |
| A D | dbconvert.c | 301 ACPI_PLD_SET_LID(&dword, pld_info->lid); in acpi_db_encode_pld_buffer() 415 acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Lid", pld_info->lid); in acpi_db_dump_pld_buffer()
|
| /drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_lif.c | 3227 union ionic_lif_identity *lid; in ionic_lif_alloc() local 3233 lid = kzalloc(sizeof(*lid), GFP_KERNEL); in ionic_lif_alloc() 3234 if (!lid) in ionic_lif_alloc() 3257 lif->identity = lid; in ionic_lif_alloc() 3358 kfree(lid); in ionic_lif_alloc() 3979 union ionic_lif_identity *lid) in ionic_lif_identify() argument 3996 le64_to_cpu(lid->capabilities)); in ionic_lif_identify() 3999 le32_to_cpu(lid->eth.max_ucast_filters)); in ionic_lif_identify() 4001 le32_to_cpu(lid->eth.max_mcast_filters)); in ionic_lif_identify() 4003 le64_to_cpu(lid->eth.config.features)); in ionic_lif_identify() [all …]
|