Home
last modified time | relevance | path

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

12

/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/qib/
H A Dqib_ud.c96 ((1 << ppd->lmc) - 1)); in qib_ud_loopback()
209 ((1 << ppd->lmc) - 1)); in qib_ud_loopback()
211 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in qib_ud_loopback()
284 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req()
358 ((1 << ppd->lmc) - 1); in qib_make_ud_req()
575 dlid & ((1 << ppd_from_ibp(ibp)->lmc) - 1); in qib_ud_rcv()
H A Dqib_ruc.c274 ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()
H A Dqib_verbs.c292 lid &= ~((1 << ppd->lmc) - 1); in qib_ib_rcv()
1202 props->lmc = ppd->lmc; in qib_query_port()
H A Dqib_mad.c513 pip->mkeyprot_resv_lmc = (ibp->rvp.mkeyprot << 6) | ppd->lmc; in subn_get_portinfo()
698 else if (ppd->lid != lid || ppd->lmc != (pip->mkeyprot_resv_lmc & 7)) { in subn_set_portinfo()
701 if (ppd->lmc != (pip->mkeyprot_resv_lmc & 7)) in subn_set_portinfo()
/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()
1456 if ((packet->dlid & ~((1 << ppd->lmc) - 1)) != ppd->lid) in hfi1_bypass_ingress_pkt_check()
H A Dverbs.c1378 props->lmc = ppd->lmc; in query_port()
H A Dipoib_tx.c311 ((1 << ppd->lmc) - 1); in hfi1_ipoib_build_ib_tx_headers()
/linux/include/rdma/
H A Dib_cache.h67 * ib_get_cached_lmc - Returns a cached lmc table entry
70 * @lmc: The lmc value for the specified port for that device.
72 * ib_get_cached_lmc() fetches the specified lmc table entry stored in
77 u8 *lmc);
/linux/sound/isa/gus/
H A Dinterwave.c369 static const unsigned int lmc[13] = in snd_interwave_detect_memory() local
403 for (i = 0; i < ARRAY_SIZE(lmc); i++) in snd_interwave_detect_memory()
404 if (lmct == lmc[i]) { in snd_interwave_detect_memory()
412 if (i >= ARRAY_SIZE(lmc) && !gus->gf1.enh_mode) in snd_interwave_detect_memory()
/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/drivers/infiniband/core/
H A Duverbs_std_types_device.c164 resp->lmc = attr->lmc; in copy_port_attr_to_resp()
H A Dmad.c1679 u8 lmc; in rcv_has_same_gid() local
1701 if (ib_get_cached_lmc(device, port_num, &lmc)) in rcv_has_same_gid()
1703 return (!lmc || !((rdma_ah_get_path_bits(&attr) ^ in rcv_has_same_gid()
1705 ((1 << lmc) - 1))); in rcv_has_same_gid()
/linux/drivers/staging/octeon/
H A Docteon-stubs.h1021 uint64_t lmc:1; member
1055 uint64_t lmc:1; member
1090 uint64_t lmc:1; member
1121 uint64_t lmc:1; member
/linux/arch/arm/boot/dts/microchip/
H A Dat91-vinco.dts204 label = "lmc";
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c165 props->lmc = resp->attrs.lmc; in pvrdma_query_port()
H A Dpvrdma_verbs.h138 u8 lmc; member
/linux/drivers/infiniband/sw/rxe/
H A Drxe.c103 port->attr.lmc = RXE_PORT_LMC; in rxe_init_port_param()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c728 rep->lmc = MLX5_GET_PR(hca_vport_context, ctx, lmc); in mlx5_query_hca_vport_context()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c355 props->lmc = 1; in usnic_ib_query_port()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h308 __u8 lmc; member
/linux/include/linux/mlx5/
H A Ddriver.h888 u8 lmc; member
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c145 props->lmc = out_mad->data[34] & 0x7; in mthca_query_port()

12