/kernel/linux/linux-5.10/drivers/edac/ |
H A D | edac_mc.c | 64 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 in edac_mc_dump_mci() 223 _edac_mc_free(struct mem_ctl_info *mci) _edac_mc_free() argument 230 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); mci_release() local 258 edac_mc_alloc_csrows(struct mem_ctl_info *mci) edac_mc_alloc_csrows() argument 303 edac_mc_alloc_dimms(struct mem_ctl_info *mci) edac_mc_alloc_dimms() argument 391 struct mem_ctl_info *mci; edac_mc_alloc() local 474 edac_mc_free(struct mem_ctl_info *mci) edac_mc_free() argument 499 struct mem_ctl_info *mci; __find_mci_by_dev() local 540 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); edac_mc_workq_function() local 566 struct mem_ctl_info *mci; edac_mc_reset_delay_period() local 590 add_mc_to_global_list(struct mem_ctl_info *mci) add_mc_to_global_list() argument 629 del_mc_from_global_list(struct mem_ctl_info *mci) del_mc_from_global_list() argument 644 struct mem_ctl_info *mci; edac_mc_find() local 669 edac_mc_add_mc_with_groups(struct mem_ctl_info *mci, const struct attribute_group **groups) edac_mc_add_mc_with_groups() argument 755 struct mem_ctl_info *mci; edac_mc_del_mc() local 822 edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) edac_mc_find_csrow_by_page() argument 875 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_ce_error() local 889 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_ue_error() local 902 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_ce_error() local 940 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_ue_error() local 968 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_csrow() local 988 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_raw_mc_handle_error() local 1012 edac_mc_handle_error(const enum hw_event_mc_err_type type, struct mem_ctl_info *mci, const u16 error_count, const unsigned long page_frame_number, const unsigned long offset_in_page, const unsigned long syndrome, const int top_layer, const int mid_layer, const int low_layer, const char *msg, const char *other_detail) edac_mc_handle_error() argument [all...] |
H A D | ppc4xx_edac.c | 124 #define ppc4xx_edac_mc_printk(level, mci, fmt, arg...) \ 125 edac_mc_chipset_printk(mci, level, "PPC4xx", fmt, ##arg) 295 * @mci: A pointer to the EDAC memory controller instance associated 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() 357 * @mci: A pointer to the EDAC memory controller instance associated 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() 415 * @mci 431 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_lane_message() argument 496 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_ecc_message() argument 552 ppc4xx_edac_generate_plb_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_plb_message() argument 593 ppc4xx_edac_generate_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_message() argument 626 ppc4xx_ecc_dump_status(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_ecc_dump_status() argument 663 ppc4xx_ecc_get_status(const struct mem_ctl_info *mci, struct ppc4xx_ecc_status *status) ppc4xx_ecc_get_status() argument 688 ppc4xx_ecc_clear_status(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_ecc_clear_status() argument 715 ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_edac_handle_ce() argument 743 ppc4xx_edac_handle_ue(struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_edac_handle_ue() argument 773 ppc4xx_edac_check(struct mem_ctl_info *mci) ppc4xx_edac_check() argument 812 struct mem_ctl_info *mci = dev_id; ppc4xx_edac_isr() local 889 ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1) ppc4xx_edac_init_csrows() argument 1006 ppc4xx_edac_mc_init(struct mem_ctl_info *mci, struct platform_device *op, const dcr_host_t *dcr_host, u32 mcopt1) ppc4xx_edac_mc_init() argument 1095 ppc4xx_edac_register_irq(struct platform_device *op, struct mem_ctl_info *mci) ppc4xx_edac_register_irq() argument 1228 struct mem_ctl_info *mci = NULL; ppc4xx_edac_probe() local 1348 struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); ppc4xx_edac_remove() local [all...] |
H A D | pasemi_edac.c | 63 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 in pasemi_edac_process_error_info() 113 pasemi_edac_check(struct mem_ctl_info *mci) pasemi_edac_check() argument 122 pasemi_edac_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode) pasemi_edac_init_csrows() argument 182 struct mem_ctl_info *mci = NULL; pasemi_edac_probe() local 259 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); pasemi_edac_remove() local [all...] |
H A D | amd76x_edac.c | 27 #define amd76x_mc_printk(mci, level, fmt, arg...) \ 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 in amd76x_process_error_info() 179 amd76x_check(struct mem_ctl_info *mci) amd76x_check() argument 187 amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode) amd76x_init_csrows() argument 237 struct mem_ctl_info *mci; amd76x_probe1() local 321 struct mem_ctl_info *mci; amd76x_remove_one() local [all...] |
H A D | octeon_edac-lmc.c | 38 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 in octeon_lmc_edac_poll_o2() 172 struct mem_ctl_info *mci = to_mci(dev); octeon_mc_inject_error_type_store() local 187 struct mem_ctl_info *mci = to_mci(dev); octeon_mc_inject_error_type_show() local 227 struct mem_ctl_info *mci; octeon_lmc_edac_probe() local 307 struct mem_ctl_info *mci = platform_get_drvdata(pdev); octeon_lmc_edac_remove() local [all...] |
H A 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 in fsl_mc_inject_data_lo_store() 133 struct mem_ctl_info *mci = to_mci(dev); fsl_mc_inject_ctrl_store() local 277 fsl_mc_check(struct mem_ctl_info *mci) fsl_mc_check() argument 378 struct mem_ctl_info *mci = dev_id; fsl_mc_isr() local 391 fsl_ddr_init_csrows(struct mem_ctl_info *mci) fsl_ddr_init_csrows() argument 478 struct mem_ctl_info *mci; fsl_mc_err_probe() local 620 struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); fsl_mc_err_remove() local [all...] |
H A D | aspeed_edac.c | 92 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 in mcr_isr() 231 init_csrows(struct mem_ctl_info *mci) init_csrows() argument 283 struct mem_ctl_info *mci; aspeed_probe() local 362 struct mem_ctl_info *mci; aspeed_remove() local [all...] |
H A D | i82443bxgx_edac.c | 120 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 184 i82443bxgx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode, enum mem_type mtype) i82443bxgx_init_csrows() argument 234 struct mem_ctl_info *mci; i82443bxgx_edacmc_probe1() local 369 struct mem_ctl_info *mci; i82443bxgx_edacmc_remove_one() local [all...] |
H A 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, in cell_edac_count_ue() 79 cell_edac_check(struct mem_ctl_info *mci) cell_edac_check() argument 128 cell_edac_init_csrows(struct mem_ctl_info *mci) cell_edac_init_csrows() argument 171 struct mem_ctl_info *mci; cell_edac_probe() local 239 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); cell_edac_remove() local [all...] |
H A D | r82600_edac.c | 30 #define r82600_mc_printk(mci, level, fmt, arg...) \ 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, pag in r82600_process_error_info() 203 r82600_check(struct mem_ctl_info *mci) r82600_check() argument 217 r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, u8 dramcr) r82600_init_csrows() argument 271 struct mem_ctl_info *mci; r82600_probe1() local 371 struct mem_ctl_info *mci; r82600_remove_one() local [all...] |
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | edac_mc.c | 64 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 in edac_mc_dump_mci() 172 _edac_mc_free(struct mem_ctl_info *mci) _edac_mc_free() argument 179 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); mci_release() local 209 edac_mc_alloc_csrows(struct mem_ctl_info *mci) edac_mc_alloc_csrows() argument 254 edac_mc_alloc_dimms(struct mem_ctl_info *mci) edac_mc_alloc_dimms() argument 339 struct mem_ctl_info *mci; edac_mc_alloc() local 405 edac_mc_free(struct mem_ctl_info *mci) edac_mc_free() argument 430 struct mem_ctl_info *mci; __find_mci_by_dev() local 471 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); edac_mc_workq_function() local 497 struct mem_ctl_info *mci; edac_mc_reset_delay_period() local 521 add_mc_to_global_list(struct mem_ctl_info *mci) add_mc_to_global_list() argument 560 del_mc_from_global_list(struct mem_ctl_info *mci) del_mc_from_global_list() argument 575 struct mem_ctl_info *mci; edac_mc_find() local 600 edac_mc_add_mc_with_groups(struct mem_ctl_info *mci, const struct attribute_group **groups) edac_mc_add_mc_with_groups() argument 686 struct mem_ctl_info *mci; edac_mc_del_mc() local 753 edac_mc_find_csrow_by_page(struct mem_ctl_info *mci, unsigned long page) edac_mc_find_csrow_by_page() argument 806 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_ce_error() local 820 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_ue_error() local 833 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_ce_error() local 871 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_ue_error() local 899 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_inc_csrow() local 919 struct mem_ctl_info *mci = error_desc_to_mci(e); edac_raw_mc_handle_error() local 943 edac_mc_handle_error(const enum hw_event_mc_err_type type, struct mem_ctl_info *mci, const u16 error_count, const unsigned long page_frame_number, const unsigned long offset_in_page, const unsigned long syndrome, const int top_layer, const int mid_layer, const int low_layer, const char *msg, const char *other_detail) edac_mc_handle_error() argument [all...] |
H A D | ppc4xx_edac.c | 125 #define ppc4xx_edac_mc_printk(level, mci, fmt, arg...) \ 126 edac_mc_chipset_printk(mci, level, "PPC4xx", fmt, ##arg) 282 * @mci: A pointer to the EDAC memory controller instance associated 298 ppc4xx_edac_generate_bank_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_bank_message() argument 306 n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); in ppc4xx_edac_generate_bank_message() 315 for (rows = 0, row = 0; row < mci->nr_csrows; row++) { in ppc4xx_edac_generate_bank_message() 344 * @mci: A pointer to the EDAC memory controller instance associated 360 ppc4xx_edac_generate_checkbit_message(const struct mem_ctl_info *mci, in ppc4xx_edac_generate_checkbit_message() argument 365 const struct ppc4xx_edac_pdata *pdata = mci->pvt_info; in ppc4xx_edac_generate_checkbit_message() 402 * @mci 418 ppc4xx_edac_generate_lane_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_lane_message() argument 483 ppc4xx_edac_generate_ecc_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_ecc_message() argument 539 ppc4xx_edac_generate_plb_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_plb_message() argument 580 ppc4xx_edac_generate_message(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status, char *buffer, size_t size) ppc4xx_edac_generate_message() argument 613 ppc4xx_ecc_dump_status(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_ecc_dump_status() argument 650 ppc4xx_ecc_get_status(const struct mem_ctl_info *mci, struct ppc4xx_ecc_status *status) ppc4xx_ecc_get_status() argument 675 ppc4xx_ecc_clear_status(const struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_ecc_clear_status() argument 702 ppc4xx_edac_handle_ce(struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_edac_handle_ce() argument 730 ppc4xx_edac_handle_ue(struct mem_ctl_info *mci, const struct ppc4xx_ecc_status *status) ppc4xx_edac_handle_ue() argument 760 ppc4xx_edac_check(struct mem_ctl_info *mci) ppc4xx_edac_check() argument 799 struct mem_ctl_info *mci = dev_id; ppc4xx_edac_isr() local 876 ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1) ppc4xx_edac_init_csrows() argument 993 ppc4xx_edac_mc_init(struct mem_ctl_info *mci, struct platform_device *op, const dcr_host_t *dcr_host, u32 mcopt1) ppc4xx_edac_mc_init() argument 1082 ppc4xx_edac_register_irq(struct platform_device *op, struct mem_ctl_info *mci) ppc4xx_edac_register_irq() argument 1215 struct mem_ctl_info *mci = NULL; ppc4xx_edac_probe() local 1335 struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); ppc4xx_edac_remove() local [all...] |
H A D | pasemi_edac.c | 63 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 in pasemi_edac_process_error_info() 113 pasemi_edac_check(struct mem_ctl_info *mci) pasemi_edac_check() argument 122 pasemi_edac_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode) pasemi_edac_init_csrows() argument 182 struct mem_ctl_info *mci = NULL; pasemi_edac_probe() local 259 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); pasemi_edac_remove() local [all...] |
H A D | amd76x_edac.c | 27 #define amd76x_mc_printk(mci, level, fmt, arg...) \ 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 in amd76x_process_error_info() 179 amd76x_check(struct mem_ctl_info *mci) amd76x_check() argument 186 amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode) amd76x_init_csrows() argument 236 struct mem_ctl_info *mci; amd76x_probe1() local 320 struct mem_ctl_info *mci; amd76x_remove_one() local [all...] |
H A D | octeon_edac-lmc.c | 38 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 in octeon_lmc_edac_poll_o2() 172 struct mem_ctl_info *mci = to_mci(dev); octeon_mc_inject_error_type_store() local 187 struct mem_ctl_info *mci = to_mci(dev); octeon_mc_inject_error_type_show() local 227 struct mem_ctl_info *mci; octeon_lmc_edac_probe() local 307 struct mem_ctl_info *mci = platform_get_drvdata(pdev); octeon_lmc_edac_remove() local [all...] |
H A D | fsl_ddr_edac.c | 60 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 in fsl_mc_inject_data_lo_store() 130 struct mem_ctl_info *mci = to_mci(dev); fsl_mc_inject_ctrl_store() local 274 fsl_mc_check(struct mem_ctl_info *mci) fsl_mc_check() argument 375 struct mem_ctl_info *mci = dev_id; fsl_mc_isr() local 388 fsl_ddr_init_csrows(struct mem_ctl_info *mci) fsl_ddr_init_csrows() argument 475 struct mem_ctl_info *mci; fsl_mc_err_probe() local 617 struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); fsl_mc_err_remove() local [all...] |
H A D | aspeed_edac.c | 92 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 in mcr_isr() 231 init_csrows(struct mem_ctl_info *mci) init_csrows() argument 283 struct mem_ctl_info *mci; aspeed_probe() local 362 struct mem_ctl_info *mci; aspeed_remove() local [all...] |
H A 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, in cell_edac_count_ue() 79 cell_edac_check(struct mem_ctl_info *mci) cell_edac_check() argument 128 cell_edac_init_csrows(struct mem_ctl_info *mci) cell_edac_init_csrows() argument 171 struct mem_ctl_info *mci; cell_edac_probe() local 239 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); cell_edac_remove() local [all...] |
H A D | i82443bxgx_edac.c | 120 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 183 i82443bxgx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode, enum mem_type mtype) i82443bxgx_init_csrows() argument 233 struct mem_ctl_info *mci; i82443bxgx_edacmc_probe1() local 368 struct mem_ctl_info *mci; i82443bxgx_edacmc_remove_one() local [all...] |
H A D | r82600_edac.c | 30 #define r82600_mc_printk(mci, level, fmt, arg...) \ 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, pag in r82600_process_error_info() 203 r82600_check(struct mem_ctl_info *mci) r82600_check() argument 216 r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, u8 dramcr) r82600_init_csrows() argument 270 struct mem_ctl_info *mci; r82600_probe1() local 370 struct mem_ctl_info *mci; r82600_remove_one() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A 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 173 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_coex_bt_status_query() local 204 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_coex_halt_bt_gpm() local 227 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_prep_interface() local 323 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_set_full_sleep() local 358 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_interrupt() local 372 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_isr() local 396 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_2g5g_changed() local 407 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_is_gpm_valid() local 427 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_observation_set_up() local 498 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_sync_bt_state() local 540 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_process_gpm_extra() local 587 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_wait_for_gpm() local 788 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_mute_bt() local 816 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_osla_setup() local 847 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_stat_setup() local 923 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_reset() local 1057 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_2g5g_status() local 1084 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_queue_unsent_gpm() local 1132 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_2g5g_switch() local 1171 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_message() local 1271 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_setup() local 1292 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_state() local 1407 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_bt_gain_ctrl() local 1460 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_check_gpm_offset() local 1478 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_next_gpm_offset() local 1553 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_set_bt_version() local 1565 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_wlan_channels() local [all...] |
H A D | mci.c | 21 #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() 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 in ath_mci_add_profile() 41 ath_mci_add_profile(struct ath_common *common, struct ath_mci_profile *mci, struct ath_mci_profile_info *info) ath_mci_add_profile() argument 73 ath_mci_del_profile(struct ath_common *common, struct ath_mci_profile *mci, struct ath_mci_profile_info *entry) ath_mci_del_profile() argument 85 ath_mci_flush_profile(struct ath_mci_profile *mci) ath_mci_flush_profile() argument 104 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_adjust_aggr_limit() local 123 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_update_scheme() local 259 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_set_concur_txprio() local 300 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_process_profile() local 334 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_process_status() local 437 struct ath_mci_coex *mci = &sc->mci_coex; ath_mci_setup() local 485 struct ath_mci_coex *mci = &sc->mci_coex; ath_mci_intr() local 645 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ath9k_mci_update_wlan_channels() local 729 struct ath_mci_profile *mci = &btcoex->mci; ath9k_mci_stomp_audio() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A 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 173 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_coex_bt_status_query() local 204 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_coex_halt_bt_gpm() local 227 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_prep_interface() local 323 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_set_full_sleep() local 358 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_interrupt() local 372 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_isr() local 396 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_2g5g_changed() local 407 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_is_gpm_valid() local 427 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_observation_set_up() local 498 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_sync_bt_state() local 540 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_process_gpm_extra() local 587 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_wait_for_gpm() local 787 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_mute_bt() local 815 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_osla_setup() local 846 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_stat_setup() local 922 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_reset() local 1056 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_2g5g_status() local 1083 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_queue_unsent_gpm() local 1131 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_2g5g_switch() local 1170 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_message() local 1270 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_setup() local 1291 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_state() local 1406 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_bt_gain_ctrl() local 1459 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_check_gpm_offset() local 1477 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_get_next_gpm_offset() local 1552 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_set_bt_version() local 1564 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ar9003_mci_send_wlan_channels() local [all...] |
H A D | mci.c | 21 #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() 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 in ath_mci_add_profile() 41 ath_mci_add_profile(struct ath_common *common, struct ath_mci_profile *mci, struct ath_mci_profile_info *info) ath_mci_add_profile() argument 73 ath_mci_del_profile(struct ath_common *common, struct ath_mci_profile *mci, struct ath_mci_profile_info *entry) ath_mci_del_profile() argument 85 ath_mci_flush_profile(struct ath_mci_profile *mci) ath_mci_flush_profile() argument 104 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_adjust_aggr_limit() local 123 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_update_scheme() local 259 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_set_concur_txprio() local 302 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_process_profile() local 336 struct ath_mci_profile *mci = &btcoex->mci; ath_mci_process_status() local 439 struct ath_mci_coex *mci = &sc->mci_coex; ath_mci_setup() local 487 struct ath_mci_coex *mci = &sc->mci_coex; ath_mci_intr() local 647 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; ath9k_mci_update_wlan_channels() local 731 struct ath_mci_profile *mci = &btcoex->mci; ath9k_mci_stomp_audio() local [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | mt6360_charger.c | 164 static int mt6360_get_chrdet_ext_stat(struct mt6360_chg_info *mci, in mt6360_get_chrdet_ext_stat() argument 170 ret = regmap_read(mci->regmap, MT6360_PMU_FOD_STAT, ®val); in mt6360_get_chrdet_ext_stat() 177 static int mt6360_charger_get_online(struct mt6360_chg_info *mci, in mt6360_charger_get_online() argument 183 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_online() 190 static int mt6360_charger_get_status(struct mt6360_chg_info *mci, in mt6360_charger_get_status() argument 197 ret = mt6360_get_chrdet_ext_stat(mci, &pwr_rdy); in mt6360_charger_get_status() 205 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_status() 229 static int mt6360_charger_get_charge_type(struct mt6360_chg_info *mci, in mt6360_charger_get_charge_type() argument 236 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_STAT, ®val); in mt6360_charger_get_charge_type() 260 static int mt6360_charger_get_ichg(struct mt6360_chg_info *mci, in mt6360_charger_get_ichg() argument 276 mt6360_charger_get_max_ichg(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_max_ichg() argument 283 mt6360_charger_get_cv(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_cv() argument 299 mt6360_charger_get_max_cv(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_max_cv() argument 306 mt6360_charger_get_aicr(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_aicr() argument 322 mt6360_charger_get_mivr(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_mivr() argument 338 mt6360_charger_get_iprechg(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_iprechg() argument 354 mt6360_charger_get_ieoc(struct mt6360_chg_info *mci, union power_supply_propval *val) mt6360_charger_get_ieoc() argument 370 mt6360_charger_set_online(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_online() argument 381 mt6360_charger_set_ichg(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_ichg() argument 393 mt6360_charger_set_cv(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_cv() argument 405 mt6360_charger_set_aicr(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_aicr() argument 417 mt6360_charger_set_mivr(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_mivr() argument 429 mt6360_charger_set_iprechg(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_iprechg() argument 441 mt6360_charger_set_ieoc(struct mt6360_chg_info *mci, const union power_supply_propval *val) mt6360_charger_set_ieoc() argument 457 struct mt6360_chg_info *mci = power_supply_get_drvdata(psy); mt6360_charger_get_property() local 507 struct mt6360_chg_info *mci = power_supply_get_drvdata(psy); mt6360_charger_set_property() local 607 struct mt6360_chg_info *mci = data; mt6360_pmu_attach_i_handler() local 660 mt6360_handle_chrdet_ext_evt(struct mt6360_chg_info *mci) mt6360_handle_chrdet_ext_evt() argument 693 struct mt6360_chg_info *mci = (struct mt6360_chg_info *)container_of( mt6360_chrdet_work() local 701 struct mt6360_chg_info *mci = data; mt6360_pmu_chrdet_ext_evt_handler() local 749 mt6360_chg_init_setting(struct mt6360_chg_info *mci) mt6360_chg_init_setting() argument 786 struct mt6360_chg_info *mci; mt6360_charger_probe() local [all...] |