/linux/drivers/edac/ |
A D | edac_mc.c | 64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() local 129 mci->nr_csrows, mci->csrows); in edac_mc_dump_mci() 131 mci->tot_dimms, mci->dimms); in edac_mc_dump_mci() 134 mci->mod_name, mci->ctl_name); in edac_mc_dump_mci() 283 csr->mci = mci; in edac_mc_alloc_csrows() 316 mci->dimms = kcalloc(mci->tot_dimms, sizeof(*mci->dimms), GFP_KERNEL); in edac_mc_alloc_dimms() 334 dimm->mci = mci; in edac_mc_alloc_dimms() 422 mci = edac_align_ptr(&ptr, sizeof(*mci), 1); in edac_mc_alloc() 550 mci->edac_check(mci); in edac_mc_workq_function() 736 mci->mod_name, mci->ctl_name, mci->dev_name, in edac_mc_add_mc_with_groups() [all …]
|
A D | ppc4xx_edac.c | 814 ppc4xx_edac_check(mci); in ppc4xx_edac_isr() 1020 mci->pdev = &op->dev; in ppc4xx_edac_mc_init() 1022 dev_set_drvdata(mci->pdev, mci); in ppc4xx_edac_mc_init() 1024 pdata = mci->pvt_info; in ppc4xx_edac_mc_init() 1117 mci); in ppc4xx_edac_register_irq() 1131 mci); in ppc4xx_edac_register_irq() 1150 free_irq(sec_irq, mci); in ppc4xx_edac_register_irq() 1153 free_irq(ded_irq, mci); in ppc4xx_edac_register_irq() 1283 if (mci == NULL) { in ppc4xx_edac_probe() 1327 edac_mc_free(mci); in ppc4xx_edac_probe() [all …]
|
A D | pasemi_edac.c | 132 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 …]
|
A D | amd76x_edac.c | 107 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 …]
|
A D | r82600_edac.c | 185 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 …]
|
A D | cell_edac.c | 158 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 …]
|
A D | octeon_edac-lmc.c | 227 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 …]
|
A D | fsl_ddr_edac.c | 365 mci->ctl_name, ""); in fsl_mc_check() 371 mci->ctl_name, ""); in fsl_mc_check() 386 fsl_mc_check(mci); in fsl_mc_isr() 478 struct mem_ctl_info *mci; in fsl_mc_err_probe() local 496 if (!mci) { in fsl_mc_err_probe() 501 pdata = mci->pvt_info; in fsl_mc_err_probe() 503 mci->pdev = &op->dev; in fsl_mc_err_probe() 505 dev_set_drvdata(mci->pdev, mci); in fsl_mc_err_probe() 561 fsl_ddr_init_csrows(mci); in fsl_mc_err_probe() 614 edac_mc_free(mci); in fsl_mc_err_probe() [all …]
|
A D | e7xxx_edac.c | 297 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 …]
|
A D | aspeed_edac.c | 283 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 …]
|
A D | i82443bxgx_edac.c | 125 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 …]
|
A D | i82860_edac.c | 69 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 …]
|
A D | bluefield_edac.c | 183 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 …]
|
A D | edac_mc_sysfs.c | 413 csrow->mci = mci; in edac_create_csrow_object() 439 err = edac_create_csrow_object(mci, mci->csrows[i], i); in edac_create_csrow_objects() 621 dimm->mci = mci; in edac_create_dimm_object() 628 if (mci->csbased) in edac_create_dimm_object() 667 mci->ue_mc = 0; in mci_reset_counters_store() 668 mci->ce_mc = 0; in mci_reset_counters_store() 711 new_bw = mci->set_sdram_scrub_rate(mci, bandwidth); in mci_sdram_scrub_rate_store() 731 bandwidth = mci->get_sdram_scrub_rate(mci); in mci_sdram_scrub_rate_show() 919 dev_set_name(&mci->dev, "mc%d", mci->mc_idx); in edac_create_sysfs_mci_device() 920 dev_set_drvdata(&mci->dev, mci); in edac_create_sysfs_mci_device() [all …]
|
A D | i5100_edac.c | 837 i5100_init_mtr(mci); in i5100_init_interleaving() 938 i5100_do_inject(mci); in inject_enable_write() 1053 if (!mci) { in i5100_init_one() 1073 mci->pdev = &pdev->dev; in i5100_init_one() 1075 priv = mci->pvt_info; in i5100_init_one() 1099 mci->ctl_name = "i5100"; in i5100_init_one() 1114 i5100_init_csrows(mci); in i5100_init_one() 1144 edac_mc_free(mci); in i5100_init_one() 1172 if (!mci) in i5100_remove_one() 1175 priv = mci->pvt_info; in i5100_remove_one() [all …]
|
A D | i82875p_edac.c | 191 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 …]
|
A D | x38_edac.c | 200 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 …]
|
A D | highbank_mc_edac.c | 55 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local 68 mci->ctl_name, ""); in highbank_mc_err_handler() 78 mci->ctl_name, ""); in highbank_mc_err_handler() 149 struct mem_ctl_info *mci; in highbank_mc_probe() local 170 if (!mci) in highbank_mc_probe() 173 mci->pdev = &pdev->dev; in highbank_mc_probe() 174 drvdata = mci->pvt_info; in highbank_mc_probe() 212 mci->mtype_cap = MEM_FLAG_DDR3; in highbank_mc_probe() 221 dimm = *mci->dimms; in highbank_mc_probe() 246 edac_mc_free(mci); in highbank_mc_probe() [all …]
|
A D | i82975x_edac.c | 243 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 …]
|
A D | cpc925_edac.c | 547 mci->ctl_name, ""); in cpc925_mc_check() 909 struct mem_ctl_info *mci; in cpc925_probe() local 956 if (!mci) { in cpc925_probe() 962 pdata = mci->pvt_info; in cpc925_probe() 967 mci->pdev = &pdev->dev; in cpc925_probe() 984 cpc925_init_csrows(mci); in cpc925_probe() 987 cpc925_mc_init(mci); in cpc925_probe() 1003 cpc925_mc_exit(mci); in cpc925_probe() 1004 edac_mc_free(mci); in cpc925_probe() 1022 cpc925_mc_exit(mci); in cpc925_remove() [all …]
|
A D | i3200_edac.c | 216 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 …]
|
/linux/drivers/power/supply/ |
A D | mt6360_charger.c | 616 if (!mci->bc12_en) { in mt6360_pmu_attach_i_handler() 655 dev_dbg(mci->dev, "Received attach interrupt, chg_type = %d\n", mci->psy_usb_type); in mt6360_pmu_attach_i_handler() 676 mci->pwr_rdy = pwr_rdy; in mt6360_handle_chrdet_ext_evt() 689 mci->bc12_en = pwr_rdy; in mt6360_handle_chrdet_ext_evt() 794 mci = devm_kzalloc(&pdev->dev, sizeof(*mci), GFP_KERNEL); in mt6360_charger_probe() 795 if (!mci) in mt6360_charger_probe() 798 mci->dev = &pdev->dev; in mt6360_charger_probe() 799 mci->vinovp = 6500000; in mt6360_charger_probe() 809 if (!mci->regmap) in mt6360_charger_probe() 816 memcpy(&mci->psy_desc, &mt6360_charger_desc, sizeof(mci->psy_desc)); in mt6360_charger_probe() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_mci.c | 127 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() 1527 if (mci->gpm_idx >= mci->gpm_len) in ar9003_mci_get_next_gpm_offset() [all …]
|
A D | mci.c | 104 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() 300 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_profile() local 334 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_status() local 456 mci->gpm_buf.bf_addr = mci->sched_buf.bf_addr + mci->sched_buf.bf_len; in ath_mci_setup() 457 mci->gpm_buf.bf_paddr = mci->sched_buf.bf_paddr + mci->sched_buf.bf_len; in ath_mci_setup() 729 struct ath_mci_profile *mci = &btcoex->mci; in ath9k_mci_stomp_audio() local [all …]
|
/linux/drivers/media/pci/ddbridge/ |
A D | ddbridge-sx8.c | 45 struct mci mci; member 76 cmd.demod = state->mci.demod; in get_info() 219 if (state->mci.nr < 4) in start() 220 i = state->mci.nr; in start() 222 i = state->mci.nr; in start() 265 state->mci.demod = i; in start() 287 state->mci.nr, state->mci.tuner, state->mci.demod); in start() 300 cmd.output = state->mci.nr; in start() 333 state->mci.demod = 0; in start_iq() 446 state->mci.tuner = input; in set_input() [all …]
|