/drivers/edac/ |
D | thunderx_edac.c | 292 #define LMC_DEBUGFS_ENT(_field) DEBUGFS_FIELD_ATTR(lmc, _field) 307 struct thunderx_lmc *lmc = file->private_data; in thunderx_lmc_inject_int_write() local 315 writeq(val, lmc->regs + LMC_INT_W1S); in thunderx_lmc_inject_int_write() 326 struct thunderx_lmc *lmc = file->private_data; in thunderx_lmc_int_read() local 328 u64 lmc_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_int_read() 338 struct thunderx_lmc *lmc = arg; in inject_ecc_fn() local 344 addr = (uintptr_t)page_address(lmc->mem); in inject_ecc_fn() 345 phys = (uintptr_t)page_to_phys(lmc->mem); in inject_ecc_fn() 348 lmc->parity_test &= ~(7ULL << 8); in inject_ecc_fn() 349 lmc->parity_test |= (cl_idx << 8); in inject_ecc_fn() [all …]
|
D | i10nm_base.c | 703 int i, lmc, j = 0; in i10nm_get_ddr_munits() local 729 for (lmc = 0, i = 0; i < res_cfg->ddr_imc_num; i++) { in i10nm_get_ddr_munits() 749 d->imc[lmc].mbase = mbase; in i10nm_get_ddr_munits() 750 if (i10nm_imc_absent(&d->imc[lmc])) { in i10nm_get_ddr_munits() 753 d->imc[lmc].mbase = NULL; in i10nm_get_ddr_munits() 757 d->imc[lmc].mdev = mdev; in i10nm_get_ddr_munits() 758 lmc++; in i10nm_get_ddr_munits() 784 int i, lmc; in i10nm_get_hbm_munits() local 808 lmc = res_cfg->ddr_imc_num; in i10nm_get_hbm_munits() 822 d->imc[lmc].mdev = mdev; in i10nm_get_hbm_munits() [all …]
|
D | skx_common.c | 398 imc->src_id, imc->lmc, chan); in skx_get_dimm_info() 401 imc->src_id, imc->lmc, chan, dimmno); in skx_get_dimm_info() 415 dev_handle = ACPI_NFIT_BUILD_DEVICE_HANDLE(dimmno, chan, imc->lmc, in skx_get_nvdimm_info() 450 imc->src_id, imc->lmc, chan, dimmno); in skx_get_nvdimm_info() 487 imc->node_id, imc->lmc); in skx_register_mci()
|
D | Makefile | 75 obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
|
D | skx_common.h | 106 u8 lmc; /* socket relative mc# */ member
|
D | skx_base.c | 707 d->imc[i].lmc = i; in skx_init()
|
/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 96 ((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()
|
D | qib_driver.c | 321 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr() 638 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument 643 ppd->lmc = lmc; in qib_set_lid() 646 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid()
|
D | qib_ruc.c | 274 ~((1 << ppd->lmc) - 1)) == ppd->lid) { in qib_do_send()
|
D | qib_verbs.c | 292 lid &= ~((1 << ppd->lmc) - 1); in qib_ib_rcv() 1202 props->lmc = ppd->lmc; in qib_query_port()
|
D | qib_mad.c | 513 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()
|
/drivers/infiniband/hw/hfi1/ |
D | ud.c | 76 ((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()
|
D | ruc.c | 295 ((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()
|
D | driver.c | 1282 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()
|
D | hfi.h | 811 u8 lmc; member 1887 int hfi1_set_lid(struct hfi1_pportdata *ppd, u32 lid, u8 lmc);
|
/drivers/infiniband/core/ |
D | cache.c | 1165 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc() argument 1174 *lmc = device->port_data[port_num].cache.lmc; in ib_get_cached_lmc() 1538 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update()
|
D | uverbs_std_types_device.c | 164 resp->lmc = attr->lmc; in copy_port_attr_to_resp()
|
D | mad.c | 1679 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()
|
/drivers/staging/octeon/ |
D | octeon-stubs.h | 1021 uint64_t lmc:1; member 1055 uint64_t lmc:1; member 1090 uint64_t lmc:1; member 1121 uint64_t lmc:1; member
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 165 props->lmc = resp->attrs.lmc; in pvrdma_query_port()
|
D | pvrdma_verbs.h | 138 u8 lmc; member
|
/drivers/infiniband/sw/rxe/ |
D | rxe.c | 94 port->attr.lmc = RXE_PORT_LMC; in rxe_init_port_param()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 707 rep->lmc = MLX5_GET_PR(hca_vport_context, ctx, lmc); in mlx5_query_hca_vport_context()
|
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 572 props->lmc = out_mad->data[34] & 0x7; in mlx5_query_mad_ifc_port()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 355 props->lmc = 1; in usnic_ib_query_port()
|