/linux/drivers/edac/ |
H A D | edac_mc.c | 64 struct mem_ctl_info *mci = dimm->mci; in edac_dimm_info_location() local 120 static void edac_mc_dump_mci(struct mem_ctl_info *mci) in edac_mc_dump_mci() 173 static void _edac_mc_free(struct mem_ctl_info *mci) in _edac_mc_free() 180 struct mem_ctl_info *mci = container_of(dev, struct mem_ctl_info, dev); in mci_release() local 210 static int edac_mc_alloc_csrows(struct mem_ctl_info *mci) in edac_mc_alloc_csrows() 255 static int edac_mc_alloc_dimms(struct mem_ctl_info *mci) in edac_mc_alloc_dimms() 340 struct mem_ctl_info *mci; in edac_mc_alloc() local 406 void edac_mc_free(struct mem_ctl_info *mci) in edac_mc_free() 431 struct mem_ctl_info *mci; in __find_mci_by_dev() local 472 struct mem_ctl_info *mci = to_edac_mem_ctl_work(d_work); in edac_mc_workq_function() local [all …]
|
H A D | e7xxx_edac.c | 40 #define e7xxx_mc_printk(mci, level, fmt, arg...) \ argument 182 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 203 static void process_ce(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ce() 225 static void process_ce_no_info(struct mem_ctl_info *mci) in process_ce_no_info() 232 static void process_ue(struct mem_ctl_info *mci, struct e7xxx_error_info *info) in process_ue() 248 static void process_ue_no_info(struct mem_ctl_info *mci) in process_ue_no_info() 256 static void e7xxx_get_error_info(struct mem_ctl_info *mci, in e7xxx_get_error_info() 284 static int e7xxx_process_error_info(struct mem_ctl_info *mci, in e7xxx_process_error_info() 332 static void e7xxx_check(struct mem_ctl_info *mci) in e7xxx_check() 353 static void e7xxx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in e7xxx_init_csrows() [all …]
|
H A D | amd76x_edac.c | 27 #define amd76x_mc_printk(mci, level, fmt, arg...) \ argument 102 static void amd76x_get_error_info(struct mem_ctl_info *mci, in amd76x_get_error_info() 130 static int amd76x_process_error_info(struct mem_ctl_info *mci, in amd76x_process_error_info() 179 static void amd76x_check(struct mem_ctl_info *mci) in amd76x_check() 186 static void amd76x_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in amd76x_init_csrows() 236 struct mem_ctl_info *mci; in amd76x_probe1() local 320 struct mem_ctl_info *mci; in amd76x_remove_one() local
|
H A D | r82600_edac.c | 30 #define r82600_mc_printk(mci, level, fmt, arg...) \ argument 137 static void r82600_get_error_info(struct mem_ctl_info *mci, in r82600_get_error_info() 158 static int r82600_process_error_info(struct mem_ctl_info *mci, in r82600_process_error_info() 203 static void r82600_check(struct mem_ctl_info *mci) in r82600_check() 216 static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, in r82600_init_csrows() 270 struct mem_ctl_info *mci; in r82600_probe1() local 370 struct mem_ctl_info *mci; in r82600_remove_one() local
|
H A D | edac_mc_sysfs.c | 426 static int edac_create_csrow_object(struct mem_ctl_info *mci, in edac_create_csrow_object() 453 static int edac_create_csrow_objects(struct mem_ctl_info *mci) in edac_create_csrow_objects() 477 static void edac_delete_csrow_objects(struct mem_ctl_info *mci) in edac_delete_csrow_objects() 640 static int edac_create_dimm_object(struct mem_ctl_info *mci, in edac_create_dimm_object() 686 struct mem_ctl_info *mci = to_mci(dev); in mci_reset_counters_store() local 727 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_store() local 751 struct mem_ctl_info *mci = to_mci(dev); in mci_sdram_scrub_rate_show() local 768 struct mem_ctl_info *mci = to_mci(dev); in mci_ue_count_show() local 777 struct mem_ctl_info *mci = to_mci(dev); in mci_ce_count_show() local 786 struct mem_ctl_info *mci = to_mci(dev); in mci_ce_noinfo_show() local [all …]
|
H A D | i5100_edac.c | 356 static int i5100_rank_to_slot(const struct mem_ctl_info *mci, in i5100_rank_to_slot() 410 static unsigned int i5100_csrow_to_rank(const struct mem_ctl_info *mci, in i5100_csrow_to_rank() 419 static unsigned int i5100_csrow_to_chan(const struct mem_ctl_info *mci, in i5100_csrow_to_chan() 427 static void i5100_handle_ce(struct mem_ctl_info *mci, in i5100_handle_ce() 449 static void i5100_handle_ue(struct mem_ctl_info *mci, in i5100_handle_ue() 471 static void i5100_read_log(struct mem_ctl_info *mci, int chan, in i5100_read_log() 540 static void i5100_check_error(struct mem_ctl_info *mci) in i5100_check_error() 592 static int i5100_set_scrub_rate(struct mem_ctl_info *mci, u32 bandwidth) in i5100_set_scrub_rate() 617 static int i5100_get_scrub_rate(struct mem_ctl_info *mci) in i5100_get_scrub_rate() 646 static unsigned long i5100_npages(struct mem_ctl_info *mci, unsigned int csrow) in i5100_npages() [all …]
|
H A D | i82860_edac.c | 24 #define i82860_mc_printk(mci, level, fmt, arg...) \ argument 64 static void i82860_get_error_info(struct mem_ctl_info *mci, in i82860_get_error_info() 97 static int i82860_process_error_info(struct mem_ctl_info *mci, in i82860_process_error_info() 134 static void i82860_check(struct mem_ctl_info *mci) in i82860_check() 142 static void i82860_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev) in i82860_init_csrows() 186 struct mem_ctl_info *mci; in i82860_probe1() local 275 struct mem_ctl_info *mci; in i82860_remove_one() local
|
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() 57 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ue() 79 static void cell_edac_check(struct mem_ctl_info *mci) in cell_edac_check() 128 static void cell_edac_init_csrows(struct mem_ctl_info *mci) in cell_edac_init_csrows() 171 struct mem_ctl_info *mci; in cell_edac_probe() local 239 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in cell_edac_remove() local
|
H A D | octeon_edac-lmc.c | 38 static void octeon_lmc_edac_poll(struct mem_ctl_info *mci) in octeon_lmc_edac_poll() 71 static void octeon_lmc_edac_poll_o2(struct mem_ctl_info *mci) in octeon_lmc_edac_poll_o2() 172 struct mem_ctl_info *mci = to_mci(dev); in octeon_mc_inject_error_type_store() local 187 struct mem_ctl_info *mci = to_mci(dev); in octeon_mc_inject_error_type_show() local 227 struct mem_ctl_info *mci; in octeon_lmc_edac_probe() local 307 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in octeon_lmc_edac_remove() local
|
H A D | e752x_edac.c | 40 #define e752x_mc_printk(mci, level, fmt, arg...) \ argument 304 static unsigned long ctl_page_to_phys(struct mem_ctl_info *mci, in ctl_page_to_phys() 327 static void do_process_ce(struct mem_ctl_info *mci, u16 error_one, in do_process_ce() 378 static inline void process_ce(struct mem_ctl_info *mci, u16 error_one, in process_ce() 388 static void do_process_ue(struct mem_ctl_info *mci, u16 error_one, in do_process_ue() 436 static inline void process_ue(struct mem_ctl_info *mci, u16 error_one, in process_ue() 446 static inline void process_ue_no_info_wr(struct mem_ctl_info *mci, in process_ue_no_info_wr() 460 static void do_process_ded_retry(struct mem_ctl_info *mci, u16 error, in do_process_ded_retry() 479 static inline void process_ded_retry(struct mem_ctl_info *mci, u16 error, in process_ded_retry() 489 static inline void process_threshold_ce(struct mem_ctl_info *mci, u16 error, in process_threshold_ce() [all …]
|
H A D | i7core_edac.c | 71 #define i7core_mc_printk(mci, level, fmt, arg...) \ argument 245 struct mem_ctl_info *mci; member 487 static int get_dimm_config(struct mem_ctl_info *mci) in get_dimm_config() 660 static int disable_inject(const struct mem_ctl_info *mci) in disable_inject() 686 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_store() local 706 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_section_show() local 723 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_store() local 743 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_type_show() local 763 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_store() local 783 struct mem_ctl_info *mci = to_mci(dev); in i7core_inject_eccmask_show() 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() 84 static void pasemi_edac_process_error_info(struct mem_ctl_info *mci, u32 errsta) in pasemi_edac_process_error_info() 113 static void pasemi_edac_check(struct mem_ctl_info *mci) in pasemi_edac_check() 122 static int pasemi_edac_init_csrows(struct mem_ctl_info *mci, in pasemi_edac_init_csrows() 182 struct mem_ctl_info *mci = NULL; in pasemi_edac_probe() local 259 struct mem_ctl_info *mci = edac_mc_del_mc(&pdev->dev); in pasemi_edac_remove() local
|
H A D | amd64_edac.c | 230 static int set_scrub_rate(struct mem_ctl_info *mci, u32 bw) in set_scrub_rate() 249 static int get_scrub_rate(struct mem_ctl_info *mci) in get_scrub_rate() 305 static struct mem_ctl_info *find_mc_by_sys_addr(struct mem_ctl_info *mci, in find_mc_by_sys_addr() 444 static int input_addr_to_csrow(struct mem_ctl_info *mci, u64 input_addr) in input_addr_to_csrow() 490 static int get_dram_hole_info(struct mem_ctl_info *mci, u64 *hole_base, in get_dram_hole_info() 564 struct mem_ctl_info *mci = to_mci(dev); in dram_hole_show() local 601 struct mem_ctl_info *mci = to_mci(dev); in inject_section_show() local 616 struct mem_ctl_info *mci = to_mci(dev); in inject_section_store() local 637 struct mem_ctl_info *mci = to_mci(dev); in inject_word_show() local 652 struct mem_ctl_info *mci = to_mci(dev); in inject_word_store() 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() 124 static void count_un_rec(struct mem_ctl_info *mci, u8 un_rec_cnt, in count_un_rec() 159 struct mem_ctl_info *mci = arg; in mcr_isr() local 231 static int init_csrows(struct mem_ctl_info *mci) in init_csrows() 283 struct mem_ctl_info *mci; in aspeed_probe() local 362 struct mem_ctl_info *mci; in aspeed_remove() local
|
H A D | i82875p_edac.c | 28 #define i82875p_mc_printk(mci, level, fmt, arg...) \ argument 186 static void i82875p_get_error_info(struct mem_ctl_info *mci, in i82875p_get_error_info() 223 static int i82875p_process_error_info(struct mem_ctl_info *mci, in i82875p_process_error_info() 261 static void i82875p_check(struct mem_ctl_info *mci) in i82875p_check() 339 static void i82875p_init_csrows(struct mem_ctl_info *mci, in i82875p_init_csrows() 390 struct mem_ctl_info *mci; in i82875p_probe1() local 492 struct mem_ctl_info *mci; in i82875p_remove_one() local
|
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() 140 static int i82443bxgx_edacmc_process_error_info(struct mem_ctl_info *mci, in i82443bxgx_edacmc_process_error_info() 175 static void i82443bxgx_edacmc_check(struct mem_ctl_info *mci) in i82443bxgx_edacmc_check() 183 static void i82443bxgx_init_csrows(struct mem_ctl_info *mci, in i82443bxgx_init_csrows() 233 struct mem_ctl_info *mci; in i82443bxgx_edacmc_probe1() local 368 struct mem_ctl_info *mci; in i82443bxgx_edacmc_remove_one() local
|
H A D | i7300_edac.c | 39 #define i7300_mc_printk(mci, level, fmt, arg...) \ argument 351 static void i7300_process_error_global(struct mem_ctl_info *mci) in i7300_process_error_global() 406 static void i7300_process_fbd_error(struct mem_ctl_info *mci) in i7300_process_fbd_error() 509 static void i7300_check_error(struct mem_ctl_info *mci) in i7300_check_error() 519 static void i7300_clear_error(struct mem_ctl_info *mci) in i7300_clear_error() 556 static void i7300_enable_error_reporting(struct mem_ctl_info *mci) in i7300_enable_error_reporting() 745 static int i7300_init_csrows(struct mem_ctl_info *mci) in i7300_init_csrows() 838 static int i7300_get_mc_regs(struct mem_ctl_info *mci) in i7300_get_mc_regs() 909 static void i7300_put_devices(struct mem_ctl_info *mci) in i7300_put_devices() 934 static int i7300_get_devices(struct mem_ctl_info *mci) in i7300_get_devices() [all …]
|
H A D | highbank_mc_edac.c | 56 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local 87 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() 103 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local 150 struct mem_ctl_info *mci; in highbank_mc_probe() local 256 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in highbank_mc_remove() local
|
H A D | i82975x_edac.c | 24 #define i82975x_mc_printk(mci, level, fmt, arg...) \ argument 238 static void i82975x_get_error_info(struct mem_ctl_info *mci, in i82975x_get_error_info() 277 static int i82975x_process_error_info(struct mem_ctl_info *mci, in i82975x_process_error_info() 329 static void i82975x_check(struct mem_ctl_info *mci) in i82975x_check() 360 static void i82975x_init_csrows(struct mem_ctl_info *mci, in i82975x_init_csrows() 466 struct mem_ctl_info *mci; in i82975x_probe1() local 609 struct mem_ctl_info *mci; in i82975x_remove_one() local
|
H A D | npcm_edac.c | 104 static void handle_ce(struct mem_ctl_info *mci) in handle_ce() 137 static void handle_ue(struct mem_ctl_info *mci) in handle_ue() 173 struct mem_ctl_info *mci = dev_id; in edac_ecc_isr() local 202 struct mem_ctl_info *mci = to_mci(dev); in force_ecc_error() local 288 static void setup_debugfs(struct mem_ctl_info *mci) in setup_debugfs() 303 static int setup_irq(struct mem_ctl_info *mci, struct platform_device *pdev) in setup_irq() 344 struct mem_ctl_info *mci; in edac_probe() local 415 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in edac_remove() local
|
H A D | al_mc_edac.c | 74 static int handle_ce(struct mem_ctl_info *mci) in handle_ce() 119 static int handle_ue(struct mem_ctl_info *mci) in handle_ue() 164 static void al_mc_edac_check(struct mem_ctl_info *mci) in al_mc_edac_check() 178 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in al_mc_edac_irq_handler_ue() local 188 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in al_mc_edac_irq_handler_ce() local 220 struct mem_ctl_info *mci; in al_mc_edac_probe() local
|
H A D | i5400_edac.c | 47 #define i5400_mc_printk(mci, level, fmt, arg...) \ argument 436 static void i5400_get_error_info(struct mem_ctl_info *mci, in i5400_get_error_info() 512 static void i5400_proccess_non_recoverable_info(struct mem_ctl_info *mci, in i5400_proccess_non_recoverable_info() 577 static void i5400_process_nonfatal_error_info(struct mem_ctl_info *mci, in i5400_process_nonfatal_error_info() 658 static void i5400_process_error_info(struct mem_ctl_info *mci, in i5400_process_error_info() 676 static void i5400_clear_error(struct mem_ctl_info *mci) in i5400_clear_error() 687 static void i5400_check_error(struct mem_ctl_info *mci) in i5400_check_error() 699 static void i5400_put_devices(struct mem_ctl_info *mci) in i5400_put_devices() 718 static int i5400_get_devices(struct mem_ctl_info *mci, int dev_idx) in i5400_get_devices() 1052 static void i5400_get_mc_regs(struct mem_ctl_info *mci) in i5400_get_mc_regs() [all …]
|
/linux/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 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 323 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_set_full_sleep() local 358 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_get_interrupt() local 372 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_get_isr() local 396 struct ath9k_hw_mci *mci = &ah->btcoex_hw.mci; in ar9003_mci_2g5g_changed() local [all …]
|
H A D | mci.c | 26 ath_mci_find_profile(struct ath_mci_profile *mci, in ath_mci_find_profile() 42 struct ath_mci_profile *mci, in ath_mci_add_profile() 74 struct ath_mci_profile *mci, in ath_mci_del_profile() 85 void ath_mci_flush_profile(struct ath_mci_profile *mci) in ath_mci_flush_profile() 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 259 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_set_concur_txprio() local 302 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_profile() local 336 struct ath_mci_profile *mci = &btcoex->mci; in ath_mci_process_status() local 439 struct ath_mci_coex *mci = &sc->mci_coex; in ath_mci_setup() local [all …]
|
/linux/drivers/power/supply/ |
H A D | mt6360_charger.c | 157 static int mt6360_get_chrdet_ext_stat(struct mt6360_chg_info *mci, in mt6360_get_chrdet_ext_stat() 170 static int mt6360_charger_get_online(struct mt6360_chg_info *mci, in mt6360_charger_get_online() 183 static int mt6360_charger_get_status(struct mt6360_chg_info *mci, in mt6360_charger_get_status() 222 static int mt6360_charger_get_charge_type(struct mt6360_chg_info *mci, in mt6360_charger_get_charge_type() 253 static int mt6360_charger_get_ichg(struct mt6360_chg_info *mci, in mt6360_charger_get_ichg() 269 static int mt6360_charger_get_max_ichg(struct mt6360_chg_info *mci, in mt6360_charger_get_max_ichg() 276 static int mt6360_charger_get_cv(struct mt6360_chg_info *mci, in mt6360_charger_get_cv() 292 static int mt6360_charger_get_max_cv(struct mt6360_chg_info *mci, in mt6360_charger_get_max_cv() 299 static int mt6360_charger_get_aicr(struct mt6360_chg_info *mci, in mt6360_charger_get_aicr() 315 static int mt6360_charger_get_mivr(struct mt6360_chg_info *mci, in mt6360_charger_get_mivr() [all …]
|