Searched refs:csrow (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/edac/
H A Damd76x_edac.c187 struct csrow_info *csrow; local
192 csrow = &mci->csrows[index];
205 csrow->first_page = mba_base >> PAGE_SHIFT;
206 csrow->nr_pages = (mba_mask + 1) >> PAGE_SHIFT;
207 csrow->last_page = csrow->first_page + csrow->nr_pages - 1;
208 csrow->page_mask = mba_mask >> PAGE_SHIFT;
209 csrow->grain = csrow
[all...]
H A Dedac_mc.c196 /* csrow<id> control files */
404 /* Instanstiate the csrow object */
616 /* Set of more default csrow<id> attribute show/store functions */
617 static ssize_t csrow_ue_count_show(struct csrow_info *csrow, char *data, int private) argument
619 return sprintf(data,"%u\n", csrow->ue_count);
622 static ssize_t csrow_ce_count_show(struct csrow_info *csrow, char *data, int private) argument
624 return sprintf(data,"%u\n", csrow->ce_count);
627 static ssize_t csrow_size_show(struct csrow_info *csrow, char *data, int private) argument
629 return sprintf(data,"%u\n", PAGES_TO_MiB(csrow->nr_pages));
632 static ssize_t csrow_mem_type_show(struct csrow_info *csrow, cha argument
637 csrow_dev_type_show(struct csrow_info *csrow, char *data, int private) argument
642 csrow_edac_mode_show(struct csrow_info *csrow, char *data, int private) argument
648 channel_dimm_label_show(struct csrow_info *csrow, char *data, int channel) argument
655 channel_dimm_label_store(struct csrow_info *csrow, const char *data, size_t count, int channel) argument
670 channel_ce_count_show(struct csrow_info *csrow, char *data, int channel) argument
693 struct csrow_info *csrow = to_csrow(kobj); local
706 struct csrow_info *csrow = to_csrow(kobj); local
865 edac_create_csrow_object( struct kobject *edac_mci_kobj, struct csrow_info *csrow, int index) argument
1012 struct csrow_info *csrow = &mci->csrows[csrow_idx]; local
1130 struct csrow_info *csrow; local
1227 edac_mc_dump_csrow(struct csrow_info *csrow) argument
1315 struct csrow_info *csi, *csrow; local
1584 struct csrow_info *csrow = &csrows[i]; local
1752 edac_mc_handle_fbd_ue(struct mem_ctl_info *mci, unsigned int csrow, unsigned int channela, unsigned int channelb, char *msg) argument
1819 edac_mc_handle_fbd_ce(struct mem_ctl_info *mci, unsigned int csrow, unsigned int channel, char *msg) argument
[all...]
H A Dr82600_edac.c216 struct csrow_info *csrow; local
227 csrow = &mci->csrows[index];
246 csrow->first_page = row_base >> PAGE_SHIFT;
247 csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1;
248 csrow->nr_pages = csrow->last_page - csrow->first_page + 1;
251 csrow->grain = 1 << 14;
252 csrow->mtype = reg_sdram ? MEM_RDDR : MEM_DDR;
253 csrow
[all...]
H A Di82860_edac.c142 struct csrow_info *csrow; local
155 csrow = &mci->csrows[index];
165 csrow->first_page = last_cumul_size;
166 csrow->last_page = cumul_size - 1;
167 csrow->nr_pages = cumul_size - last_cumul_size;
169 csrow->grain = 1 << 12; /* I82860_EAP has 4KiB reolution */
170 csrow->mtype = MEM_RMBS;
171 csrow->dtype = DEV_UNKNOWN;
172 csrow->edac_mode = mchcfg_ddim ? EDAC_SECDED : EDAC_NONE;
H A Di82875p_edac.c339 struct csrow_info *csrow; local
356 csrow = &mci->csrows[index];
365 csrow->first_page = last_cumul_size;
366 csrow->last_page = cumul_size - 1;
367 csrow->nr_pages = cumul_size - last_cumul_size;
369 csrow->grain = 1 << 12; /* I82875P_EAP has 4KiB reolution */
370 csrow->mtype = MEM_DDR;
371 csrow->dtype = DEV_UNKNOWN;
372 csrow->edac_mode = drc_ddim ? EDAC_SECDED : EDAC_NONE;
H A De7xxx_edac.c357 struct csrow_info *csrow; local
373 csrow = &mci->csrows[index];
383 csrow->first_page = last_cumul_size;
384 csrow->last_page = cumul_size - 1;
385 csrow->nr_pages = cumul_size - last_cumul_size;
387 csrow->grain = 1 << 12; /* 4KiB - resolution of CELOG */
388 csrow->mtype = MEM_RDDR; /* only one type supported */
389 csrow->dtype = mem_dev ? DEV_X4 : DEV_X8;
397 csrow->edac_mode = EDAC_S4ECD4ED;
400 csrow
[all...]
H A Dedac_mc.h116 MEM_EMPTY = 0, /* Empty csrow */
117 MEM_RESERVED, /* Reserved csrow type */
118 MEM_UNKNOWN, /* Unknown csrow type */
279 struct csrow_info *csrow; /* the parent */ member in struct:channel_info
288 u32 nr_pages; /* number of pages in csrow */
292 u32 ue_count; /* Uncorrectable Errors for this csrow */
293 u32 ce_count; /* Correctable Errors for this csrow */
294 enum mem_type mtype; /* memory csrow type */
295 enum edac_type edac_mode; /* EDAC mode for this csrow */
298 struct kobject kobj; /* sysfs kobject for this csrow */
[all...]
H A De752x_edac.c780 struct csrow_info *csrow; local
807 csrow = &mci->csrows[index];
818 csrow->first_page = last_cumul_size;
819 csrow->last_page = cumul_size - 1;
820 csrow->nr_pages = cumul_size - last_cumul_size;
822 csrow->grain = 1 << 12; /* 4KiB - resolution of CELOG */
823 csrow->mtype = MEM_RDDR; /* only one type supported */
824 csrow->dtype = mem_dev ? DEV_X4 : DEV_X8;
832 csrow->edac_mode = EDAC_S4ECD4ED;
835 csrow
[all...]

Completed in 63 milliseconds