Home
last modified time | relevance | path

Searched refs:lmc (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/edac/
H A Dthunderx_edac.c286 #define LMC_DEBUGFS_ENT(_field) DEBUGFS_FIELD_ATTR(lmc, _field)
301 struct thunderx_lmc *lmc = file->private_data; in thunderx_lmc_inject_int_write() local
309 writeq(val, lmc->regs + LMC_INT_W1S); in thunderx_lmc_inject_int_write()
320 struct thunderx_lmc *lmc = file->private_data; in thunderx_lmc_int_read() local
322 u64 lmc_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_int_read()
332 struct thunderx_lmc *lmc = arg; in inject_ecc_fn() local
338 addr = (uintptr_t)page_address(lmc->mem); in inject_ecc_fn()
339 phys = (uintptr_t)page_to_phys(lmc->mem); in inject_ecc_fn()
342 lmc->parity_test &= ~(7ULL << 8); in inject_ecc_fn()
343 lmc->parity_test |= (cl_idx << 8); in inject_ecc_fn()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dud.c76 ((1 << ppd->lmc) - 1)); in ud_loopback()
208 ((1 << ppd->lmc) - 1))) & U16_MAX; in ud_loopback()
213 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback()
317 ((1 << ppd->lmc) - 1); in hfi1_make_ud_req_9B()
407 ((1 << ppd->lmc) - 1)); in hfi1_make_ud_req_16B()
481 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req()
1015 dlid & ((1 << ppd_from_ibp(ibp)->lmc) - 1); in hfi1_ud_rcv()
H A Druc.c295 ((1 << ppd->lmc) - 1)); in hfi1_make_ruc_header_16B()
510 ~((1 << ps.ppd->lmc) - 1)) == in hfi1_do_send()
520 ~((1 << ps.ppd->lmc) - 1)) == in hfi1_do_send()
H A Ddriver.c1282 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc) in hfi1_set_lid() argument
1287 ppd->lmc = lmc; in hfi1_set_lid()
1457 if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid) in hfi1_bypass_ingress_pkt_check()
H A Dipoib_tx.c311 ((1 << ppd->lmc) - 1); in hfi1_ipoib_build_ib_tx_headers()
H A Dverbs.c1378 props->lmc = ppd->lmc; in query_port()
H A Dmad.c844 pi->mkeyprotect_lmc = (ibp->rvp.mkeyprot << 6) | ppd->lmc; in __subn_get_opa_portinfo()
1380 ppd->lmc != (pi->mkeyprotect_lmc & OPA_PI_MASK_LMC)) { in __subn_set_opa_portinfo()
1383 if (ppd->lmc != (pi->mkeyprotect_lmc & OPA_PI_MASK_LMC)) in __subn_set_opa_portinfo()
H A Drc.c1314 ((1 << ppd->lmc) - 1)), in hfi1_make_rc_ack_16B()
H A Dtid_rdma.c3291 if ((rdma_ah_get_dlid(&qp->remote_ah_attr) & ~((1 << ppd->lmc) - 1)) == in setup_tid_rdma_wqe()
H A Dchip.c10175 u32 mask = ~((1U << ppd->lmc) - 1); in set_lidlmc()
/linux/drivers/infiniband/core/
H A Dcache.c1130 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc() argument
1139 *lmc = device->port_data[port_num].cache.lmc; in ib_get_cached_lmc()
1503 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npi-defs.h2230 uint64_t lmc:1; member
2264 uint64_t lmc:1;
2298 uint64_t lmc:1; member
2334 uint64_t lmc:1;
2369 uint64_t lmc:1; member
2405 uint64_t lmc:1;
2436 uint64_t lmc:1; member
2472 uint64_t lmc:1;
/linux/arch/arm/boot/dts/microchip/
H A Dat91-vinco.dts204 label = "lmc";
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c735 rep->lmc = MLX5_GET_PR(hca_vport_context, ctx, lmc); in mlx5_query_hca_vport_context()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h324 __u8 lmc; member
/linux/include/rdma/
H A Dib_verbs.h710 u8 lmc; member
2219 u8 lmc; member
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c1473 props->lmc = rep->lmc; in mlx5_query_hca_port()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c330 props->lmc = 1; in efa_query_port()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.c305 port_attr->lmc = 0; in bnxt_re_query_port()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c97 props->lmc = 0; in irdma_query_port()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h4582 u8 lmc[0x3]; member