Searched refs:wsm_cmd (Results 1 – 5 of 5) sorted by relevance
1086 spin_lock(&priv->wsm_cmd.lock); in wsm_cmd_send()1087 while (!priv->wsm_cmd.done) { in wsm_cmd_send()1088 spin_unlock(&priv->wsm_cmd.lock); in wsm_cmd_send()1089 spin_lock(&priv->wsm_cmd.lock); in wsm_cmd_send()1091 priv->wsm_cmd.done = 0; in wsm_cmd_send()1092 spin_unlock(&priv->wsm_cmd.lock); in wsm_cmd_send()1113 spin_lock(&priv->wsm_cmd.lock); in wsm_cmd_send()1114 BUG_ON(priv->wsm_cmd.ptr); in wsm_cmd_send()1115 priv->wsm_cmd.ptr = buf->begin; in wsm_cmd_send()1116 priv->wsm_cmd.len = buf_len; in wsm_cmd_send()[all …]
250 spin_lock(&priv->wsm_cmd.lock); in cw1200_status_show()252 priv->wsm_cmd.done ? "idle" : "active"); in cw1200_status_show()254 priv->wsm_cmd.cmd, priv->wsm_cmd.len); in cw1200_status_show()256 priv->wsm_cmd.ret); in cw1200_status_show()257 spin_unlock(&priv->wsm_cmd.lock); in cw1200_status_show()
216 struct wsm_cmd wsm_cmd; member
407 spin_lock_init(&priv->wsm_cmd.lock); in cw1200_init_common()408 priv->wsm_cmd.done = 1; in cw1200_init_common()
1829 struct wsm_cmd { struct