Searched refs:cnss_plat_data (Results 1 – 13 of 13) sorted by relevance
/wlan-driver/platform/cnss2/ |
H A D | qmi.h | 13 struct cnss_plat_data; 38 int cnss_qmi_init(struct cnss_plat_data *plat_priv); 39 void cnss_qmi_deinit(struct cnss_plat_data *plat_priv); 40 unsigned int cnss_get_qmi_timeout(struct cnss_plat_data *plat_priv); 41 int cnss_wlfw_server_arrive(struct cnss_plat_data *plat_priv, void *data); 42 int cnss_wlfw_server_exit(struct cnss_plat_data *plat_priv); 43 int cnss_wlfw_respond_mem_send_sync(struct cnss_plat_data *plat_priv); 44 int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv); 45 int cnss_wlfw_bdf_dnld_send_sync(struct cnss_plat_data *plat_priv, 47 int cnss_wlfw_tme_patch_dnld_send_sync(struct cnss_plat_data *plat_priv, [all …]
|
H A D | bus.h | 17 enum cnss_dev_bus_type cnss_get_bus_type(struct cnss_plat_data *plat_priv); 19 struct cnss_plat_data *cnss_bus_dev_to_plat_priv(struct device *dev); 20 int cnss_bus_init(struct cnss_plat_data *plat_priv); 21 void cnss_bus_deinit(struct cnss_plat_data *plat_priv); 22 void cnss_bus_add_fw_prefix_name(struct cnss_plat_data *plat_priv, 24 int cnss_bus_load_tme_patch(struct cnss_plat_data *plat_priv); 25 int cnss_bus_load_tme_opt_file(struct cnss_plat_data *plat_priv, 27 int cnss_bus_runtime_pm_get_sync(struct cnss_plat_data *plat_priv); 28 void cnss_bus_runtime_pm_put(struct cnss_plat_data *plat_priv); 29 int cnss_bus_load_m3(struct cnss_plat_data *plat_priv); [all …]
|
H A D | main.h | 508 struct cnss_plat_data { struct 654 static inline u64 cnss_get_host_timestamp(struct cnss_plat_data *plat_priv) in cnss_get_host_timestamp() argument 663 static inline u64 cnss_get_host_timestamp(struct cnss_plat_data *plat_priv) in cnss_get_host_timestamp() 673 int cnss_wlan_hw_disable_check(struct cnss_plat_data *plat_priv); 675 struct cnss_plat_data *cnss_get_plat_priv(struct platform_device *plat_dev); 676 struct cnss_plat_data *cnss_get_first_plat_priv(struct platform_device *plat_dev); 677 void cnss_pm_stay_awake(struct cnss_plat_data *plat_priv); 678 void cnss_pm_relax(struct cnss_plat_data *plat_priv); 679 struct cnss_plat_data *cnss_get_plat_priv_by_rc_num(int rc_num); 681 struct cnss_plat_data *cnss_get_plat_env(int index); [all …]
|
H A D | bus.c | 25 enum cnss_dev_bus_type cnss_get_bus_type(struct cnss_plat_data *plat_priv) in cnss_get_bus_type() 76 struct cnss_plat_data *cnss_bus_dev_to_plat_priv(struct device *dev) in cnss_bus_dev_to_plat_priv() 95 int cnss_bus_init(struct cnss_plat_data *plat_priv) in cnss_bus_init() 110 void cnss_bus_deinit(struct cnss_plat_data *plat_priv) in cnss_bus_deinit() 125 void cnss_bus_add_fw_prefix_name(struct cnss_plat_data *plat_priv, in cnss_bus_add_fw_prefix_name() 142 int cnss_bus_load_tme_patch(struct cnss_plat_data *plat_priv) in cnss_bus_load_tme_patch() 157 int cnss_bus_load_tme_opt_file(struct cnss_plat_data *plat_priv, in cnss_bus_load_tme_opt_file() 173 int cnss_bus_load_m3(struct cnss_plat_data *plat_priv) in cnss_bus_load_m3() 188 int cnss_bus_load_aux(struct cnss_plat_data *plat_priv) in cnss_bus_load_aux() 203 int cnss_bus_handle_dev_sol_irq(struct cnss_plat_data *plat_priv) in cnss_bus_handle_dev_sol_irq() [all …]
|
H A D | main.c | 101 static struct cnss_plat_data *plat_env[CNSS_MAX_DEV_NUM]; 104 static struct cnss_plat_data *plat_env; 160 struct cnss_plat_data *plat_priv) in cnss_set_plat_priv() 172 struct cnss_plat_data *cnss_get_plat_priv(struct platform_device in cnss_get_plat_priv() 187 struct cnss_plat_data *cnss_get_first_plat_priv(struct platform_device in cnss_get_first_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() 228 struct cnss_plat_data *cnss_get_plat_env(int index) in cnss_get_plat_env() 233 struct cnss_plat_data *cnss_get_plat_priv_by_rc_num(int rc_num) in cnss_get_plat_priv_by_rc_num() 245 cnss_get_qrtr_node_id(struct cnss_plat_data *plat_priv) in cnss_get_qrtr_node_id() [all …]
|
H A D | power.c | 132 static int cnss_get_vreg_single(struct cnss_plat_data *plat_priv, in cnss_get_vreg_single() 185 static void cnss_put_vreg_single(struct cnss_plat_data *plat_priv, in cnss_put_vreg_single() 340 static int cnss_get_vreg(struct cnss_plat_data *plat_priv, in cnss_get_vreg() 417 static void cnss_put_vreg(struct cnss_plat_data *plat_priv, in cnss_put_vreg() 432 static int cnss_vreg_on(struct cnss_plat_data *plat_priv, in cnss_vreg_on() 459 static int cnss_vreg_off(struct cnss_plat_data *plat_priv, in cnss_vreg_off() 474 static int cnss_vreg_unvote(struct cnss_plat_data *plat_priv, in cnss_vreg_unvote() 490 int cnss_get_vreg_type(struct cnss_plat_data *plat_priv, in cnss_get_vreg_type() 514 void cnss_put_vreg_type(struct cnss_plat_data *plat_priv, in cnss_put_vreg_type() 526 int cnss_vreg_on_type(struct cnss_plat_data *plat_priv, in cnss_vreg_on_type() [all …]
|
H A D | qmi.c | 150 static int cnss_wlfw_ind_register_send_sync(struct cnss_plat_data *plat_priv) in cnss_wlfw_ind_register_send_sync() 249 static void cnss_wlfw_host_cap_parse_mlo(struct cnss_plat_data *plat_priv, in cnss_wlfw_host_cap_parse_mlo() 278 static int cnss_wlfw_host_cap_send_sync(struct cnss_plat_data *plat_priv) in cnss_wlfw_host_cap_send_sync() 412 int cnss_wlfw_respond_mem_send_sync(struct cnss_plat_data *plat_priv) in cnss_wlfw_respond_mem_send_sync() 507 int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv) in cnss_wlfw_tgt_cap_send_sync() 701 static int cnss_get_bdf_file_name(struct cnss_plat_data *plat_priv, in cnss_get_bdf_file_name() 777 int cnss_wlfw_bdf_dnld_send_sync(struct cnss_plat_data *plat_priv, in cnss_wlfw_bdf_dnld_send_sync() 917 int cnss_wlfw_tme_patch_dnld_send_sync(struct cnss_plat_data *plat_priv, in cnss_wlfw_tme_patch_dnld_send_sync() 998 int cnss_wlfw_tme_opt_file_dnld_send_sync(struct cnss_plat_data *plat_priv, in cnss_wlfw_tme_opt_file_dnld_send_sync() 1100 int cnss_wlfw_m3_dnld_send_sync(struct cnss_plat_data *plat_priv) in cnss_wlfw_m3_dnld_send_sync() [all …]
|
H A D | debug.c | 47 struct cnss_plat_data *cnss_priv = s->private; in cnss_pin_connect_show() 76 static u64 cnss_get_serial_id(struct cnss_plat_data *plat_priv) in cnss_get_serial_id() 86 struct cnss_plat_data *plat_priv) in cnss_stats_show_state() 201 struct cnss_plat_data *plat_priv) in cnss_stats_show_gpio_state() 211 struct cnss_plat_data *plat_priv = s->private; in cnss_stats_show() 236 struct cnss_plat_data *plat_priv = in cnss_dev_boot_debug_write() 364 struct cnss_plat_data *plat_priv = s->private; in cnss_reg_read_debug_show() 397 struct cnss_plat_data *plat_priv = in cnss_reg_read_debug_write() 514 struct cnss_plat_data *plat_priv = in cnss_reg_write_debug_write() 600 struct cnss_plat_data *plat_priv = in cnss_runtime_pm_debug_write() [all …]
|
H A D | pci.c | 1141 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_select_window() 1185 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_reg_read() 1222 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_reg_write() 1298 static int cnss_setup_bus_bandwidth(struct cnss_plat_data *plat_priv, in cnss_setup_bus_bandwidth() 1333 struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev); in cnss_request_bus_bandwidth() 1344 static int cnss_setup_bus_bandwidth(struct cnss_plat_data *plat_priv, in cnss_setup_bus_bandwidth() 1440 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_set_pci_config_space() 1475 struct cnss_plat_data *plat_priv; in cnss_update_supported_link_info() 1718 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_handle_linkdown() 1758 struct cnss_plat_data *plat_priv = NULL; in cnss_pci_link_down() [all …]
|
H A D | pci_qcom.c | 37 int _cnss_pci_enumerate(struct cnss_plat_data *plat_priv, u32 rc_num) in _cnss_pci_enumerate() 165 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_update_drv_supported() 199 struct cnss_plat_data *plat_priv = NULL; in cnss_pci_event_cb() 300 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_wlan_adsp_pc_enable() 368 struct cnss_plat_data *plat_priv; in cnss_set_pci_link() 514 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_is_force_one_msi() 570 struct cnss_plat_data *plat_priv = pci_priv->plat_priv; in cnss_pci_init_smmu()
|
H A D | pci.h | 133 struct cnss_plat_data *plat_priv; 200 static inline struct cnss_plat_data *cnss_pci_priv_to_plat_priv(void *bus_priv) in cnss_pci_priv_to_plat_priv() 255 int cnss_pci_init(struct cnss_plat_data *plat_priv); 256 void cnss_pci_deinit(struct cnss_plat_data *plat_priv);
|
H A D | debug.h | 103 int cnss_debugfs_create(struct cnss_plat_data *plat_priv); 104 void cnss_debugfs_destroy(struct cnss_plat_data *plat_priv);
|
H A D | pci_platform.h | 20 int _cnss_pci_enumerate(struct cnss_plat_data *plat_priv, u32 rc_num); 131 int _cnss_pci_enumerate(struct cnss_plat_data *plat_priv, u32 rc_num) in _cnss_pci_enumerate()
|