/drivers/edac/ |
D | edac_mc.c | 58 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() local 62 for (i = 0; i < mci->n_layers; i++) { in edac_dimm_info_location() 64 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location() 93 dimm->mci->csbased ? "rank" : "dimm", in edac_mc_dump_dimm() 111 edac_dbg(4, " csrow->mci = %p\n", csrow->mci); in edac_mc_dump_csrow() 114 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci() argument 116 edac_dbg(3, "\tmci = %p\n", mci); in edac_mc_dump_mci() 117 edac_dbg(3, "\tmci->mtype_cap = %lx\n", mci->mtype_cap); in edac_mc_dump_mci() 118 edac_dbg(3, "\tmci->edac_ctl_cap = %lx\n", mci->edac_ctl_cap); in edac_mc_dump_mci() 119 edac_dbg(3, "\tmci->edac_cap = %lx\n", mci->edac_cap); in edac_mc_dump_mci() [all …]
|
D | ppc4xx_edac.c | 129 #define ppc4xx_edac_mc_printk(level, mci, fmt, arg...) \ argument 130 edac_mc_chipset_printk(mci, level, "PPC4xx", fmt, ##arg) 316 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message() argument 324 n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); in ppc4xx_edac_generate_bank_message() 333 for (rows = 0, row = 0; row < mci->nr_csrows; row++) { in ppc4xx_edac_generate_bank_message() 378 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message() argument 383 const struct ppc4xx_edac_pdata *pdata = mci->pvt_info; in ppc4xx_edac_generate_checkbit_message() 436 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_lane_message() argument 501 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_ecc_message() argument 508 n = ppc4xx_edac_generate_bank_message(mci, status, buffer, size); in ppc4xx_edac_generate_ecc_message() [all …]
|
D | pasemi_edac.c | 75 static u32 pasemi_edac_get_error_info(struct mem_ctl_info *mci) in pasemi_edac_get_error_info() argument 77 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_get_error_info() 96 static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) in pasemi_edac_process_error_info() argument 98 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_process_error_info() 113 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in pasemi_edac_process_error_info() 114 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 115 cs, 0, -1, mci->ctl_name, ""); in pasemi_edac_process_error_info() 120 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in pasemi_edac_process_error_info() 121 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 122 cs, 0, -1, mci->ctl_name, ""); in pasemi_edac_process_error_info() [all …]
|
D | r82600_edac.c | 31 #define r82600_mc_printk(mci, level, fmt, arg...) \ argument 32 edac_mc_chipset_printk(mci, level, "r82600", fmt, ##arg) 138 static void r82600_get_error_info(struct mem_ctl_info *mci, in r82600_get_error_info() argument 143 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info() 159 static int r82600_process_error_info(struct mem_ctl_info *mci, in r82600_process_error_info() argument 182 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in r82600_process_error_info() 184 edac_mc_find_csrow_by_page(mci, page), in r82600_process_error_info() 186 mci->ctl_name, ""); in r82600_process_error_info() 194 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in r82600_process_error_info() 196 edac_mc_find_csrow_by_page(mci, page), in r82600_process_error_info() [all …]
|
D | amd76x_edac.c | 28 #define amd76x_mc_printk(mci, level, fmt, arg...) \ argument 29 edac_mc_chipset_printk(mci, level, "amd76x", fmt, ##arg) 103 static void amd76x_get_error_info(struct mem_ctl_info *mci, in amd76x_get_error_info() argument 108 pdev = to_pci_dev(mci->pdev); in amd76x_get_error_info() 131 static int amd76x_process_error_info(struct mem_ctl_info *mci, in amd76x_process_error_info() argument 148 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in amd76x_process_error_info() 149 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 151 mci->ctl_name, ""); in amd76x_process_error_info() 163 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in amd76x_process_error_info() 164 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() [all …]
|
D | edac_mc_sysfs.c | 426 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object() argument 430 csrow->dev.bus = mci->bus; in edac_create_csrow_object() 433 csrow->dev.parent = &mci->dev; in edac_create_csrow_object() 434 csrow->mci = mci; in edac_create_csrow_object() 445 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects() argument 450 for (i = 0; i < mci->nr_csrows; i++) { in edac_create_csrow_objects() 451 csrow = mci->csrows[i]; in edac_create_csrow_objects() 454 err = edac_create_csrow_object(mci, mci->csrows[i], i); in edac_create_csrow_objects() 466 csrow = mci->csrows[i]; in edac_create_csrow_objects() 469 put_device(&mci->csrows[i]->dev); in edac_create_csrow_objects() [all …]
|
D | cell_edac.c | 34 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ce() argument 36 struct cell_edac_priv *priv = mci->pvt_info; in cell_edac_count_ce() 37 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ce() 40 dev_dbg(mci->pdev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n", in cell_edac_count_ce() 52 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in cell_edac_count_ce() 57 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ue() argument 59 struct cell_edac_priv *priv = mci->pvt_info; in cell_edac_count_ue() 60 struct csrow_info *csrow = mci->csrows[0]; in cell_edac_count_ue() 63 dev_dbg(mci->pdev, "ECC UE err on node %d, channel %d, ar = 0x%016llx\n", in cell_edac_count_ue() 74 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in cell_edac_count_ue() [all …]
|
D | e7xxx_edac.c | 41 #define e7xxx_mc_printk(mci, level, fmt, arg...) \ argument 42 edac_mc_chipset_printk(mci, level, "e7xxx", fmt, ##arg) 183 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() argument 187 struct e7xxx_pvt *pvt = (struct e7xxx_pvt *)mci->pvt_info; in ctl_page_to_phys() 204 static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ce() argument 219 row = edac_mc_find_csrow_by_page(mci, page); in process_ce() 222 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, page, 0, syndrome, in process_ce() 226 static void process_ce_no_info(struct mem_ctl_info *mci) in process_ce_no_info() argument 229 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, 0, 0, 0, -1, -1, -1, in process_ce_no_info() 233 static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ue() argument [all …]
|
D | octeon_edac-lmc.c | 39 static void octeon_lmc_edac_poll(struct mem_ctl_info *mci) in octeon_lmc_edac_poll() argument 45 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll() 48 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll() 56 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, 0, 0, 0, in octeon_lmc_edac_poll() 63 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in octeon_lmc_edac_poll() 69 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx), cfg0.u64); in octeon_lmc_edac_poll() 72 static void octeon_lmc_edac_poll_o2(struct mem_ctl_info *mci) in octeon_lmc_edac_poll_o2() argument 74 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_lmc_edac_poll_o2() 80 int_reg.u64 = cvmx_read_csr(CVMX_LMCX_INT(mci->mc_idx)); in octeon_lmc_edac_poll_o2() 92 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll_o2() [all …]
|
D | fsl_ddr_edac.c | 63 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_show() local 64 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_hi_show() 73 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_show() local 74 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_lo_show() 83 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_show() local 84 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_ctrl_show() 93 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_store() local 94 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_hi_store() 113 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_store() local 114 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_lo_store() [all …]
|
D | i82443bxgx_edac.c | 122 static void i82443bxgx_edacmc_get_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_get_error_info() argument 127 pdev = to_pci_dev(mci->pdev); in i82443bxgx_edacmc_get_error_info() 142 static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_process_error_info() argument 159 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82443bxgx_edacmc_process_error_info() 161 edac_mc_find_csrow_by_page(mci, page), in i82443bxgx_edacmc_process_error_info() 162 0, -1, mci->ctl_name, ""); in i82443bxgx_edacmc_process_error_info() 168 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82443bxgx_edacmc_process_error_info() 170 edac_mc_find_csrow_by_page(mci, page), in i82443bxgx_edacmc_process_error_info() 171 0, -1, mci->ctl_name, ""); in i82443bxgx_edacmc_process_error_info() 177 static void i82443bxgx_edacmc_check(struct mem_ctl_info *mci) in i82443bxgx_edacmc_check() argument [all …]
|
D | tile_edac.c | 58 static void tile_edac_check(struct mem_ctl_info *mci) in tile_edac_check() argument 60 struct tile_edac_priv *priv = mci->pvt_info; in tile_edac_check() 72 dev_dbg(mci->pdev, "ECC CE err on node %d\n", priv->node); in tile_edac_check() 74 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in tile_edac_check() 77 mci->ctl_name, ""); in tile_edac_check() 85 static int tile_edac_init_csrows(struct mem_ctl_info *mci) in tile_edac_init_csrows() argument 87 struct csrow_info *csrow = mci->csrows[0]; in tile_edac_init_csrows() 88 struct tile_edac_priv *priv = mci->pvt_info; in tile_edac_init_csrows() 127 struct mem_ctl_info *mci; in tile_edac_mc_probe() local 144 mci = edac_mc_alloc(pdev->id, ARRAY_SIZE(layers), layers, in tile_edac_mc_probe() [all …]
|
D | i82860_edac.c | 25 #define i82860_mc_printk(mci, level, fmt, arg...) \ argument 26 edac_mc_chipset_printk(mci, level, "i82860", fmt, ##arg) 65 static void i82860_get_error_info(struct mem_ctl_info *mci, in i82860_get_error_info() argument 70 pdev = to_pci_dev(mci->pdev); in i82860_get_error_info() 98 static int i82860_process_error_info(struct mem_ctl_info *mci, in i82860_process_error_info() argument 112 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82860_process_error_info() 118 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82860_process_error_info() 119 dimm = mci->csrows[row]->channels[0]->dimm; in i82860_process_error_info() 122 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82860_process_error_info() 127 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82860_process_error_info() [all …]
|
D | i3200_edac.c | 168 static void i3200_clear_error_info(struct mem_ctl_info *mci) in i3200_clear_error_info() argument 172 pdev = to_pci_dev(mci->pdev); in i3200_clear_error_info() 182 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info() argument 186 struct i3200_priv *priv = mci->pvt_info; in i3200_get_and_clear_error_info() 189 pdev = to_pci_dev(mci->pdev); in i3200_get_and_clear_error_info() 218 i3200_clear_error_info(mci); in i3200_get_and_clear_error_info() 221 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info() argument 231 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i3200_process_error_info() 239 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i3200_process_error_info() 245 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i3200_process_error_info() [all …]
|
D | x38_edac.c | 152 static void x38_clear_error_info(struct mem_ctl_info *mci) in x38_clear_error_info() argument 156 pdev = to_pci_dev(mci->pdev); in x38_clear_error_info() 166 static void x38_get_and_clear_error_info(struct mem_ctl_info *mci, in x38_get_and_clear_error_info() argument 170 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() 172 pdev = to_pci_dev(mci->pdev); in x38_get_and_clear_error_info() 202 x38_clear_error_info(mci); in x38_get_and_clear_error_info() 205 static void x38_process_error_info(struct mem_ctl_info *mci, in x38_process_error_info() argument 215 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in x38_process_error_info() 224 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in x38_process_error_info() 230 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in x38_process_error_info() [all …]
|
D | i82875p_edac.c | 29 #define i82875p_mc_printk(mci, level, fmt, arg...) \ argument 30 edac_mc_chipset_printk(mci, level, "i82875p", fmt, ##arg) 187 static void i82875p_get_error_info(struct mem_ctl_info *mci, in i82875p_get_error_info() argument 192 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info() 224 static int i82875p_process_error_info(struct mem_ctl_info *mci, in i82875p_process_error_info() argument 230 multi_chan = mci->csrows[0]->nr_channels - 1; in i82875p_process_error_info() 239 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82875p_process_error_info() 246 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82875p_process_error_info() 249 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82875p_process_error_info() 254 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82875p_process_error_info() [all …]
|
D | synopsys_edac.c | 205 static void synps_edac_handle_error(struct mem_ctl_info *mci, in synps_edac_handle_error() argument 208 struct synps_edac_priv *priv = mci->pvt_info; in synps_edac_handle_error() 216 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, in synps_edac_handle_error() 226 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, in synps_edac_handle_error() 240 static void synps_edac_check(struct mem_ctl_info *mci) in synps_edac_check() argument 242 struct synps_edac_priv *priv = mci->pvt_info; in synps_edac_check() 251 synps_edac_handle_error(mci, &priv->stat); in synps_edac_check() 360 static int synps_edac_init_csrows(struct mem_ctl_info *mci) in synps_edac_init_csrows() argument 364 struct synps_edac_priv *priv = mci->pvt_info; in synps_edac_init_csrows() 368 for (row = 0; row < mci->nr_csrows; row++) { in synps_edac_init_csrows() [all …]
|
D | i82975x_edac.c | 25 #define i82975x_mc_printk(mci, level, fmt, arg...) \ argument 26 edac_mc_chipset_printk(mci, level, "i82975x", fmt, ##arg) 239 static void i82975x_get_error_info(struct mem_ctl_info *mci, in i82975x_get_error_info() argument 244 pdev = to_pci_dev(mci->pdev); in i82975x_get_error_info() 278 static int i82975x_process_error_info(struct mem_ctl_info *mci, in i82975x_process_error_info() argument 291 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82975x_process_error_info() 301 row = edac_mc_find_csrow_by_page(mci, page); in i82975x_process_error_info() 304 i82975x_mc_printk(mci, KERN_ERR, "error processing EAP:\n" in i82975x_process_error_info() 311 chan = (mci->csrows[row]->nr_channels == 1) ? 0 : info->eap & 1; in i82975x_process_error_info() 314 (1 << mci->csrows[row]->channels[chan]->dimm->grain)); in i82975x_process_error_info() [all …]
|
D | highbank_mc_edac.c | 67 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local 68 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler() 76 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in highbank_mc_err_handler() 80 mci->ctl_name, ""); in highbank_mc_err_handler() 86 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in highbank_mc_err_handler() 90 mci->ctl_name, ""); in highbank_mc_err_handler() 98 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() argument 100 struct hb_mc_drvdata *pdata = mci->pvt_info; in highbank_mc_err_inject() 114 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local 120 highbank_mc_err_inject(mci, synd); in highbank_mc_inject_ctrl() [all …]
|
D | ie31200_edac.c | 222 static void ie31200_clear_error_info(struct mem_ctl_info *mci) in ie31200_clear_error_info() argument 228 pci_write_bits16(to_pci_dev(mci->pdev), IE31200_ERRSTS, in ie31200_clear_error_info() 232 static void ie31200_get_and_clear_error_info(struct mem_ctl_info *mci, in ie31200_get_and_clear_error_info() argument 236 struct ie31200_priv *priv = mci->pvt_info; in ie31200_get_and_clear_error_info() 238 pdev = to_pci_dev(mci->pdev); in ie31200_get_and_clear_error_info() 268 ie31200_clear_error_info(mci); in ie31200_get_and_clear_error_info() 271 static void ie31200_process_error_info(struct mem_ctl_info *mci, in ie31200_process_error_info() argument 281 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in ie31200_process_error_info() 289 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in ie31200_process_error_info() 295 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in ie31200_process_error_info() [all …]
|
D | i5100_edac.c | 367 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot() argument 370 const struct i5100_priv *priv = mci->pvt_info; in i5100_rank_to_slot() 421 static int i5100_csrow_to_rank(const struct mem_ctl_info *mci, int csrow) in i5100_csrow_to_rank() argument 423 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_rank() 429 static int i5100_csrow_to_chan(const struct mem_ctl_info *mci, int csrow) in i5100_csrow_to_chan() argument 431 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_chan() 436 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() argument 452 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i5100_handle_ce() 458 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() argument 474 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i5100_handle_ue() [all …]
|
D | e752x_edac.c | 41 #define e752x_mc_printk(mci, level, fmt, arg...) \ argument 42 edac_mc_chipset_printk(mci, level, "e752x", fmt, ##arg) 305 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() argument 309 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in ctl_page_to_phys() 328 static void do_process_ce(struct mem_ctl_info *mci, u16 error_one, in do_process_ce() argument 335 struct e752x_pvt *pvt = (struct e752x_pvt *)mci->pvt_info; in do_process_ce() 363 e752x_mc_printk(mci, KERN_WARNING, in do_process_ce() 367 row = edac_mc_find_csrow_by_page(mci, page); in do_process_ce() 373 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in do_process_ce() 379 static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, in process_ce() argument [all …]
|
D | cpc925_edac.c | 39 #define cpc925_mc_printk(mci, level, fmt, arg...) \ argument 40 edac_mc_chipset_printk(mci, level, "CPC925", fmt, ##arg) 327 static void cpc925_init_csrows(struct mem_ctl_info *mci) in cpc925_init_csrows() argument 329 struct cpc925_mc_pdata *pdata = mci->pvt_info; in cpc925_init_csrows() 339 for (index = 0; index < mci->nr_csrows; index++) { in cpc925_init_csrows() 350 csrow = mci->csrows[index]; in cpc925_init_csrows() 393 static void cpc925_mc_init(struct mem_ctl_info *mci) in cpc925_mc_init() argument 395 struct cpc925_mc_pdata *pdata = mci->pvt_info; in cpc925_mc_init() 415 static void cpc925_mc_exit(struct mem_ctl_info *mci) in cpc925_mc_exit() argument 448 static void cpc925_mc_get_pfn(struct mem_ctl_info *mci, u32 mear, in cpc925_mc_get_pfn() argument [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mci.c | 127 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_version_query() local 130 if (mci->bt_version_known || in ar9003_mci_send_coex_version_query() 131 (mci->bt_state == MCI_BT_SLEEP)) in ar9003_mci_send_coex_version_query() 142 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_version_response() local 148 mci->wlan_ver_major; in ar9003_mci_send_coex_version_response() 150 mci->wlan_ver_minor; in ar9003_mci_send_coex_version_response() 157 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_wlan_channels() local 158 u32 *payload = &mci->wlan_channels[0]; in ar9003_mci_send_coex_wlan_channels() 160 if (!mci->wlan_channels_update || in ar9003_mci_send_coex_wlan_channels() 161 (mci->bt_state == MCI_BT_SLEEP)) in ar9003_mci_send_coex_wlan_channels() [all …]
|
D | mci.c | 26 ath_mci_find_profile(struct ath_mci_profile *mci, in ath_mci_find_profile() argument 31 if (list_empty(&mci->info)) in ath_mci_find_profile() 34 list_for_each_entry(entry, &mci->info, list) { in ath_mci_find_profile() 42 struct ath_mci_profile *mci, in ath_mci_add_profile() argument 48 if ((mci->num_sco == ATH_MCI_MAX_SCO_PROFILE) && in ath_mci_add_profile() 52 if (((NUM_PROF(mci) - mci->num_sco) == ATH_MCI_MAX_ACL_PROFILE) && in ath_mci_add_profile() 61 INC_PROF(mci, info); in ath_mci_add_profile() 62 list_add_tail(&entry->list, &mci->info); in ath_mci_add_profile() 65 mci->voice_priority = voice_priority[info->voice_type]; in ath_mci_add_profile() 67 mci->voice_priority = 110; in ath_mci_add_profile() [all …]
|