Home
last modified time | relevance | path

Searched full:mci (Results 1 – 25 of 101) sorted by relevance

12345

/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c66 ath_dbg(common, MCI, in ar9003_mci_wait_for_interrupt()
67 "MCI Wait for Reg 0x%08x = 0x%08x timeout\n", in ar9003_mci_wait_for_interrupt()
69 ath_dbg(common, MCI, in ar9003_mci_wait_for_interrupt()
70 "MCI INT_RAW = 0x%08x, RX_MSG_RAW = 0x%08x\n", in ar9003_mci_wait_for_interrupt()
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()
[all …]
Dmci.c21 #include "mci.h"
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()
[all …]
/linux-6.12.1/drivers/power/supply/
Dmt6360_charger.c157 static int mt6360_get_chrdet_ext_stat(struct mt6360_chg_info *mci, in mt6360_get_chrdet_ext_stat() argument
163 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, &regval); in mt6360_get_chrdet_ext_stat()
170 static int mt6360_charger_get_online(struct mt6360_chg_info *mci, in mt6360_charger_get_online() argument
176 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_online()
183 static int mt6360_charger_get_status(struct mt6360_chg_info *mci, in mt6360_charger_get_status() argument
190 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_status()
198 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_status()
222 static int mt6360_charger_get_charge_type(struct mt6360_chg_info *mci, in mt6360_charger_get_charge_type() argument
229 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, &regval); in mt6360_charger_get_charge_type()
253 static int mt6360_charger_get_ichg(struct mt6360_chg_info *mci, in mt6360_charger_get_ichg() argument
[all …]
/linux-6.12.1/drivers/edac/
Dedac_mc.c64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() local
68 for (i = 0; i < mci->n_layers; i++) { in edac_dimm_info_location()
70 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location()
100 dimm->mci->csbased ? "rank" : "dimm", in edac_mc_dump_dimm()
117 edac_dbg(4, " csrow->mci = %p\n", csrow->mci); in edac_mc_dump_csrow()
120 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci() argument
122 edac_dbg(3, "\tmci = %p\n", mci); in edac_mc_dump_mci()
123 edac_dbg(3, "\tmci->mtype_cap = %lx\n", mci->mtype_cap); in edac_mc_dump_mci()
124 edac_dbg(3, "\tmci->edac_ctl_cap = %lx\n", mci->edac_ctl_cap); in edac_mc_dump_mci()
125 edac_dbg(3, "\tmci->edac_cap = %lx\n", mci->edac_cap); in edac_mc_dump_mci()
[all …]
Dpasemi_edac.c63 static u32 pasemi_edac_get_error_info(struct mem_ctl_info *mci) in pasemi_edac_get_error_info() argument
65 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_get_error_info()
84 static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) in pasemi_edac_process_error_info() argument
86 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_process_error_info()
101 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in pasemi_edac_process_error_info()
102 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info()
103 cs, 0, -1, mci->ctl_name, ""); in pasemi_edac_process_error_info()
108 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in pasemi_edac_process_error_info()
109 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info()
110 cs, 0, -1, mci->ctl_name, ""); in pasemi_edac_process_error_info()
[all …]
Dcell_edac.c34 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 …]
Docteon_edac-lmc.c38 static void octeon_lmc_edac_poll(struct mem_ctl_info *mci) in octeon_lmc_edac_poll() argument
44 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll()
47 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll()
55 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, 0, 0, 0, in octeon_lmc_edac_poll()
62 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in octeon_lmc_edac_poll()
68 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx), cfg0.u64); in octeon_lmc_edac_poll()
71 static void octeon_lmc_edac_poll_o2(struct mem_ctl_info *mci) in octeon_lmc_edac_poll_o2() argument
73 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_lmc_edac_poll_o2()
79 int_reg.u64 = cvmx_read_csr(CVMX_LMCX_INT(mci->mc_idx)); in octeon_lmc_edac_poll_o2()
91 fadr.u64 = cvmx_read_csr(CVMX_LMCX_FADR(mci->mc_idx)); in octeon_lmc_edac_poll_o2()
[all …]
Damd76x_edac.c27 #define amd76x_mc_printk(mci, level, fmt, arg...) \ argument
28 edac_mc_chipset_printk(mci, level, "amd76x", fmt, ##arg)
96 * @mci: Memory controller
102 static void amd76x_get_error_info(struct mem_ctl_info *mci, in amd76x_get_error_info() argument
107 pdev = to_pci_dev(mci->pdev); in amd76x_get_error_info()
122 * @mci: Memory controller
130 static int amd76x_process_error_info(struct mem_ctl_info *mci, in amd76x_process_error_info() argument
147 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in amd76x_process_error_info()
148 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info()
150 mci->ctl_name, ""); in amd76x_process_error_info()
[all …]
Daspeed_edac.c92 static void count_rec(struct mem_ctl_info *mci, u8 rec_cnt, u32 rec_addr) in count_rec() argument
94 struct csrow_info *csrow = mci->csrows[0]; in count_rec()
107 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, rec_cnt-1, in count_rec()
118 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in count_rec()
124 static void count_un_rec(struct mem_ctl_info *mci, u8 un_rec_cnt, in count_un_rec() argument
127 struct csrow_info *csrow = mci->csrows[0]; in count_un_rec()
139 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in count_un_rec()
150 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, un_rec_cnt-1, in count_un_rec()
159 struct mem_ctl_info *mci = arg; in mcr_isr() local
165 dev_dbg(mci->pdev, "received edac interrupt w/ mcr register 50: 0x%x\n", in mcr_isr()
[all …]
Dedac_mc_sysfs.c410 * Nothing to do, just unregister sysfs here. The mci in csrow_release()
426 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object() argument
435 csrow->dev.parent = &mci->dev; in edac_create_csrow_object()
436 csrow->mci = mci; in edac_create_csrow_object()
453 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects() argument
458 for (i = 0; i < mci->nr_csrows; i++) { in edac_create_csrow_objects()
459 csrow = mci->csrows[i]; in edac_create_csrow_objects()
462 err = edac_create_csrow_object(mci, mci->csrows[i], i); in edac_create_csrow_objects()
470 if (device_is_registered(&mci->csrows[i]->dev)) in edac_create_csrow_objects()
471 device_unregister(&mci->csrows[i]->dev); in edac_create_csrow_objects()
[all …]
Dfsl_ddr_edac.c60 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_show() local
61 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_hi_show()
70 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_show() local
71 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_lo_show()
80 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_ctrl_show() local
81 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_ctrl_show()
90 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_hi_store() local
91 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_hi_store()
110 struct mem_ctl_info *mci = to_mci(dev); in fsl_mc_inject_data_lo_store() local
111 struct fsl_mc_pdata *pdata = mci->pvt_info; in fsl_mc_inject_data_lo_store()
[all …]
Dbluefield_edac.c93 static void bluefield_gather_report_ecc(struct mem_ctl_info *mci, in bluefield_gather_report_ecc() argument
97 struct bluefield_edac_priv *priv = mci->pvt_info; in bluefield_gather_report_ecc()
125 edac_mc_handle_error(ecc_type, mci, error_cnt, 0, 0, 0, in bluefield_gather_report_ecc()
126 0, 0, -1, mci->ctl_name, ""); in bluefield_gather_report_ecc()
140 edac_mc_handle_error(ecc_type, mci, error_cnt, in bluefield_gather_report_ecc()
143 syndrom, ecc_dimm, 0, 0, mci->ctl_name, ""); in bluefield_gather_report_ecc()
146 static void bluefield_edac_check(struct mem_ctl_info *mci) in bluefield_edac_check() argument
148 struct bluefield_edac_priv *priv = mci->pvt_info; in bluefield_edac_check()
155 if (mci->edac_cap == EDAC_FLAG_NONE) in bluefield_edac_check()
165 bluefield_gather_report_ecc(mci, single_error_count, 1); in bluefield_edac_check()
[all …]
De7xxx_edac.c40 #define e7xxx_mc_printk(mci, level, fmt, arg...) \ argument
41 edac_mc_chipset_printk(mci, level, "e7xxx", fmt, ##arg)
182 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() argument
186 struct e7xxx_pvt *pvt = (struct e7xxx_pvt *)mci->pvt_info; in ctl_page_to_phys()
203 static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ce() argument
218 row = edac_mc_find_csrow_by_page(mci, page); in process_ce()
221 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, page, 0, syndrome, in process_ce()
225 static void process_ce_no_info(struct mem_ctl_info *mci) in process_ce_no_info() argument
228 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, 0, 0, 0, -1, -1, -1, in process_ce_no_info()
232 static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ue() argument
[all …]
Di82860_edac.c24 #define i82860_mc_printk(mci, level, fmt, arg...) \ argument
25 edac_mc_chipset_printk(mci, level, "i82860", fmt, ##arg)
64 static void i82860_get_error_info(struct mem_ctl_info *mci, in i82860_get_error_info() argument
69 pdev = to_pci_dev(mci->pdev); in i82860_get_error_info()
97 static int i82860_process_error_info(struct mem_ctl_info *mci, in i82860_process_error_info() argument
111 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82860_process_error_info()
117 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82860_process_error_info()
118 dimm = mci->csrows[row]->channels[0]->dimm; in i82860_process_error_info()
121 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82860_process_error_info()
126 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82860_process_error_info()
[all …]
Dr82600_edac.c30 #define r82600_mc_printk(mci, level, fmt, arg...) \ argument
31 edac_mc_chipset_printk(mci, level, "r82600", fmt, ##arg)
137 static void r82600_get_error_info(struct mem_ctl_info *mci, in r82600_get_error_info() argument
142 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info()
158 static int r82600_process_error_info(struct mem_ctl_info *mci, in r82600_process_error_info() argument
181 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in r82600_process_error_info()
183 edac_mc_find_csrow_by_page(mci, page), in r82600_process_error_info()
185 mci->ctl_name, ""); in r82600_process_error_info()
193 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in r82600_process_error_info()
195 edac_mc_find_csrow_by_page(mci, page), in r82600_process_error_info()
[all …]
Dhighbank_mc_edac.c56 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local
57 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler()
65 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in highbank_mc_err_handler()
69 mci->ctl_name, ""); in highbank_mc_err_handler()
75 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in highbank_mc_err_handler()
79 mci->ctl_name, ""); in highbank_mc_err_handler()
87 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() argument
89 struct hb_mc_drvdata *pdata = mci->pvt_info; in highbank_mc_err_inject()
103 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local
109 highbank_mc_err_inject(mci, synd); in highbank_mc_inject_ctrl()
[all …]
Dal_mc_edac.c74 static int handle_ce(struct mem_ctl_info *mci) in handle_ce() argument
77 struct al_mc_edac *al_mc = mci->pvt_info; in handle_ce()
97 dev_dbg(mci->pdev, "eccuaddr0=0x%08x eccuaddr1=0x%08x\n", in handle_ce()
112 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, in handle_ce()
113 ce_count, 0, 0, 0, 0, 0, -1, mci->ctl_name, msg); in handle_ce()
119 static int handle_ue(struct mem_ctl_info *mci) in handle_ue() argument
122 struct al_mc_edac *al_mc = mci->pvt_info; in handle_ue()
142 dev_dbg(mci->pdev, "eccuaddr0=0x%08x eccuaddr1=0x%08x\n", in handle_ue()
157 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, in handle_ue()
158 ue_count, 0, 0, 0, 0, 0, -1, mci->ctl_name, msg); in handle_ue()
[all …]
Ddebugfs.c11 struct mem_ctl_info *mci = to_mci(dev); in edac_fake_inject_write() local
13 u16 errcount = mci->fake_inject_count; in edac_fake_inject_write()
18 type = mci->fake_inject_ue ? HW_EVENT_ERR_UNCORRECTED 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()
30 edac_mc_handle_error(type, mci, errcount, 0, 0, 0, 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()
[all …]
Ddmc520_edac.c165 * error_lock is to protect concurrent writes to the mci->error_desc through
365 static void dmc520_handle_dram_ecc_errors(struct mem_ctl_info *mci, in dmc520_handle_dram_ecc_errors() argument
368 struct dmc520_edac *pvt = mci->pvt_info; in dmc520_handle_dram_ecc_errors()
387 mci, cnt, 0, 0, 0, info.rank, -1, -1, in dmc520_handle_dram_ecc_errors()
392 static irqreturn_t dmc520_edac_dram_ecc_isr(int irq, struct mem_ctl_info *mci, in dmc520_edac_dram_ecc_isr() argument
395 struct dmc520_edac *pvt = mci->pvt_info; in dmc520_edac_dram_ecc_isr()
400 dmc520_handle_dram_ecc_errors(mci, is_ce); in dmc520_edac_dram_ecc_isr()
407 static irqreturn_t dmc520_edac_dram_all_isr(int irq, struct mem_ctl_info *mci, in dmc520_edac_dram_all_isr() argument
410 struct dmc520_edac *pvt = mci->pvt_info; in dmc520_edac_dram_all_isr()
418 irq_ret = dmc520_edac_dram_ecc_isr(irq, mci, true); in dmc520_edac_dram_all_isr()
[all …]
Di82443bxgx_edac.c120 static void i82443bxgx_edacmc_get_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_get_error_info() argument
125 pdev = to_pci_dev(mci->pdev); in i82443bxgx_edacmc_get_error_info()
140 static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_process_error_info() argument
157 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82443bxgx_edacmc_process_error_info()
159 edac_mc_find_csrow_by_page(mci, page), in i82443bxgx_edacmc_process_error_info()
160 0, -1, mci->ctl_name, ""); in i82443bxgx_edacmc_process_error_info()
166 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82443bxgx_edacmc_process_error_info()
168 edac_mc_find_csrow_by_page(mci, page), in i82443bxgx_edacmc_process_error_info()
169 0, -1, mci->ctl_name, ""); in i82443bxgx_edacmc_process_error_info()
175 static void i82443bxgx_edacmc_check(struct mem_ctl_info *mci) in i82443bxgx_edacmc_check() argument
[all …]
Dx38_edac.c150 static void x38_clear_error_info(struct mem_ctl_info *mci) in x38_clear_error_info() argument
154 pdev = to_pci_dev(mci->pdev); in x38_clear_error_info()
164 static void x38_get_and_clear_error_info(struct mem_ctl_info *mci, in x38_get_and_clear_error_info() argument
168 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info()
170 pdev = to_pci_dev(mci->pdev); in x38_get_and_clear_error_info()
200 x38_clear_error_info(mci); in x38_get_and_clear_error_info()
203 static void x38_process_error_info(struct mem_ctl_info *mci, in x38_process_error_info() argument
213 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in x38_process_error_info()
222 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in x38_process_error_info()
228 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in x38_process_error_info()
[all …]
Dti_edac.c94 struct mem_ctl_info *mci = data; in ti_edac_isr() local
95 struct ti_edac *edac = mci->pvt_info; in ti_edac_isr()
106 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, err_count, in ti_edac_isr()
109 mci->ctl_name, "1B"); in ti_edac_isr()
114 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in ti_edac_isr()
117 mci->ctl_name, "2B"); in ti_edac_isr()
121 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in ti_edac_isr()
123 mci->ctl_name, "WR"); in ti_edac_isr()
130 static void ti_edac_setup_dimm(struct mem_ctl_info *mci, u32 type) in ti_edac_setup_dimm() argument
133 struct ti_edac *edac = mci->pvt_info; in ti_edac_setup_dimm()
[all …]
Di3200_edac.c166 static void i3200_clear_error_info(struct mem_ctl_info *mci) in i3200_clear_error_info() argument
170 pdev = to_pci_dev(mci->pdev); in i3200_clear_error_info()
180 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info() argument
184 struct i3200_priv *priv = mci->pvt_info; in i3200_get_and_clear_error_info()
187 pdev = to_pci_dev(mci->pdev); in i3200_get_and_clear_error_info()
216 i3200_clear_error_info(mci); in i3200_get_and_clear_error_info()
219 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info() argument
229 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i3200_process_error_info()
237 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i3200_process_error_info()
243 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i3200_process_error_info()
[all …]
Di5100_edac.c356 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot() argument
359 const struct i5100_priv *priv = mci->pvt_info; in i5100_rank_to_slot()
410 static unsigned int i5100_csrow_to_rank(const struct mem_ctl_info *mci, in i5100_csrow_to_rank() argument
413 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_rank()
419 static unsigned int i5100_csrow_to_chan(const struct mem_ctl_info *mci, in i5100_csrow_to_chan() argument
422 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_chan()
427 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() argument
443 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i5100_handle_ce()
449 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() argument
465 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i5100_handle_ue()
[all …]
/linux-6.12.1/drivers/media/pci/ddbridge/
Dddbridge-sx8.c12 #include "ddbridge-mci.h"
36 struct mci mci; member
49 struct mci_base *mci_base = state->mci.base; in release()
67 cmd.demod = state->mci.demod; in get_info()
68 stat = ddb_mci_cmd(&state->mci, &cmd, &state->signal_info); in get_info()
108 cmd.demod = state->mci.demod; in read_status()
109 stat = ddb_mci_cmd(&state->mci, &cmd, &res); in read_status()
127 struct mci_base *mci_base = state->mci.base; in mci_set_tuner()
132 cmd.tuner = state->mci.tuner; in mci_set_tuner()
134 cmd.sx8_input_enable.flags = sx8_base->gain_mode[state->mci.tuner]; in mci_set_tuner()
[all …]

12345