Lines Matching defs:plat_priv

160 			       struct cnss_plat_data *plat_priv)  in cnss_set_plat_priv()
201 static void cnss_clear_plat_priv(struct cnss_plat_data *plat_priv) in cnss_clear_plat_priv()
208 static int cnss_set_device_name(struct cnss_plat_data *plat_priv) in cnss_set_device_name()
245 cnss_get_qrtr_node_id(struct cnss_plat_data *plat_priv) in cnss_get_qrtr_node_id()
251 void cnss_get_qrtr_info(struct cnss_plat_data *plat_priv) in cnss_get_qrtr_info()
269 cnss_get_pld_bus_ops_name(struct cnss_plat_data *plat_priv) in cnss_get_pld_bus_ops_name()
282 struct cnss_plat_data *plat_priv) in cnss_set_plat_priv()
292 static void cnss_clear_plat_priv(struct cnss_plat_data *plat_priv) in cnss_clear_plat_priv()
297 static int cnss_set_device_name(struct cnss_plat_data *plat_priv) in cnss_set_device_name()
314 void cnss_get_qrtr_info(struct cnss_plat_data *plat_priv) in cnss_get_qrtr_info()
319 cnss_get_pld_bus_ops_name(struct cnss_plat_data *plat_priv) in cnss_get_pld_bus_ops_name()
325 void cnss_get_sleep_clk_supported(struct cnss_plat_data *plat_priv) in cnss_get_sleep_clk_supported()
333 void cnss_get_bwscal_info(struct cnss_plat_data *plat_priv) in cnss_get_bwscal_info()
340 cnss_get_rc_num(struct cnss_plat_data *plat_priv) in cnss_get_rc_num()
360 struct cnss_plat_data *plat_priv; in cnss_get_mem_seg_count() local
387 struct cnss_plat_data *plat_priv; in cnss_get_wifi_kobj() local
409 struct cnss_plat_data *plat_priv; in cnss_get_mem_segment_info() local
443 static int cnss_get_audio_iommu_domain(struct cnss_plat_data *plat_priv) in cnss_get_audio_iommu_domain()
475 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_audio_shared_iommu_group_cap() local
518 int cnss_set_feature_list(struct cnss_plat_data *plat_priv, in cnss_set_feature_list()
528 int cnss_clear_feature_list(struct cnss_plat_data *plat_priv, in cnss_clear_feature_list()
538 int cnss_get_feature_list(struct cnss_plat_data *plat_priv, in cnss_get_feature_list()
548 size_t cnss_get_platform_name(struct cnss_plat_data *plat_priv, in cnss_get_platform_name()
577 void cnss_pm_stay_awake(struct cnss_plat_data *plat_priv) in cnss_pm_stay_awake()
588 void cnss_pm_relax(struct cnss_plat_data *plat_priv) in cnss_pm_relax()
628 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_platform_cap() local
652 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_fw_cap() local
688 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_audio_is_direct_link_supported() local
706 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_request_pm_qos() local
717 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_remove_pm_qos() local
732 struct cnss_plat_data *plat_priv; in cnss_wlan_enable() local
777 struct cnss_plat_data *plat_priv; in cnss_wlan_disable() local
818 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_audio_smmu_map() local
845 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_audio_smmu_unmap() local
866 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_fw_lpass_shared_mem() local
888 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_athdiag_read() local
917 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_athdiag_write() local
945 struct cnss_plat_data *plat_priv; in cnss_set_fw_log_mode() local
965 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_set_pcie_gen_speed() local
985 static bool cnss_is_aux_support_enabled(struct cnss_plat_data *plat_priv) in cnss_is_aux_support_enabled()
1002 static int cnss_fw_mem_ready_hdlr(struct cnss_plat_data *plat_priv) in cnss_fw_mem_ready_hdlr()
1061 static int cnss_request_antenna_sharing(struct cnss_plat_data *plat_priv) in cnss_request_antenna_sharing()
1087 static void cnss_release_antenna_sharing(struct cnss_plat_data *plat_priv) in cnss_release_antenna_sharing()
1093 static int cnss_setup_dms_mac(struct cnss_plat_data *plat_priv) in cnss_setup_dms_mac()
1140 static int cnss_cal_db_mem_update(struct cnss_plat_data *plat_priv, in cnss_cal_db_mem_update()
1203 static int cnss_cal_mem_upload_to_file(struct cnss_plat_data *plat_priv) in cnss_cal_mem_upload_to_file()
1213 static int cnss_cal_file_download_to_mem(struct cnss_plat_data *plat_priv, in cnss_cal_file_download_to_mem()
1225 static int cnss_fw_ready_hdlr(struct cnss_plat_data *plat_priv) in cnss_fw_ready_hdlr()
1337 int cnss_driver_event_post(struct cnss_plat_data *plat_priv, in cnss_driver_event_post()
1416 unsigned int cnss_get_timeout(struct cnss_plat_data *plat_priv, in cnss_get_timeout()
1454 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_boot_timeout() local
1468 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_power_up() local
1508 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_power_down() local
1525 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_idle_restart() local
1613 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_idle_shutdown() local
1639 static int cnss_get_resources(struct cnss_plat_data *plat_priv) in cnss_get_resources()
1671 static void cnss_put_resources(struct cnss_plat_data *plat_priv) in cnss_put_resources()
1682 struct cnss_plat_data *plat_priv = in cnss_modem_notifier_nb() local
1707 static int cnss_register_esoc(struct cnss_plat_data *plat_priv) in cnss_register_esoc()
1761 static void cnss_unregister_esoc(struct cnss_plat_data *plat_priv) in cnss_unregister_esoc()
1777 static inline int cnss_register_esoc(struct cnss_plat_data *plat_priv) in cnss_register_esoc()
1782 static inline void cnss_unregister_esoc(struct cnss_plat_data *plat_priv) {} in cnss_unregister_esoc()
1785 int cnss_enable_dev_sol_irq(struct cnss_plat_data *plat_priv) in cnss_enable_dev_sol_irq()
1801 int cnss_disable_dev_sol_irq(struct cnss_plat_data *plat_priv) in cnss_disable_dev_sol_irq()
1817 int cnss_get_dev_sol_value(struct cnss_plat_data *plat_priv) in cnss_get_dev_sol_value()
1829 struct cnss_plat_data *plat_priv = data; in cnss_dev_sol_handler() local
1852 static int cnss_init_dev_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_init_dev_sol_gpio()
1891 static void cnss_deinit_dev_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_deinit_dev_sol_gpio()
1902 int cnss_set_host_sol_value(struct cnss_plat_data *plat_priv, int value) in cnss_set_host_sol_value()
1916 int cnss_get_host_sol_value(struct cnss_plat_data *plat_priv) in cnss_get_host_sol_value()
1926 static int cnss_init_host_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_init_host_sol_gpio()
1955 static void cnss_deinit_host_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_deinit_host_sol_gpio()
1965 static int cnss_init_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_init_sol_gpio()
1985 static void cnss_deinit_sol_gpio(struct cnss_plat_data *plat_priv) in cnss_deinit_sol_gpio()
1994 struct cnss_plat_data *plat_priv; in cnss_subsys_powerup() local
2022 struct cnss_plat_data *plat_priv; in cnss_subsys_shutdown() local
2045 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_device_crashed() local
2062 struct cnss_plat_data *plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_crash_shutdown() local
2075 struct cnss_plat_data *plat_priv = dev_get_drvdata(subsys_desc->dev); in cnss_subsys_ramdump() local
2092 void cnss_recovery_handler(struct cnss_plat_data *plat_priv) in cnss_recovery_handler()
2128 struct cnss_plat_data *plat_priv = in cnss_recovery_work_handler() local
2136 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_device_crashed() local
2149 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_get_virt_ramdump_mem() local
2178 static int cnss_do_recovery(struct cnss_plat_data *plat_priv, in cnss_do_recovery()
2262 static int cnss_driver_recovery_hdlr(struct cnss_plat_data *plat_priv, in cnss_driver_recovery_hdlr()
2335 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_schedule_recovery() local
2364 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_force_fw_assert() local
2399 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_force_collect_rddm() local
2454 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_qmi_send_get() local
2465 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_qmi_send_put() local
2478 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_qmi_send() local
2504 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_register_driver_async_data_cb() local
2519 static int cnss_cold_boot_cal_start_hdlr(struct cnss_plat_data *plat_priv) in cnss_cold_boot_cal_start_hdlr()
2610 static int cnss_cold_boot_cal_done_hdlr(struct cnss_plat_data *plat_priv, in cnss_cold_boot_cal_done_hdlr()
2665 static int cnss_power_up_hdlr(struct cnss_plat_data *plat_priv) in cnss_power_up_hdlr()
2676 static int cnss_power_down_hdlr(struct cnss_plat_data *plat_priv) in cnss_power_down_hdlr()
2683 static int cnss_qdss_trace_req_mem_hdlr(struct cnss_plat_data *plat_priv) in cnss_qdss_trace_req_mem_hdlr()
2724 static int cnss_fw_mem_file_save_hdlr(struct cnss_plat_data *plat_priv, in cnss_fw_mem_file_save_hdlr()
2782 static int cnss_qdss_trace_free_hdlr(struct cnss_plat_data *plat_priv) in cnss_qdss_trace_free_hdlr()
2789 static int cnss_qdss_trace_req_data_hdlr(struct cnss_plat_data *plat_priv, in cnss_qdss_trace_req_data_hdlr()
2807 struct cnss_plat_data *plat_priv = in cnss_driver_event_work() local
2935 int cnss_register_subsys(struct cnss_plat_data *plat_priv) in cnss_register_subsys()
2977 void cnss_unregister_subsys(struct cnss_plat_data *plat_priv) in cnss_unregister_subsys()
2986 static void *cnss_create_ramdump_device(struct cnss_plat_data *plat_priv) in cnss_create_ramdump_device()
2994 static void cnss_destroy_ramdump_device(struct cnss_plat_data *plat_priv, in cnss_destroy_ramdump_device()
3000 int cnss_do_ramdump(struct cnss_plat_data *plat_priv) in cnss_do_ramdump()
3012 int cnss_do_elf_ramdump(struct cnss_plat_data *plat_priv) in cnss_do_elf_ramdump()
3066 struct cnss_plat_data *plat_priv = in cnss_panic_handler() local
3074 int cnss_register_subsys(struct cnss_plat_data *plat_priv) in cnss_register_subsys()
3092 void cnss_unregister_subsys(struct cnss_plat_data *plat_priv) in cnss_unregister_subsys()
3103 static void *cnss_create_ramdump_device(struct cnss_plat_data *plat_priv) in cnss_create_ramdump_device()
3108 static void cnss_destroy_ramdump_device(struct cnss_plat_data *plat_priv, in cnss_destroy_ramdump_device()
3115 int cnss_do_ramdump(struct cnss_plat_data *plat_priv) in cnss_do_ramdump()
3134 int cnss_do_ramdump(struct cnss_plat_data *plat_priv) in cnss_do_ramdump()
3326 int cnss_do_elf_ramdump(struct cnss_plat_data *plat_priv) in cnss_do_elf_ramdump()
3408 int cnss_do_host_ramdump(struct cnss_plat_data *plat_priv, in cnss_do_host_ramdump()
3623 static int cnss_init_dump_entry(struct cnss_plat_data *plat_priv) in cnss_init_dump_entry()
3642 static int cnss_register_ramdump_v1(struct cnss_plat_data *plat_priv) in cnss_register_ramdump_v1()
3701 static void cnss_unregister_ramdump_v1(struct cnss_plat_data *plat_priv) in cnss_unregister_ramdump_v1()
3733 static int cnss_register_ramdump_v2(struct cnss_plat_data *plat_priv) in cnss_register_ramdump_v2()
3797 static void cnss_unregister_ramdump_v2(struct cnss_plat_data *plat_priv) in cnss_unregister_ramdump_v2()
3811 int cnss_register_ramdump(struct cnss_plat_data *plat_priv) in cnss_register_ramdump()
3836 void cnss_unregister_ramdump(struct cnss_plat_data *plat_priv) in cnss_unregister_ramdump()
3857 int cnss_register_ramdump(struct cnss_plat_data *plat_priv) in cnss_register_ramdump()
3886 void cnss_unregister_ramdump(struct cnss_plat_data *plat_priv) in cnss_unregister_ramdump()
3917 int cnss_minidump_add_region(struct cnss_plat_data *plat_priv, in cnss_minidump_add_region()
3957 int cnss_minidump_remove_region(struct cnss_plat_data *plat_priv, in cnss_minidump_remove_region()
3998 int cnss_minidump_add_region(struct cnss_plat_data *plat_priv, in cnss_minidump_add_region()
4024 int cnss_minidump_remove_region(struct cnss_plat_data *plat_priv, in cnss_minidump_remove_region()
4032 int cnss_request_firmware_direct(struct cnss_plat_data *plat_priv, in cnss_request_firmware_direct()
4054 static int cnss_register_bus_scale(struct cnss_plat_data *plat_priv) in cnss_register_bus_scale()
4158 static void cnss_unregister_bus_scale(struct cnss_plat_data *plat_priv) in cnss_unregister_bus_scale()
4171 static int cnss_register_bus_scale(struct cnss_plat_data *plat_priv) in cnss_register_bus_scale()
4176 static void cnss_unregister_bus_scale(struct cnss_plat_data *plat_priv) {} in cnss_unregister_bus_scale()
4181 struct cnss_plat_data *plat_priv = cb_ctx; in cnss_daemon_connection_update_cb() local
4202 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in enable_hds_store() local
4228 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in recovery_show() local
4284 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in time_sync_period_show() local
4296 uint32_t cnss_get_min_time_sync_period_by_vote(struct cnss_plat_data *plat_priv) in cnss_get_min_time_sync_period_by_vote()
4314 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in time_sync_period_store() local
4354 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_update_time_sync_period() local
4389 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_reset_time_sync_period() local
4417 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in recovery_store() local
4444 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in shutdown_store() local
4464 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in fs_ready_store() local
4496 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in qdss_trace_start_store() local
4507 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in qdss_trace_stop_store() local
4522 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in qdss_conf_download_store() local
4533 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in tme_opt_file_download_store() local
4571 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in hw_trace_override_store() local
4586 struct cnss_plat_data *plat_priv = dev_get_drvdata(dev); in charger_mode_store() local
4628 static int cnss_create_sysfs_link(struct cnss_plat_data *plat_priv) in cnss_create_sysfs_link()
4669 static void cnss_remove_sysfs_link(struct cnss_plat_data *plat_priv) in cnss_remove_sysfs_link()
4689 static int cnss_create_sysfs(struct cnss_plat_data *plat_priv) in cnss_create_sysfs()
4727 static void cnss_remove_sysfs(struct cnss_plat_data *plat_priv) in cnss_remove_sysfs()
4735 static void cnss_remove_sysfs(struct cnss_plat_data *plat_priv) in cnss_remove_sysfs()
4742 static int cnss_event_work_init(struct cnss_plat_data *plat_priv) in cnss_event_work_init()
4758 static void cnss_event_work_deinit(struct cnss_plat_data *plat_priv) in cnss_event_work_deinit()
4767 struct cnss_plat_data *plat_priv = in cnss_reboot_notifier() local
4782 int cnss_wlan_hw_disable_check(struct cnss_plat_data *plat_priv) in cnss_wlan_hw_disable_check()
4816 int cnss_wlan_hw_disable_check(struct cnss_plat_data *plat_priv) in cnss_wlan_hw_disable_check()
4883 int cnss_wlan_hw_disable_check(struct cnss_plat_data *plat_priv) in cnss_wlan_hw_disable_check()
4890 static void cnss_sram_dump_init(struct cnss_plat_data *plat_priv) in cnss_sram_dump_init()
4894 static void cnss_sram_dump_init(struct cnss_plat_data *plat_priv) in cnss_sram_dump_init()
4920 static int cnss_misc_init(struct cnss_plat_data *plat_priv) in cnss_misc_init()
4976 static void cnss_sram_dump_deinit(struct cnss_plat_data *plat_priv) in cnss_sram_dump_deinit()
4980 static void cnss_sram_dump_deinit(struct cnss_plat_data *plat_priv) in cnss_sram_dump_deinit()
4988 static void cnss_misc_deinit(struct cnss_plat_data *plat_priv) in cnss_misc_deinit()
5006 static void cnss_init_time_sync_period_default(struct cnss_plat_data *plat_priv) in cnss_init_time_sync_period_default()
5014 static void cnss_init_control_params(struct cnss_plat_data *plat_priv) in cnss_init_control_params()
5034 static void cnss_get_pm_domain_info(struct cnss_plat_data *plat_priv) in cnss_get_pm_domain_info()
5044 static void cnss_get_wlaon_pwr_ctrl_info(struct cnss_plat_data *plat_priv) in cnss_get_wlaon_pwr_ctrl_info()
5055 static bool cnss_use_fw_path_with_prefix(struct cnss_plat_data *plat_priv) in cnss_use_fw_path_with_prefix()
5107 cnss_use_nv_mac(struct cnss_plat_data *plat_priv) in cnss_use_nv_mac()
5113 static int cnss_get_dev_cfg_node(struct cnss_plat_data *plat_priv) in cnss_get_dev_cfg_node()
5178 cnss_dt_type(struct cnss_plat_data *plat_priv) in cnss_dt_type()
5195 static int cnss_wlan_device_init(struct cnss_plat_data *plat_priv) in cnss_wlan_device_init()
5229 struct cnss_plat_data *plat_priv; in cnss_wlan_hw_enable() local
5266 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_set_wfc_mode() local
5320 struct cnss_plat_data *plat_priv = cnss_get_plat_priv(NULL); in cnss_tcdev_set_cur_state() local
5476 struct cnss_plat_data *plat_priv; in cnss_probe() local
5636 struct cnss_plat_data *plat_priv = platform_get_drvdata(plat_dev); in cnss_remove() local