Lines Matching refs:icnss_priv
95 static struct icnss_priv *penv;
135 static void icnss_set_plat_priv(struct icnss_priv *priv) in icnss_set_plat_priv()
140 static struct icnss_priv *icnss_get_plat_priv(void) in icnss_get_plat_priv()
145 static inline void icnss_wpss_unload(struct icnss_priv *priv) in icnss_wpss_unload()
158 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_sysfs_store()
175 static void icnss_pm_stay_awake(struct icnss_priv *priv) in icnss_pm_stay_awake()
188 static void icnss_pm_relax(struct icnss_priv *priv) in icnss_pm_relax()
264 int icnss_driver_event_post(struct icnss_priv *priv, in icnss_driver_event_post()
336 int icnss_soc_wake_event_post(struct icnss_priv *priv, in icnss_soc_wake_event_post()
435 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_is_fw_down()
448 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_get_device_config()
475 static bool icnss_is_smp2p_valid(struct icnss_priv *priv, in icnss_is_smp2p_valid()
486 static int icnss_send_smp2p(struct icnss_priv *priv, in icnss_send_smp2p()
561 struct icnss_priv *priv = ctx; in fw_error_fatal_handler()
573 struct icnss_priv *priv = ctx; in fw_crash_indication_handler()
602 struct icnss_priv *priv = dev_get_drvdata(dev); in register_fw_error_notifications()
641 struct icnss_priv *priv = dev_get_drvdata(dev); in register_early_crash_notifications()
679 static int icnss_get_temperature(struct icnss_priv *priv, int *temp) in icnss_get_temperature()
708 struct icnss_priv *priv = ctx; in fw_soc_wake_ack_handler()
718 struct icnss_priv *priv = dev_get_drvdata(dev); in register_soc_wake_notif()
758 int icnss_call_driver_uevent(struct icnss_priv *priv, in icnss_call_driver_uevent()
775 static int icnss_setup_dms_mac(struct icnss_priv *priv) in icnss_setup_dms_mac()
811 static void icnss_get_smp2p_info(struct icnss_priv *priv, in icnss_get_smp2p_info()
840 void icnss_set_wlan_en_delay(struct icnss_priv *priv) in icnss_set_wlan_en_delay()
874 static int icnss_wait_for_slate_complete(struct icnss_priv *priv) in icnss_wait_for_slate_complete()
895 static int icnss_wait_for_slate_complete(struct icnss_priv *priv) in icnss_wait_for_slate_complete()
901 static int icnss_driver_event_server_arrive(struct icnss_priv *priv, in icnss_driver_event_server_arrive()
1110 static int icnss_driver_event_server_exit(struct icnss_priv *priv) in icnss_driver_event_server_exit()
1125 static int icnss_call_driver_probe(struct icnss_priv *priv) in icnss_call_driver_probe()
1164 static int icnss_call_driver_shutdown(struct icnss_priv *priv) in icnss_call_driver_shutdown()
1184 static int icnss_pd_restart_complete(struct icnss_priv *priv) in icnss_pd_restart_complete()
1242 static int icnss_driver_event_fw_ready_ind(struct icnss_priv *priv, void *data) in icnss_driver_event_fw_ready_ind()
1285 static int icnss_driver_event_fw_init_done(struct icnss_priv *priv, void *data) in icnss_driver_event_fw_init_done()
1313 int icnss_alloc_qdss_mem(struct icnss_priv *priv) in icnss_alloc_qdss_mem()
1347 void icnss_free_qdss_mem(struct icnss_priv *priv) in icnss_free_qdss_mem()
1370 static int icnss_qdss_trace_req_mem_hdlr(struct icnss_priv *priv) in icnss_qdss_trace_req_mem_hdlr()
1381 static void *icnss_qdss_trace_pa_to_va(struct icnss_priv *priv, in icnss_qdss_trace_pa_to_va()
1411 static int icnss_qdss_trace_save_hdlr(struct icnss_priv *priv, in icnss_qdss_trace_save_hdlr()
1479 static int icnss_qdss_trace_req_data_hdlr(struct icnss_priv *priv, in icnss_qdss_trace_req_data_hdlr()
1498 static int icnss_event_soc_wake_request(struct icnss_priv *priv, void *data) in icnss_event_soc_wake_request()
1519 static int icnss_event_soc_wake_release(struct icnss_priv *priv, void *data) in icnss_event_soc_wake_release()
1537 static int icnss_driver_event_register_driver(struct icnss_priv *priv, in icnss_driver_event_register_driver()
1592 static int icnss_driver_event_unregister_driver(struct icnss_priv *priv, in icnss_driver_event_unregister_driver()
1620 static int icnss_fw_crashed(struct icnss_priv *priv, in icnss_fw_crashed()
1646 int icnss_update_hang_event_data(struct icnss_priv *priv, in icnss_update_hang_event_data()
1665 int icnss_send_hang_event_data(struct icnss_priv *priv) in icnss_send_hang_event_data()
1686 static int icnss_driver_event_pd_service_down(struct icnss_priv *priv, in icnss_driver_event_pd_service_down()
1736 static int icnss_driver_event_early_crash_ind(struct icnss_priv *priv, in icnss_driver_event_early_crash_ind()
1753 static int icnss_driver_event_idle_shutdown(struct icnss_priv *priv, in icnss_driver_event_idle_shutdown()
1776 static int icnss_driver_event_idle_restart(struct icnss_priv *priv, in icnss_driver_event_idle_restart()
1799 static int icnss_qdss_trace_free_hdlr(struct icnss_priv *priv) in icnss_qdss_trace_free_hdlr()
1806 static int icnss_m3_dump_upload_req_hdlr(struct icnss_priv *priv, in icnss_m3_dump_upload_req_hdlr()
1881 static int icnss_subsys_restart_level(struct icnss_priv *priv, void *data) in icnss_subsys_restart_level()
1902 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_wpss_self_recovery()
1914 struct icnss_priv *priv = in icnss_driver_event_work()
1915 container_of(work, struct icnss_priv, event_work); in icnss_driver_event_work()
2035 struct icnss_priv *priv = in icnss_soc_wake_msg_work()
2036 container_of(work, struct icnss_priv, soc_wake_msg_work); in icnss_soc_wake_msg_work()
2095 static int icnss_msa0_ramdump(struct icnss_priv *priv) in icnss_msa0_ramdump()
2134 static void icnss_update_state_send_modem_shutdown(struct icnss_priv *priv, in icnss_update_state_send_modem_shutdown()
2188 struct icnss_priv *priv = container_of(nb, struct icnss_priv, in icnss_wpss_early_notifier_nb()
2208 struct icnss_priv *priv = container_of(nb, struct icnss_priv, in icnss_wpss_notifier_nb()
2281 struct icnss_priv *priv = container_of(nb, struct icnss_priv, in icnss_modem_notifier_nb()
2373 static int icnss_wpss_early_ssr_register_notifier(struct icnss_priv *priv) in icnss_wpss_early_ssr_register_notifier()
2391 static int icnss_wpss_ssr_register_notifier(struct icnss_priv *priv) in icnss_wpss_ssr_register_notifier()
2422 struct icnss_priv *priv = container_of(nb, struct icnss_priv, in icnss_slate_event_notifier_nb()
2438 static int icnss_register_slate_event_notifier(struct icnss_priv *priv) in icnss_register_slate_event_notifier()
2455 static int icnss_unregister_slate_event_notifier(struct icnss_priv *priv) in icnss_unregister_slate_event_notifier()
2470 struct icnss_priv *priv = container_of(nb, struct icnss_priv, in icnss_slate_notifier_nb()
2504 static int icnss_slate_ssr_register_notifier(struct icnss_priv *priv) in icnss_slate_ssr_register_notifier()
2523 static int icnss_slate_ssr_unregister_notifier(struct icnss_priv *priv) in icnss_slate_ssr_unregister_notifier()
2535 static int icnss_register_slate_event_notifier(struct icnss_priv *priv) in icnss_register_slate_event_notifier()
2540 static int icnss_unregister_slate_event_notifier(struct icnss_priv *priv) in icnss_unregister_slate_event_notifier()
2545 static int icnss_slate_ssr_register_notifier(struct icnss_priv *priv) in icnss_slate_ssr_register_notifier()
2550 static int icnss_slate_ssr_unregister_notifier(struct icnss_priv *priv) in icnss_slate_ssr_unregister_notifier()
2556 static int icnss_modem_ssr_register_notifier(struct icnss_priv *priv) in icnss_modem_ssr_register_notifier()
2580 static void icnss_wpss_early_ssr_unregister_notifier(struct icnss_priv *priv) in icnss_wpss_early_ssr_unregister_notifier()
2590 static int icnss_wpss_ssr_unregister_notifier(struct icnss_priv *priv) in icnss_wpss_ssr_unregister_notifier()
2602 static int icnss_modem_ssr_unregister_notifier(struct icnss_priv *priv) in icnss_modem_ssr_unregister_notifier()
2616 struct icnss_priv *priv = priv_cb; in icnss_pdr_notifier_cb()
2684 static int icnss_pd_restart_enable(struct icnss_priv *priv) in icnss_pd_restart_enable()
2711 static void icnss_pdr_unregister_notifier(struct icnss_priv *priv) in icnss_pdr_unregister_notifier()
2719 static int icnss_ramdump_devnode_init(struct icnss_priv *priv) in icnss_ramdump_devnode_init()
2747 void *icnss_create_ramdump_device(struct icnss_priv *priv, const char *dev_name) in icnss_create_ramdump_device()
2790 static int icnss_register_ramdump_devices(struct icnss_priv *priv) in icnss_register_ramdump_devices()
2866 static int icnss_enable_recovery(struct icnss_priv *priv) in icnss_enable_recovery()
2912 static int icnss_dev_id_match(struct icnss_priv *priv, in icnss_dev_id_match()
2984 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_thermal_cdev_register()
3034 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_thermal_cdev_unregister()
3052 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_curr_therm_cdev_state()
3076 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_qmi_send()
3102 struct icnss_priv *priv = icnss_get_plat_priv(); in __icnss_register_driver()
3147 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_unregister_driver()
3188 static int icnss_get_msi_assignment(struct icnss_priv *priv) in icnss_get_msi_assignment()
3202 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_user_msi_assignment()
3238 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_msi_irq()
3252 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_msi_address()
3267 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_ce_request_irq()
3396 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_soc_info()
3429 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_get_mhi_state()
3446 struct icnss_priv *priv; in icnss_set_fw_log_mode()
3477 struct icnss_priv *priv; in icnss_force_wake_request()
3513 struct icnss_priv *priv; in icnss_force_wake_release()
3550 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_is_device_awake()
3563 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_is_pci_ep_awake()
3582 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_athdiag_read()
3618 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_athdiag_write()
3653 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_wlan_enable()
3695 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_wlan_disable()
3749 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_smmu_get_domain()
3776 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_smmu_map()
3835 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_smmu_unmap()
3886 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_trigger_recovery()
3932 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_idle_shutdown()
3952 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_idle_restart()
3972 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_exit_power_save()
3987 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_prevent_l1()
4000 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_allow_l1()
4013 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_allow_recursive_recovery()
4022 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_disallow_recursive_recovery()
4029 static int icnss_create_shutdown_sysfs(struct icnss_priv *priv) in icnss_create_shutdown_sysfs()
4053 static void icnss_destroy_shutdown_sysfs(struct icnss_priv *priv) in icnss_destroy_shutdown_sysfs()
4066 struct icnss_priv *priv = dev_get_drvdata(dev); in qdss_tr_start_store()
4077 struct icnss_priv *priv = dev_get_drvdata(dev); in qdss_tr_stop_store()
4092 struct icnss_priv *priv = dev_get_drvdata(dev); in qdss_conf_download_store()
4103 struct icnss_priv *priv = dev_get_drvdata(dev); in hw_trc_override_store()
4116 struct icnss_priv *priv = icnss_get_plat_priv(); in icnss_wpss_load()
4143 struct icnss_priv *priv = dev_get_drvdata(dev); in wpss_boot_store()
4168 struct icnss_priv *priv = dev_get_drvdata(dev); in wlan_en_delay_store()
4206 static int icnss_create_sysfs_link(struct icnss_priv *priv) in icnss_create_sysfs_link()
4223 static void icnss_remove_sysfs_link(struct icnss_priv *priv) in icnss_remove_sysfs_link()
4248 static void icnss_devm_device_remove_group(struct icnss_priv *priv) in icnss_devm_device_remove_group()
4255 static void icnss_devm_device_remove_group(struct icnss_priv *priv) in icnss_devm_device_remove_group()
4261 static int icnss_sysfs_create(struct icnss_priv *priv) in icnss_sysfs_create()
4286 static void icnss_sysfs_destroy(struct icnss_priv *priv) in icnss_sysfs_destroy()
4293 static int icnss_resource_parse(struct icnss_priv *priv) in icnss_resource_parse()
4430 static int icnss_msa_dt_parse(struct icnss_priv *priv) in icnss_msa_dt_parse()
4503 struct icnss_priv *priv = handler_token; in icnss_smmu_fault_handler()
4527 static int icnss_smmu_dt_parse(struct icnss_priv *priv) in icnss_smmu_dt_parse()
4583 int icnss_get_iova(struct icnss_priv *priv, u64 *addr, u64 *size) in icnss_get_iova()
4597 int icnss_get_iova_ipa(struct icnss_priv *priv, u64 *addr, u64 *size) in icnss_get_iova_ipa()
4611 void icnss_add_fw_prefix_name(struct icnss_priv *priv, char *prefix_name, in icnss_add_fw_prefix_name()
4656 static void icnss_init_control_params(struct icnss_priv *priv) in icnss_init_control_params()
4680 static void icnss_read_device_configs(struct icnss_priv *priv) in icnss_read_device_configs()
4692 static inline void icnss_runtime_pm_init(struct icnss_priv *priv) in icnss_runtime_pm_init()
4700 static inline void icnss_runtime_pm_deinit(struct icnss_priv *priv) in icnss_runtime_pm_deinit()
4707 static inline bool icnss_use_nv_mac(struct icnss_priv *priv) in icnss_use_nv_mac()
4767 struct icnss_priv *priv; in icnss_probe()
4940 static void icnss_unregister_power_supply_notifier(struct icnss_priv *priv) in icnss_unregister_power_supply_notifier()
4954 struct icnss_priv *priv = dev_get_drvdata(&pdev->dev); in icnss_remove()
5030 struct icnss_priv *priv = from_timer(priv, t, recovery_timer); in icnss_recovery_timeout_hdlr()
5042 struct icnss_priv *priv = from_timer(priv, t, wpss_ssr_timer); in icnss_wpss_ssr_timeout_hdlr()
5052 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_suspend()
5090 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_resume()
5120 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_suspend_noirq()
5149 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_resume_noirq()
5178 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_runtime_suspend()
5212 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_runtime_resume()
5240 struct icnss_priv *priv = dev_get_drvdata(dev); in icnss_pm_runtime_idle()