Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
102 dimm->mci->csbased ? "rank" : "dimm", in edac_mc_dump_dimm()
120 edac_dbg(4, " csrow->mci = %p\n", csrow->mci); in edac_mc_dump_csrow()
123 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci() argument
125 edac_dbg(3, "\tmci = %p\n", mci); in edac_mc_dump_mci()
126 edac_dbg(3, "\tmci->mtype_cap = %lx\n", mci->mtype_cap); in edac_mc_dump_mci()
127 edac_dbg(3, "\tmci->edac_ctl_cap = %lx\n", mci->edac_ctl_cap); in edac_mc_dump_mci()
128 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 …]
Dppc4xx_edac.c124 #define ppc4xx_edac_mc_printk(level, mci, fmt, arg...) \ argument
125 edac_mc_chipset_printk(mci, level, "PPC4xx", fmt, ##arg)
311 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message() argument
319 n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); in ppc4xx_edac_generate_bank_message()
328 for (rows = 0, row = 0; row < mci->nr_csrows; row++) { in ppc4xx_edac_generate_bank_message()
373 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message() argument
378 const struct ppc4xx_edac_pdata *pdata = mci->pvt_info; in ppc4xx_edac_generate_checkbit_message()
431 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_lane_message() argument
496 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_ecc_message() argument
503 n = ppc4xx_edac_generate_bank_message(mci, status, buffer, size); in ppc4xx_edac_generate_ecc_message()
[all …]
Damd76x_edac.c27 #define amd76x_mc_printk(mci, level, fmt, arg...) \ argument
28 edac_mc_chipset_printk(mci, level, "amd76x", fmt, ##arg)
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()
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()
162 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in amd76x_process_error_info()
163 mci->csrows[row]->first_page, 0, 0, in amd76x_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 …]
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 …]
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 …]
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 …]
Dfsl_ddr_edac.c63 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 …]
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 …]
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 …]
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 …]
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 …]
Di82875p_edac.c28 #define i82875p_mc_printk(mci, level, fmt, arg...) \ argument
29 edac_mc_chipset_printk(mci, level, "i82875p", fmt, ##arg)
186 static void i82875p_get_error_info(struct mem_ctl_info *mci, in i82875p_get_error_info() argument
191 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info()
223 static int i82875p_process_error_info(struct mem_ctl_info *mci, in i82875p_process_error_info() argument
229 multi_chan = mci->csrows[0]->nr_channels - 1; in i82875p_process_error_info()
238 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82875p_process_error_info()
245 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82875p_process_error_info()
248 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82875p_process_error_info()
253 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82875p_process_error_info()
[all …]
Dhighbank_mc_edac.c55 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local
56 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler()
64 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in highbank_mc_err_handler()
68 mci->ctl_name, ""); in highbank_mc_err_handler()
74 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in highbank_mc_err_handler()
78 mci->ctl_name, ""); in highbank_mc_err_handler()
86 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() argument
88 struct hb_mc_drvdata *pdata = mci->pvt_info; in highbank_mc_err_inject()
102 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local
108 highbank_mc_err_inject(mci, synd); in highbank_mc_inject_ctrl()
[all …]
Di82975x_edac.c24 #define i82975x_mc_printk(mci, level, fmt, arg...) \ argument
25 edac_mc_chipset_printk(mci, level, "i82975x", fmt, ##arg)
238 static void i82975x_get_error_info(struct mem_ctl_info *mci, in i82975x_get_error_info() argument
243 pdev = to_pci_dev(mci->pdev); in i82975x_get_error_info()
277 static int i82975x_process_error_info(struct mem_ctl_info *mci, in i82975x_process_error_info() argument
290 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82975x_process_error_info()
300 row = edac_mc_find_csrow_by_page(mci, page); in i82975x_process_error_info()
303 i82975x_mc_printk(mci, KERN_ERR, "error processing EAP:\n" in i82975x_process_error_info()
310 chan = (mci->csrows[row]->nr_channels == 1) ? 0 : info->eap & 1; in i82975x_process_error_info()
313 (1 << mci->csrows[row]->channels[chan]->dimm->grain)); in i82975x_process_error_info()
[all …]
Dedac_mc_sysfs.c403 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object() argument
412 csrow->dev.parent = &mci->dev; in edac_create_csrow_object()
413 csrow->mci = mci; in edac_create_csrow_object()
430 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects() argument
435 for (i = 0; i < mci->nr_csrows; i++) { in edac_create_csrow_objects()
436 csrow = mci->csrows[i]; in edac_create_csrow_objects()
439 err = edac_create_csrow_object(mci, mci->csrows[i], i); in edac_create_csrow_objects()
447 if (device_is_registered(&mci->csrows[i]->dev)) in edac_create_csrow_objects()
448 device_unregister(&mci->csrows[i]->dev); in edac_create_csrow_objects()
454 static void edac_delete_csrow_objects(struct mem_ctl_info *mci) in edac_delete_csrow_objects() argument
[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.c361 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot() argument
364 const struct i5100_priv *priv = mci->pvt_info; in i5100_rank_to_slot()
415 static unsigned int i5100_csrow_to_rank(const struct mem_ctl_info *mci, in i5100_csrow_to_rank() argument
418 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_rank()
424 static unsigned int i5100_csrow_to_chan(const struct mem_ctl_info *mci, in i5100_csrow_to_chan() argument
427 const struct i5100_priv *priv = mci->pvt_info; in i5100_csrow_to_chan()
432 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() argument
448 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i5100_handle_ce()
454 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() argument
470 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i5100_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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c127 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 …]
Dmci.c26 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 …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Dnmi.c190 static int notrace s390_check_registers(union mci mci, int umode) in s390_check_registers() argument
197 if (!mci.gr) { in s390_check_registers()
207 if (!mci.cr) { in s390_check_registers()
214 if (!mci.fp) { in s390_check_registers()
226 if (!mci.fc) { in s390_check_registers()
241 if (!mci.vr) { in s390_check_registers()
255 if (!mci.ar) { in s390_check_registers()
265 if (!mci.gs) { in s390_check_registers()
275 if (!mci.wp) { in s390_check_registers()
283 if (!mci.ia && !umode) { in s390_check_registers()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-sx8.c45 struct mci mci; member
58 struct mci_base *mci_base = state->mci.base; in release()
76 cmd.demod = state->mci.demod; in get_info()
77 stat = ddb_mci_cmd(&state->mci, &cmd, &state->signal_info); in get_info()
117 cmd.demod = state->mci.demod; in read_status()
118 stat = ddb_mci_cmd(&state->mci, &cmd, &res); in read_status()
136 struct mci_base *mci_base = state->mci.base; in mci_set_tuner()
141 cmd.tuner = state->mci.tuner; in mci_set_tuner()
143 cmd.sx8_input_enable.flags = sx8_base->gain_mode[state->mci.tuner]; in mci_set_tuner()
144 return ddb_mci_cmd(&state->mci, &cmd, NULL); in mci_set_tuner()
[all …]

1234