Home
last modified time | relevance | path

Searched refs:mci (Results 1 – 25 of 82) sorted by relevance

1234

/openbmc/linux/drivers/edac/
H A Dedac_mc.c64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() local
128 mci->nr_csrows, mci->csrows); in edac_mc_dump_mci()
130 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci()
133 mci->mod_name, mci->ctl_name); in edac_mc_dump_mci()
231 csr->mci = mci; in edac_mc_alloc_csrows()
264 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms()
282 dimm->mci = mci; in edac_mc_alloc_dimms()
365 if (!mci) in edac_mc_alloc()
481 mci->edac_check(mci); in edac_mc_workq_function()
667 mci->mod_name, mci->ctl_name, mci->dev_name, in edac_mc_add_mc_with_groups()
[all …]
H A Dpasemi_edac.c132 csrow = mci->csrows[index]; in pasemi_edac_init_csrows()
161 edac_mc_printk(mci, KERN_ERR, in pasemi_edac_init_csrows()
208 if (mci == NULL) in pasemi_edac_probe()
216 mci->pdev = &pdev->dev; in pasemi_edac_probe()
223 mci->mod_name = MODULE_NAME; in pasemi_edac_probe()
227 mci->ctl_page_to_phys = NULL; in pasemi_edac_probe()
230 mci->scrub_mode = in pasemi_edac_probe()
246 if (edac_mc_add_mc(mci)) in pasemi_edac_probe()
253 edac_mc_free(mci); in pasemi_edac_probe()
261 if (!mci) in pasemi_edac_remove()
[all …]
H A Dppc4xx_edac.c801 ppc4xx_edac_check(mci); in ppc4xx_edac_isr()
1007 mci->pdev = &op->dev; in ppc4xx_edac_mc_init()
1009 dev_set_drvdata(mci->pdev, mci); in ppc4xx_edac_mc_init()
1011 pdata = mci->pvt_info; in ppc4xx_edac_mc_init()
1104 mci); in ppc4xx_edac_register_irq()
1118 mci); in ppc4xx_edac_register_irq()
1137 free_irq(sec_irq, mci); in ppc4xx_edac_register_irq()
1140 free_irq(ded_irq, mci); in ppc4xx_edac_register_irq()
1270 if (mci == NULL) { in ppc4xx_edac_probe()
1314 edac_mc_free(mci); in ppc4xx_edac_probe()
[all …]
H A Damd76x_edac.c107 pdev = to_pci_dev(mci->pdev); in amd76x_get_error_info()
150 mci->ctl_name, ""); in amd76x_process_error_info()
165 mci->ctl_name, ""); in amd76x_process_error_info()
236 struct mem_ctl_info *mci; in amd76x_probe1() local
254 if (mci == NULL) in amd76x_probe1()
258 mci->pdev = &pdev->dev; in amd76x_probe1()
261 mci->edac_cap = ems_mode ? in amd76x_probe1()
275 if (edac_mc_add_mc(mci)) { in amd76x_probe1()
296 edac_mc_free(mci); in amd76x_probe1()
320 struct mem_ctl_info *mci; in amd76x_remove_one() local
[all …]
H A Dr82600_edac.c185 mci->ctl_name, ""); in r82600_process_error_info()
197 mci->ctl_name, ""); in r82600_process_error_info()
270 struct mem_ctl_info *mci; in r82600_probe1() local
292 if (mci == NULL) in r82600_probe1()
296 mci->pdev = &pdev->dev; in r82600_probe1()
312 mci, eapr); in r82600_probe1()
317 mci->ctl_name = "R82600"; in r82600_probe1()
327 if (edac_mc_add_mc(mci)) { in r82600_probe1()
354 edac_mc_free(mci); in r82600_probe1()
370 struct mem_ctl_info *mci; in r82600_remove_one() local
[all …]
H A Dcell_edac.c158 dev_dbg(mci->pdev, in cell_edac_init_csrows()
171 struct mem_ctl_info *mci; in cell_edac_probe() local
210 if (mci == NULL) in cell_edac_probe()
212 priv = mci->pvt_info; in cell_edac_probe()
216 mci->pdev = &pdev->dev; in cell_edac_probe()
221 mci->ctl_name = "MIC"; in cell_edac_probe()
224 cell_edac_init_csrows(mci); in cell_edac_probe()
227 rc = edac_mc_add_mc(mci); in cell_edac_probe()
230 edac_mc_free(mci); in cell_edac_probe()
240 if (mci) in cell_edac_remove()
[all …]
H A Docteon_edac-lmc.c227 struct mem_ctl_info *mci; in octeon_lmc_edac_probe() local
247 if (!mci) in octeon_lmc_edac_probe()
250 mci->pdev = &pdev->dev; in octeon_lmc_edac_probe()
253 mci->mod_name = "octeon-lmc"; in octeon_lmc_edac_probe()
259 edac_mc_free(mci); in octeon_lmc_edac_probe()
279 if (!mci) in octeon_lmc_edac_probe()
282 mci->pdev = &pdev->dev; in octeon_lmc_edac_probe()
285 mci->mod_name = "octeon-lmc"; in octeon_lmc_edac_probe()
286 mci->ctl_name = "co_lmc_err"; in octeon_lmc_edac_probe()
291 edac_mc_free(mci); in octeon_lmc_edac_probe()
[all …]
H A Daspeed_edac.c283 struct mem_ctl_info *mci; in aspeed_probe() local
315 if (!mci) in aspeed_probe()
318 mci->pdev = &pdev->dev; in aspeed_probe()
324 mci->mod_name = DRV_NAME; in aspeed_probe()
325 mci->ctl_name = "MIC"; in aspeed_probe()
328 rc = init_csrows(mci); in aspeed_probe()
337 rc = edac_mc_add_mc(mci); in aspeed_probe()
355 edac_mc_free(mci); in aspeed_probe()
362 struct mem_ctl_info *mci; in aspeed_remove() local
370 if (mci) in aspeed_remove()
[all …]
H A De7xxx_edac.c297 process_ce(mci, info); in e7xxx_process_error_info()
304 process_ue(mci, info); in e7xxx_process_error_info()
312 process_ce_no_info(mci); in e7xxx_process_error_info()
314 process_ce(mci, info); in e7xxx_process_error_info()
325 process_ue(mci, info); in e7xxx_process_error_info()
450 if (mci == NULL) in e7xxx_probe1()
459 mci->pdev = &pdev->dev; in e7xxx_probe1()
498 if (edac_mc_add_mc(mci)) { in e7xxx_probe1()
522 edac_mc_free(mci); in e7xxx_probe1()
539 struct mem_ctl_info *mci; in e7xxx_remove_one() local
[all …]
H A Dfsl_ddr_edac.c362 mci->ctl_name, ""); in fsl_mc_check()
368 mci->ctl_name, ""); in fsl_mc_check()
383 fsl_mc_check(mci); in fsl_mc_isr()
475 struct mem_ctl_info *mci; in fsl_mc_err_probe() local
493 if (!mci) { in fsl_mc_err_probe()
498 pdata = mci->pvt_info; in fsl_mc_err_probe()
500 mci->pdev = &op->dev; in fsl_mc_err_probe()
502 dev_set_drvdata(mci->pdev, mci); in fsl_mc_err_probe()
558 fsl_ddr_init_csrows(mci); in fsl_mc_err_probe()
611 edac_mc_free(mci); in fsl_mc_err_probe()
[all …]
H A Di82860_edac.c69 pdev = to_pci_dev(mci->pdev); in i82860_get_error_info()
162 csrow = mci->csrows[index]; in i82860_init_csrows()
186 struct mem_ctl_info *mci; in i82860_probe1() local
207 if (!mci) in i82860_probe1()
211 mci->pdev = &pdev->dev; in i82860_probe1()
216 mci->mod_name = EDAC_MOD_STR; in i82860_probe1()
220 mci->ctl_page_to_phys = NULL; in i82860_probe1()
227 if (edac_mc_add_mc(mci)) { in i82860_probe1()
249 edac_mc_free(mci); in i82860_probe1()
275 struct mem_ctl_info *mci; in i82860_remove_one() local
[all …]
H A Di82443bxgx_edac.c125 pdev = to_pci_dev(mci->pdev); in i82443bxgx_edacmc_get_error_info()
197 csrow = mci->csrows[index]; in i82443bxgx_init_csrows()
233 struct mem_ctl_info *mci; in i82443bxgx_edacmc_probe1() local
255 if (mci == NULL) in i82443bxgx_edacmc_probe1()
259 mci->pdev = &pdev->dev; in i82443bxgx_edacmc_probe1()
279 mci->edac_cap = mci->edac_ctl_cap; in i82443bxgx_edacmc_probe1()
319 mci->mod_name = EDAC_MOD_STR; in i82443bxgx_edacmc_probe1()
325 if (edac_mc_add_mc(mci)) { in i82443bxgx_edacmc_probe1()
345 edac_mc_free(mci); in i82443bxgx_edacmc_probe1()
368 struct mem_ctl_info *mci; in i82443bxgx_edacmc_remove_one() local
[all …]
H A Dbluefield_edac.c183 int mem_ctrl_idx = mci->mc_idx; in bluefield_edac_init_dimms()
189 dimm = mci->dimms[i]; in bluefield_edac_init_dimms()
247 struct mem_ctl_info *mci; in bluefield_edac_mc_probe() local
278 if (!mci) in bluefield_edac_mc_probe()
281 priv = mci->pvt_info; in bluefield_edac_mc_probe()
291 mci->pdev = dev; in bluefield_edac_mc_probe()
296 mci->mod_name = DRIVER_NAME; in bluefield_edac_mc_probe()
298 mci->dev_name = dev_name(dev); in bluefield_edac_mc_probe()
307 rc = edac_mc_add_mc(mci); in bluefield_edac_mc_probe()
320 edac_mc_free(mci); in bluefield_edac_mc_probe()
[all …]
H A Di82875p_edac.c191 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info()
362 csrow = mci->csrows[index]; in i82875p_init_csrows()
390 struct mem_ctl_info *mci; in i82875p_probe1() local
413 if (!mci) { in i82875p_probe1()
419 mci->pdev = &pdev->dev; in i82875p_probe1()
423 mci->mod_name = EDAC_MOD_STR; in i82875p_probe1()
427 mci->ctl_page_to_phys = NULL; in i82875p_probe1()
438 if (edac_mc_add_mc(mci)) { in i82875p_probe1()
459 edac_mc_free(mci); in i82875p_probe1()
492 struct mem_ctl_info *mci; in i82875p_remove_one() local
[all …]
H A Dx38_edac.c200 x38_clear_error_info(mci); in x38_get_and_clear_error_info()
345 if (!mci) in x38_probe1()
350 mci->pdev = &pdev->dev; in x38_probe1()
361 mci->pvt_info = window; in x38_probe1()
393 x38_clear_error_info(mci); in x38_probe1()
407 if (mci) in x38_probe1()
408 edac_mc_free(mci); in x38_probe1()
431 struct mem_ctl_info *mci; in x38_remove_one() local
436 if (!mci) in x38_remove_one()
439 iounmap(mci->pvt_info); in x38_remove_one()
[all …]
H A Ddebugfs.c13 u16 errcount = mci->fake_inject_count; in edac_fake_inject_write()
26 mci->fake_inject_layer[0], in edac_fake_inject_write()
27 mci->fake_inject_layer[1], in edac_fake_inject_write()
28 mci->fake_inject_layer[2] in edac_fake_inject_write()
31 mci->fake_inject_layer[0], in edac_fake_inject_write()
32 mci->fake_inject_layer[1], in edac_fake_inject_write()
33 mci->fake_inject_layer[2], in edac_fake_inject_write()
67 &mci->fake_inject_layer[i]); in edac_create_debugfs_nodes()
71 &mci->fake_inject_ue); in edac_create_debugfs_nodes()
74 &mci->fake_inject_count); in edac_create_debugfs_nodes()
[all …]
H A Dedac_mc_sysfs.c437 csrow->mci = mci; in edac_create_csrow_object()
463 err = edac_create_csrow_object(mci, mci->csrows[i], i); in edac_create_csrow_objects()
645 dimm->mci = mci; in edac_create_dimm_object()
652 if (mci->csbased) in edac_create_dimm_object()
691 mci->ue_mc = 0; in mci_reset_counters_store()
692 mci->ce_mc = 0; in mci_reset_counters_store()
735 new_bw = mci->set_sdram_scrub_rate(mci, bandwidth); in mci_sdram_scrub_rate_store()
755 bandwidth = mci->get_sdram_scrub_rate(mci); in mci_sdram_scrub_rate_show()
943 dev_set_name(&mci->dev, "mc%d", mci->mc_idx); in edac_create_sysfs_mci_device()
944 dev_set_drvdata(&mci->dev, mci); in edac_create_sysfs_mci_device()
[all …]
H A Dhighbank_mc_edac.c56 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local
69 mci->ctl_name, ""); in highbank_mc_err_handler()
79 mci->ctl_name, ""); in highbank_mc_err_handler()
150 struct mem_ctl_info *mci; in highbank_mc_probe() local
171 if (!mci) in highbank_mc_probe()
174 mci->pdev = &pdev->dev; in highbank_mc_probe()
175 drvdata = mci->pvt_info; in highbank_mc_probe()
215 mci->mtype_cap = MEM_FLAG_DDR3; in highbank_mc_probe()
224 dimm = *mci->dimms; in highbank_mc_probe()
250 edac_mc_free(mci); in highbank_mc_probe()
[all …]
H A Di82975x_edac.c243 pdev = to_pci_dev(mci->pdev); in i82975x_get_error_info()
382 csrow = mci->csrows[index]; in i82975x_init_csrows()
466 struct mem_ctl_info *mci; in i82975x_probe1() local
547 if (!mci) { in i82975x_probe1()
553 mci->pdev = &pdev->dev; in i82975x_probe1()
570 if (edac_mc_add_mc(mci)) { in i82975x_probe1()
580 edac_mc_free(mci); in i82975x_probe1()
609 struct mem_ctl_info *mci; in i82975x_remove_one() local
615 if (mci == NULL) in i82975x_remove_one()
618 pvt = mci->pvt_info; in i82975x_remove_one()
[all …]
H A Di3200_edac.c216 i3200_clear_error_info(mci); in i3200_get_and_clear_error_info()
363 if (!mci) in i3200_probe1()
368 mci->pdev = &pdev->dev; in i3200_probe1()
379 priv = mci->pvt_info; in i3200_probe1()
414 if (edac_mc_add_mc(mci)) { in i3200_probe1()
425 if (mci) in i3200_probe1()
426 edac_mc_free(mci); in i3200_probe1()
449 struct mem_ctl_info *mci; in i3200_remove_one() local
455 if (!mci) in i3200_remove_one()
458 priv = mci->pvt_info; in i3200_remove_one()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmt6360_charger.c613 if (!mci->bc12_en) { in mt6360_pmu_attach_i_handler()
652 dev_dbg(mci->dev, "Received attach interrupt, chg_type = %d\n", mci->psy_usb_type); in mt6360_pmu_attach_i_handler()
673 mci->pwr_rdy = pwr_rdy; in mt6360_handle_chrdet_ext_evt()
686 mci->bc12_en = pwr_rdy; in mt6360_handle_chrdet_ext_evt()
791 mci = devm_kzalloc(&pdev->dev, sizeof(*mci), GFP_KERNEL); in mt6360_charger_probe()
792 if (!mci) in mt6360_charger_probe()
795 mci->dev = &pdev->dev; in mt6360_charger_probe()
796 mci->vinovp = 6500000; in mt6360_charger_probe()
808 if (!mci->regmap) in mt6360_charger_probe()
815 memcpy(&mci->psy_desc, &mt6360_charger_desc, sizeof(mci->psy_desc)); in mt6360_charger_probe()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_mci.c127 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_version_query() local
142 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_version_response() local
157 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_wlan_channels() local
173 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_bt_status_query() local
204 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_send_coex_halt_bt_gpm() local
227 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_prep_interface() local
293 if (mci->is_2g && !mci->update_2g5g && MCI_ANT_ARCH_PA_LNA_SHARED(mci)) { in ar9003_mci_prep_interface()
323 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_set_full_sleep() local
559 mci->bt_ver_major, mci->bt_ver_minor); in ar9003_mci_process_gpm_extra()
1526 if (mci->gpm_idx >= mci->gpm_len) in ar9003_mci_get_next_gpm_offset()
[all …]
H A Dmci.c104 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_adjust_aggr_limit() local
123 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_update_scheme() local
155 } else if (mci->num_pan || mci->num_other_acl) { in ath_mci_update_scheme()
259 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_set_concur_txprio() local
265 if (!mci->num_pan && !mci->num_other_acl) in ath_mci_set_concur_txprio()
302 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_profile() local
336 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_status() local
458 mci->gpm_buf.bf_addr = mci->sched_buf.bf_addr + mci->sched_buf.bf_len; in ath_mci_setup()
459 mci->gpm_buf.bf_paddr = mci->sched_buf.bf_paddr + mci->sched_buf.bf_len; in ath_mci_setup()
731 struct ath_mci_profile *mci = &btcoex->mci; in ath9k_mci_stomp_audio() local
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dgen_atmel_mci.c40 struct atmel_mci *mci; member
83 &mci->blkr); in mci_set_blklen()
85 writel(MMCI_BFINS(BLKLEN, blklen, readl(&mci->mr)), &mci->mr); in mci_set_blklen()
96 atmel_mci_t *mci = plat->mci; local
102 atmel_mci_t *mci = priv->mci;
245 atmel_mci_t *mci = plat->mci; local
251 atmel_mci_t *mci = priv->mci;
376 atmel_mci_t *mci = plat->mci; local
382 atmel_mci_t *mci = priv->mci;
426 atmel_mci_t *mci = plat->mci; local
[all …]
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-sx8.c36 struct mci mci; member
67 cmd.demod = state->mci.demod; in get_info()
108 cmd.demod = state->mci.demod; in read_status()
210 if (state->mci.nr < 4) in start()
211 i = state->mci.nr; in start()
213 i = state->mci.nr; in start()
256 state->mci.demod = i; in start()
278 state->mci.nr, state->mci.tuner, state->mci.demod); in start()
324 state->mci.demod = 0; in start_iq()
437 state->mci.tuner = input; in set_input()
[all …]

1234