/kernel/linux/linux-5.10/drivers/edac/ |
H A 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 in inject_ecc_fn() 410 struct thunderx_lmc *lmc = file->private_data; thunderx_lmc_inject_ecc_write() local 491 thunderx_faddr_to_phys(u64 faddr, struct thunderx_lmc *lmc) thunderx_faddr_to_phys() argument 548 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_err_isr() local 576 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_threaded_isr() local 664 struct thunderx_lmc *lmc; thunderx_lmc_probe() local 806 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_remove() local [all...] |
H A D | skx_common.c | 338 imc->src_id, imc->lmc, chan, dimmno); in skx_get_dimm_info() 351 dev_handle = ACPI_NFIT_BUILD_DEVICE_HANDLE(dimmno, chan, imc->lmc, in skx_get_nvdimm_info() 386 imc->src_id, imc->lmc, chan, dimmno); in skx_get_nvdimm_info() 421 imc->node_id, imc->lmc); in skx_register_mci()
|
H A D | skx_common.h | 63 u8 lmc; /* socket relative mc# */ member
|
H A D | Makefile | 78 obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A 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 in inject_ecc_fn() 410 struct thunderx_lmc *lmc = file->private_data; thunderx_lmc_inject_ecc_write() local 491 thunderx_faddr_to_phys(u64 faddr, struct thunderx_lmc *lmc) thunderx_faddr_to_phys() argument 548 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_err_isr() local 576 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_threaded_isr() local 664 struct thunderx_lmc *lmc; thunderx_lmc_probe() local 806 struct thunderx_lmc *lmc = mci->pvt_info; thunderx_lmc_remove() local [all...] |
H A 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] in i10nm_get_hbm_munits() [all...] |
H A D | skx_common.c | 390 imc->src_id, imc->lmc, chan); in skx_get_dimm_info() 393 imc->src_id, imc->lmc, chan, dimmno); in skx_get_dimm_info() 406 dev_handle = ACPI_NFIT_BUILD_DEVICE_HANDLE(dimmno, chan, imc->lmc, in skx_get_nvdimm_info() 441 imc->src_id, imc->lmc, chan, dimmno); in skx_get_nvdimm_info() 477 imc->node_id, imc->lmc); in skx_register_mci()
|
H A D | Makefile | 73 obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
|
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
H A D | Makefile | 7 obj-$(CONFIG_LANMEDIA) += lmc.o 9 lmc-objs := lmc_debug.o lmc_media.o lmc_main.o lmc_proto.o
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A 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() 283 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in qib_make_ud_req() 357 ((1 << ppd->lmc) - 1); in qib_make_ud_req() 574 dlid & ((1 << ppd_from_ibp(ibp)->lmc) - 1); in qib_ud_rcv()
|
H A D | qib_driver.c | 320 lid &= ~((1 << ppd->lmc) - 1); in qib_rcv_hdrerr() 637 int qib_set_lid(struct qib_pportdata *ppd, u32 lid, u8 lmc) in qib_set_lid() argument 642 ppd->lmc = lmc; in qib_set_lid() 645 lid | (~((1U << lmc) - 1)) << 16); in qib_set_lid()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | ud.c | 118 ((1 << ppd->lmc) - 1)); in ud_loopback() 250 ((1 << ppd->lmc) - 1))) & U16_MAX; in ud_loopback() 255 wc.dlid_path_bits = rdma_ah_get_dlid(ah_attr) & ((1 << ppd->lmc) - 1); in ud_loopback() 359 ((1 << ppd->lmc) - 1); in hfi1_make_ud_req_9B() 449 ((1 << ppd->lmc) - 1)); in hfi1_make_ud_req_16B() 522 lid = rdma_ah_get_dlid(ah_attr) & ~((1 << ppd->lmc) - 1); in hfi1_make_ud_req() 1061 dlid & ((1 << ppd_from_ibp(ibp)->lmc) - 1); in hfi1_ud_rcv()
|
H A D | ruc.c | 336 ((1 << ppd->lmc) - 1)); in hfi1_make_ruc_header_16B() 551 ~((1 << ps.ppd->lmc) - 1)) == in hfi1_do_send() 561 ~((1 << ps.ppd->lmc) - 1)) == in hfi1_do_send()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_cache.h | 83 * ib_get_cached_lmc - Returns a cached lmc table entry 86 * @lmc: The lmc value for the specified port for that device. 88 * ib_get_cached_lmc() fetches the specified lmc table entry stored in 93 u8 *lmc);
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | ib_cache.h | 83 * ib_get_cached_lmc - Returns a cached lmc table entry 86 * @lmc: The lmc value for the specified port for that device. 88 * ib_get_cached_lmc() fetches the specified lmc table entry stored in 93 u8 *lmc);
|
/kernel/linux/linux-5.10/drivers/net/wan/ |
H A D | Makefile | 23 obj-$(CONFIG_LANMEDIA) += lmc/
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
H A D | interwave.c | 367 static const unsigned int lmc[13] = in snd_interwave_detect_memory() local 401 for (i = 0; i < ARRAY_SIZE(lmc); i++) in snd_interwave_detect_memory() 402 if (lmct == lmc[i]) { in snd_interwave_detect_memory() 410 if (i >= ARRAY_SIZE(lmc) && !gus->gf1.enh_mode) in snd_interwave_detect_memory()
|
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | interwave.c | 368 static const unsigned int lmc[13] = in snd_interwave_detect_memory() local 402 for (i = 0; i < ARRAY_SIZE(lmc); i++) in snd_interwave_detect_memory() 403 if (lmct == lmc[i]) { in snd_interwave_detect_memory() 411 if (i >= ARRAY_SIZE(lmc) && !gus->gf1.enh_mode) in snd_interwave_detect_memory()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | cache.c | 1174 u8 *lmc) in ib_get_cached_lmc() 1183 *lmc = device->port_data[port_num].cache.lmc; in ib_get_cached_lmc() 1531 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update() 1172 ib_get_cached_lmc(struct ib_device *device, u8 port_num, u8 *lmc) ib_get_cached_lmc() argument
|
H A D | uverbs_std_types_device.c | 164 resp->lmc = attr->lmc; in copy_port_attr_to_resp()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | cache.c | 1169 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc() argument 1178 *lmc = device->port_data[port_num].cache.lmc; in ib_get_cached_lmc() 1542 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update()
|