Lines Matching refs:esoc_info

1684 	struct cnss_esoc_info *esoc_info;  in cnss_modem_notifier_nb()  local
1691 esoc_info = &plat_priv->esoc_info; in cnss_modem_notifier_nb()
1694 esoc_info->modem_current_status = 1; in cnss_modem_notifier_nb()
1696 esoc_info->modem_current_status = 0; in cnss_modem_notifier_nb()
1701 esoc_info->modem_current_status)) in cnss_modem_notifier_nb()
1711 struct cnss_esoc_info *esoc_info; in cnss_register_esoc() local
1716 esoc_info = &plat_priv->esoc_info; in cnss_register_esoc()
1718 esoc_info->notify_modem_status = in cnss_register_esoc()
1722 if (!esoc_info->notify_modem_status) in cnss_register_esoc()
1737 esoc_info->esoc_desc = esoc_desc; in cnss_register_esoc()
1741 esoc_info->modem_current_status = 0; in cnss_register_esoc()
1742 esoc_info->modem_notify_handler = in cnss_register_esoc()
1743 subsys_notif_register_notifier(esoc_info->esoc_desc ? in cnss_register_esoc()
1744 esoc_info->esoc_desc->name : in cnss_register_esoc()
1746 if (IS_ERR(esoc_info->modem_notify_handler)) { in cnss_register_esoc()
1747 ret = PTR_ERR(esoc_info->modem_notify_handler); in cnss_register_esoc()
1755 if (esoc_info->esoc_desc) in cnss_register_esoc()
1756 devm_unregister_esoc_client(dev, esoc_info->esoc_desc); in cnss_register_esoc()
1764 struct cnss_esoc_info *esoc_info; in cnss_unregister_esoc() local
1767 esoc_info = &plat_priv->esoc_info; in cnss_unregister_esoc()
1769 if (esoc_info->notify_modem_status) in cnss_unregister_esoc()
1771 (esoc_info->modem_notify_handler, in cnss_unregister_esoc()
1773 if (esoc_info->esoc_desc) in cnss_unregister_esoc()
1774 devm_unregister_esoc_client(dev, esoc_info->esoc_desc); in cnss_unregister_esoc()