Home
last modified time | relevance | path

Searched refs:lmc (Results 1 - 25 of 104) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/edac/
H A Dthunderx_edac.c292 #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 Dskx_common.c338 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 Dskx_common.h63 u8 lmc; /* socket relative mc# */ member
H A DMakefile78 obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
/kernel/linux/linux-6.6/drivers/edac/
H A Dthunderx_edac.c292 #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 Di10nm_base.c703 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 Dskx_common.c390 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 DMakefile73 obj-$(CONFIG_EDAC_OCTEON_LMC) += octeon_edac-lmc.o
/kernel/linux/linux-5.10/drivers/net/wan/lmc/
H A DMakefile7 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 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()
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 Dqib_driver.c320 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 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_driver.c321 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 Dud.c118 ((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 Druc.c336 ((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 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()
/kernel/linux/linux-5.10/include/rdma/
H A Dib_cache.h83 * 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 Dib_cache.h83 * 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 DMakefile23 obj-$(CONFIG_LANMEDIA) += lmc/
/kernel/linux/linux-5.10/sound/isa/gus/
H A Dinterwave.c367 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 Dinterwave.c368 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 Dcache.c1174 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 Duverbs_std_types_device.c164 resp->lmc = attr->lmc; in copy_port_attr_to_resp()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dcache.c1169 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()

Completed in 23 milliseconds

12345