Home
last modified time | relevance | path

Searched refs:imc (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/clk/versatile/
Dclk-impd1.c86 struct impd1_clk *imc; in integrator_impd1_clk_init() local
95 imc = &impd1_clks[id]; in integrator_impd1_clk_init()
98 imc->pclkname = kasprintf(GFP_KERNEL, "lm%x-pclk", id); in integrator_impd1_clk_init()
99 pclk = clk_register_fixed_rate(NULL, imc->pclkname, NULL, 0, 0); in integrator_impd1_clk_init()
100 imc->pclk = pclk; in integrator_impd1_clk_init()
102 imc->vco1name = kasprintf(GFP_KERNEL, "lm%x-vco1", id); in integrator_impd1_clk_init()
103 clk = icst_clk_register(NULL, &impd1_icst1_desc, imc->vco1name, NULL, in integrator_impd1_clk_init()
105 imc->vco1clk = clk; in integrator_impd1_clk_init()
106 imc->clks[0] = clkdev_alloc(pclk, "apb_pclk", "lm%x:01000", id); in integrator_impd1_clk_init()
107 imc->clks[1] = clkdev_alloc(clk, NULL, "lm%x:01000", id); in integrator_impd1_clk_init()
[all …]
/Linux-v5.4/drivers/edac/
Dskx_common.c117 res->imc = (int)adxl_values[component_indices[INDEX_MEMCTRL]]; in skx_adxl_decode()
287 struct skx_imc *imc, int chan, int dimmno) in skx_get_dimm_info() argument
303 imc->mc, chan, dimmno, size, npages, in skx_get_dimm_info()
306 imc->chan[chan].dimms[dimmno].close_pg = GET_BITFIELD(mtr, 0, 0); in skx_get_dimm_info()
307 imc->chan[chan].dimms[dimmno].bank_xor_enable = GET_BITFIELD(mtr, 9, 9); in skx_get_dimm_info()
308 imc->chan[chan].dimms[dimmno].fine_grain_bank = GET_BITFIELD(amap, 0, 0); in skx_get_dimm_info()
309 imc->chan[chan].dimms[dimmno].rowbits = rows; in skx_get_dimm_info()
310 imc->chan[chan].dimms[dimmno].colbits = cols; in skx_get_dimm_info()
318 imc->src_id, imc->lmc, chan, dimmno); in skx_get_dimm_info()
323 int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc, in skx_get_nvdimm_info() argument
[all …]
Di10nm_base.c99 d->imc[i].mdev = mdev; in i10nm_get_all_munits()
118 d->imc[i].mbase = mbase; in i10nm_get_all_munits()
133 static bool i10nm_check_ecc(struct skx_imc *imc, int chan) in i10nm_check_ecc() argument
137 mcmtr = *(u32 *)(imc->mbase + 0x20ef8 + chan * 0x4000); in i10nm_check_ecc()
146 struct skx_imc *imc = pvt->imc; in i10nm_get_dimm_config() local
152 if (!imc->mbase) in i10nm_get_dimm_config()
159 mtr = I10NM_GET_DIMMMTR(imc, i, j); in i10nm_get_dimm_config()
160 mcddrtcfg = I10NM_GET_MCDDRTCFG(imc, i, j); in i10nm_get_dimm_config()
162 mtr, mcddrtcfg, imc->mc, i, j); in i10nm_get_dimm_config()
166 imc, i, j); in i10nm_get_dimm_config()
[all …]
Dskx_base.c109 d->imc[i].chan[m->mtype].cdev = pdev; in get_all_munits()
169 struct skx_imc *imc = pvt->imc; in skx_get_dimm_config() local
177 pci_read_config_dword(imc->chan[i].cdev, 0x8C, &amap); in skx_get_dimm_config()
178 pci_read_config_dword(imc->chan[i].cdev, 0x400, &mcddrtcfg); in skx_get_dimm_config()
182 pci_read_config_dword(imc->chan[i].cdev, in skx_get_dimm_config()
185 ndimms += skx_get_dimm_info(mtr, amap, dimm, imc, i, j); in skx_get_dimm_config()
187 ndimms += skx_get_nvdimm_info(dimm, imc, i, j, in skx_get_dimm_config()
192 if (ndimms && !skx_check_ecc(imc->chan[0].cdev)) { in skx_get_dimm_config()
193 skx_printk(KERN_ERR, "ECC is disabled on imc %d\n", imc->mc); in skx_get_dimm_config()
276 if (d->imc[0].src_id == SKX_ILV_TARGET(tgt)) in skx_sad_decode()
[all …]
Dskx_common.h75 } imc[NUM_IMC]; member
79 struct skx_imc *imc; member
99 int imc; member
130 struct skx_imc *imc, int chan, int dimmno);
132 int skx_get_nvdimm_info(struct dimm_info *dimm, struct skx_imc *imc,
135 int skx_register_mci(struct skx_imc *imc, struct pci_dev *pdev,
/Linux-v5.4/arch/powerpc/perf/
DMakefile12 obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o
/Linux-v5.4/net/iucv/
Diucv.c1659 struct iucv_message_complete *imc = (void *) data; in iucv_message_complete() local
1660 struct iucv_path *path = iucv_path_table[imc->ippathid]; in iucv_message_complete()
1664 msg.flags = imc->ipflags1; in iucv_message_complete()
1665 msg.id = imc->ipmsgid; in iucv_message_complete()
1666 msg.audit = imc->ipaudit; in iucv_message_complete()
1667 memcpy(msg.rmmsg, imc->iprmmsg, 8); in iucv_message_complete()
1668 msg.class = imc->ipsrccls; in iucv_message_complete()
1669 msg.tag = imc->ipmsgtag; in iucv_message_complete()
1670 msg.length = imc->ipbfln2f; in iucv_message_complete()
/Linux-v5.4/tools/perf/Documentation/
Dperf-list.txt152 bandwidth would require specifying all imc PMUs (see perf list output),
158 perf stat -C 0 -a imc/cas_count_read/,imc/cas_count_write/ -I 1000 ...
159 perf stat -C 0 -a *imc*/cas_count_read/,*imc*/cas_count_write/ -I 1000 ...
/Linux-v5.4/arch/powerpc/platforms/powernv/
DMakefile18 obj-$(CONFIG_PERF_EVENTS) += opal-imc.o
/Linux-v5.4/drivers/i2c/busses/
Di2c-piix4.c930 u8 imc; in piix4_probe() local
937 0x40, &imc); in piix4_probe()
938 if (imc & 0x80) in piix4_probe()
/Linux-v5.4/arch/arm64/crypto/
Daes-ce.S81 do_enc_Nx d, imc, \k, \i0, \i1, \i2, \i3, \i4
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c122 #define NFIT_DIMM_HANDLE(node, socket, imc, chan, dimm) \ argument
124 | ((imc & 0xf) << 8) | ((chan & 0xf) << 4) | (dimm & 0xf))