Lines Matching refs:info_v2

3014 	struct cnss_ramdump_info_v2 *info_v2 = &plat_priv->ramdump_info_v2;  in cnss_do_elf_ramdump()  local
3015 struct cnss_dump_data *dump_data = &info_v2->dump_data; in cnss_do_elf_ramdump()
3016 struct cnss_dump_seg *dump_seg = info_v2->dump_data_vaddr; in cnss_do_elf_ramdump()
3056 ret = qcom_elf_ramdump(info_v2->ramdump_dev, ramdump_segs, in cnss_do_elf_ramdump()
3328 struct cnss_ramdump_info_v2 *info_v2 = &plat_priv->ramdump_info_v2; in cnss_do_elf_ramdump() local
3329 struct cnss_dump_data *dump_data = &info_v2->dump_data; in cnss_do_elf_ramdump()
3330 struct cnss_dump_seg *dump_seg = info_v2->dump_data_vaddr; in cnss_do_elf_ramdump()
3383 ret = qcom_elf_dump(&head, info_v2->ramdump_dev, ELF_CLASS); in cnss_do_elf_ramdump()
3736 struct cnss_ramdump_info_v2 *info_v2; in cnss_register_ramdump_v2() local
3742 info_v2 = &plat_priv->ramdump_info_v2; in cnss_register_ramdump_v2()
3743 dump_data = &info_v2->dump_data; in cnss_register_ramdump_v2()
3756 info_v2->ramdump_size = ramdump_size; in cnss_register_ramdump_v2()
3758 cnss_pr_dbg("Ramdump size 0x%lx\n", info_v2->ramdump_size); in cnss_register_ramdump_v2()
3760 info_v2->dump_data_vaddr = kzalloc(CNSS_DUMP_DESC_SIZE, GFP_KERNEL); in cnss_register_ramdump_v2()
3761 if (!info_v2->dump_data_vaddr) in cnss_register_ramdump_v2()
3764 dump_data->paddr = virt_to_phys(info_v2->dump_data_vaddr); in cnss_register_ramdump_v2()
3782 info_v2->ramdump_dev = cnss_create_ramdump_device(plat_priv); in cnss_register_ramdump_v2()
3783 if (!info_v2->ramdump_dev) { in cnss_register_ramdump_v2()
3792 kfree(info_v2->dump_data_vaddr); in cnss_register_ramdump_v2()
3793 info_v2->dump_data_vaddr = NULL; in cnss_register_ramdump_v2()
3799 struct cnss_ramdump_info_v2 *info_v2; in cnss_unregister_ramdump_v2() local
3801 info_v2 = &plat_priv->ramdump_info_v2; in cnss_unregister_ramdump_v2()
3803 if (info_v2->ramdump_dev) in cnss_unregister_ramdump_v2()
3804 cnss_destroy_ramdump_device(plat_priv, info_v2->ramdump_dev); in cnss_unregister_ramdump_v2()
3806 kfree(info_v2->dump_data_vaddr); in cnss_unregister_ramdump_v2()
3807 info_v2->dump_data_vaddr = NULL; in cnss_unregister_ramdump_v2()
3808 info_v2->dump_data_valid = false; in cnss_unregister_ramdump_v2()
3859 struct cnss_ramdump_info_v2 *info_v2 = &plat_priv->ramdump_info_v2; in cnss_register_ramdump() local
3860 struct cnss_dump_data *dump_data = dump_data = &info_v2->dump_data; in cnss_register_ramdump()
3866 info_v2->ramdump_size = ramdump_size; in cnss_register_ramdump()
3868 cnss_pr_dbg("Ramdump size 0x%lx\n", info_v2->ramdump_size); in cnss_register_ramdump()
3870 info_v2->dump_data_vaddr = kzalloc(CNSS_DUMP_DESC_SIZE, GFP_KERNEL); in cnss_register_ramdump()
3871 if (!info_v2->dump_data_vaddr) in cnss_register_ramdump()
3874 dump_data->paddr = virt_to_phys(info_v2->dump_data_vaddr); in cnss_register_ramdump()
3881 info_v2->ramdump_dev = dev; in cnss_register_ramdump()
3888 struct cnss_ramdump_info_v2 *info_v2 = &plat_priv->ramdump_info_v2; in cnss_unregister_ramdump() local
3890 info_v2->ramdump_dev = NULL; in cnss_unregister_ramdump()
3891 kfree(info_v2->dump_data_vaddr); in cnss_unregister_ramdump()
3892 info_v2->dump_data_vaddr = NULL; in cnss_unregister_ramdump()
3893 info_v2->dump_data_valid = false; in cnss_unregister_ramdump()