Lines Matching refs:smp2p_entry
476 enum smp2p_out_entry smp2p_entry) in icnss_is_smp2p_valid() argument
481 return IS_ERR_OR_NULL(priv->smp2p_info[smp2p_entry].smem_state); in icnss_is_smp2p_valid()
488 enum smp2p_out_entry smp2p_entry) in icnss_send_smp2p() argument
493 if (!priv || icnss_is_smp2p_valid(priv, smp2p_entry)) in icnss_send_smp2p()
498 priv->smp2p_info[smp2p_entry].seq = 0; in icnss_send_smp2p()
500 priv->smp2p_info[smp2p_entry].smem_state, in icnss_send_smp2p()
505 ret, icnss_smp2p_str[smp2p_entry]); in icnss_send_smp2p()
517 value |= priv->smp2p_info[smp2p_entry].seq++; in icnss_send_smp2p()
527 priv->smp2p_info[smp2p_entry].smem_state, in icnss_send_smp2p()
532 icnss_smp2p_str[smp2p_entry]); in icnss_send_smp2p()
540 icnss_smp2p_str[smp2p_entry]); in icnss_send_smp2p()
812 enum smp2p_out_entry smp2p_entry) in icnss_get_smp2p_info() argument
817 if (priv->smp2p_info[smp2p_entry].smem_state) in icnss_get_smp2p_info()
820 priv->smp2p_info[smp2p_entry].smem_state = in icnss_get_smp2p_info()
822 icnss_smp2p_str[smp2p_entry], in icnss_get_smp2p_info()
823 &priv->smp2p_info[smp2p_entry].smem_bit); in icnss_get_smp2p_info()
824 if (icnss_is_smp2p_valid(priv, smp2p_entry)) { in icnss_get_smp2p_info()
826 error = PTR_ERR(priv->smp2p_info[smp2p_entry].smem_state); in icnss_get_smp2p_info()
828 error, icnss_smp2p_str[smp2p_entry]); in icnss_get_smp2p_info()
836 icnss_pr_dbg("smem state, Entry: %s", icnss_smp2p_str[smp2p_entry]); in icnss_get_smp2p_info()