Lines Matching defs:node_id
238 * addresses for the node given by node_id. This information is obtained from
244 static void amd64_get_base_and_limit(struct amd64_pvt *pvt, int node_id,
247 *base = pvt->dram_base[node_id];
248 *limit = pvt->dram_limit[node_id];
253 * with node_id
256 u64 sys_addr, int node_id)
260 amd64_get_base_and_limit(pvt, node_id, &base, &limit);
283 int node_id;
300 for (node_id = 0; node_id < DRAM_REG_COUNT; node_id++) {
301 if (amd64_base_limit_match(pvt, sys_addr, node_id))
318 for (node_id = 0; ; ) {
319 if ((pvt->dram_IntlvSel[node_id] & intlv_en) == bits)
322 if (++node_id >= DRAM_REG_COUNT)
327 if (unlikely(!amd64_base_limit_match(pvt, sys_addr, node_id))) {
332 __func__, sys_addr, node_id);
337 return edac_mc_find(node_id);
644 int node_id, intlv_shift;
657 node_id = pvt->mc_node_id;
658 BUG_ON((node_id < 0) || (node_id > 7));
672 intlv_sel = pvt->dram_IntlvSel[node_id] & ((1 << intlv_shift) - 1);
1543 int node_id, cs_found = -EINVAL, high_range = 0;
1551 node_id = pvt->dram_DstNode[dram_range];
1612 cs_found = f10_lookup_addr_in_dct(chan_addr >> 8, node_id, channel);
1615 *nid = node_id;
2069 void amd64_decode_bus_error(int node_id, struct err_regs *regs)
2071 struct mem_ctl_info *mci = mci_lookup[node_id];
2244 * node_id
2701 int node_id = pvt->mc_node_id;
2717 mci = edac_mc_alloc(0, pvt->cs_count, pvt->channel_count, node_id);
2738 mci_lookup[node_id] = mci;
2739 pvt_lookup[node_id] = NULL;
2763 pvt_lookup[node_id] = NULL;