Home
last modified time | relevance | path

Searched refs:cmdnode (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/libertas_tf/
Dcmd.c209 struct cmd_ctrl_node *cmdnode) in lbtf_queue_cmd() argument
214 if (!cmdnode) { in lbtf_queue_cmd()
219 if (!cmdnode->cmdbuf->size) { in lbtf_queue_cmd()
224 cmdnode->result = 0; in lbtf_queue_cmd()
226 list_add_tail(&cmdnode->list, &priv->cmdpendingq); in lbtf_queue_cmd()
230 le16_to_cpu(cmdnode->cmdbuf->command)); in lbtf_queue_cmd()
237 struct cmd_ctrl_node *cmdnode) in lbtf_submit_command() argument
248 cmd = cmdnode->cmdbuf; in lbtf_submit_command()
251 priv->cur_cmd = cmdnode; in lbtf_submit_command()
257 lbtf_deb_hex(LBTF_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); in lbtf_submit_command()
[all …]
Dmain.c111 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work() local
114 lbtf_complete_command(priv, cmdnode, in lbtf_cmd_work()
122 list_add(&cmdnode->list, &priv->cmdpendingq); in lbtf_cmd_work()
345 struct cmd_ctrl_node *cmdnode; in lbtf_op_stop() local
351 list_for_each_entry(cmdnode, &priv->cmdpendingq, list) { in lbtf_op_stop()
352 cmdnode->result = -ENOENT; in lbtf_op_stop()
353 cmdnode->cmdwaitqwoken = 1; in lbtf_op_stop()
354 wake_up_interruptible(&cmdnode->cmdwait_q); in lbtf_op_stop()
/drivers/net/wireless/libertas/
Dcmd.c941 struct cmd_ctrl_node *cmdnode) in lbs_queue_cmd() argument
948 if (!cmdnode) { in lbs_queue_cmd()
952 if (!cmdnode->cmdbuf->size) { in lbs_queue_cmd()
956 cmdnode->result = 0; in lbs_queue_cmd()
959 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { in lbs_queue_cmd()
960 struct cmd_ds_802_11_ps_mode *psm = (void *) &cmdnode->cmdbuf; in lbs_queue_cmd()
968 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) in lbs_queue_cmd()
974 list_add_tail(&cmdnode->list, &priv->cmdpendingq); in lbs_queue_cmd()
976 list_add(&cmdnode->list, &priv->cmdpendingq); in lbs_queue_cmd()
981 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_queue_cmd()
[all …]
Dmain.c569 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() local
572 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_thread()
573 lbs_complete_command(priv, cmdnode, -ETIMEDOUT); in lbs_thread()