Searched refs:cmdnode (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 205 struct cmd_ctrl_node *cmdnode) in lbtf_queue_cmd() argument 210 if (!cmdnode) { in lbtf_queue_cmd() 215 if (!cmdnode->cmdbuf->size) { in lbtf_queue_cmd() 220 cmdnode->result = 0; in lbtf_queue_cmd() 222 list_add_tail(&cmdnode->list, &priv->cmdpendingq); in lbtf_queue_cmd() 226 le16_to_cpu(cmdnode->cmdbuf->command)); in lbtf_queue_cmd() 233 struct cmd_ctrl_node *cmdnode) in lbtf_submit_command() argument 244 cmd = cmdnode->cmdbuf; in lbtf_submit_command() 247 priv->cur_cmd = cmdnode; in lbtf_submit_command() 253 lbtf_deb_hex(LBTF_DEB_CMD, "DNLD_CMD", (void *) cmdnode->cmdbuf, cmdsize); in lbtf_submit_command() [all …]
|
D | main.c | 100 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work() local 103 lbtf_complete_command(priv, cmdnode, in lbtf_cmd_work() 111 list_add(&cmdnode->list, &priv->cmdpendingq); in lbtf_cmd_work() 276 struct cmd_ctrl_node *cmdnode; in lbtf_op_stop() local 282 list_for_each_entry(cmdnode, &priv->cmdpendingq, list) { in lbtf_op_stop() 283 cmdnode->result = -ENOENT; in lbtf_op_stop() 284 cmdnode->cmdwaitqwoken = 1; in lbtf_op_stop() 285 wake_up_interruptible(&cmdnode->cmdwait_q); in lbtf_op_stop()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 891 struct cmd_ctrl_node *cmdnode) in lbs_queue_cmd() argument 896 if (!cmdnode) { in lbs_queue_cmd() 900 if (!cmdnode->cmdbuf->size) { in lbs_queue_cmd() 904 cmdnode->result = 0; in lbs_queue_cmd() 907 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { in lbs_queue_cmd() 908 struct cmd_ds_802_11_ps_mode *psm = (void *)cmdnode->cmdbuf; in lbs_queue_cmd() 916 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) in lbs_queue_cmd() 922 list_add_tail(&cmdnode->list, &priv->cmdpendingq); in lbs_queue_cmd() 924 list_add(&cmdnode->list, &priv->cmdpendingq); in lbs_queue_cmd() 929 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_queue_cmd() [all …]
|
D | main.c | 550 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() local 553 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_thread() 554 lbs_complete_command(priv, cmdnode, -ETIMEDOUT); in lbs_thread()
|