Home
last modified time | relevance | path

Searched refs:cmdnode (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
H A Dcmd.c205 struct cmd_ctrl_node *cmdnode) in lbtf_queue_cmd()
210 if (!cmdnode) { in lbtf_queue_cmd()
211 lbtf_deb_host("QUEUE_CMD: cmdnode is NULL\n"); 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()
244 cmd = cmdnode->cmdbuf; in lbtf_submit_command()
247 priv->cur_cmd = cmdnode; in lbtf_submit_command()
204 lbtf_queue_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) lbtf_queue_cmd() argument
232 lbtf_submit_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) lbtf_submit_command() argument
275 __lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) __lbtf_cleanup_and_insert_cmd() argument
562 struct cmd_ctrl_node *cmdnode = NULL; lbtf_execute_next_command() local
609 struct cmd_ctrl_node *cmdnode; __lbtf_cmd_async() local
667 struct cmd_ctrl_node *cmdnode; __lbtf_cmd() local
[all...]
H A Dmain.c99 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work() local
102 lbtf_complete_command(priv, cmdnode, in lbtf_cmd_work()
110 list_add(&cmdnode->list, &priv->cmdpendingq); in lbtf_cmd_work()
275 struct cmd_ctrl_node *cmdnode; in lbtf_op_stop() local
281 list_for_each_entry(cmdnode, &priv->cmdpendingq, list) { in lbtf_op_stop()
282 cmdnode->result = -ENOENT; in lbtf_op_stop()
283 cmdnode->cmdwaitqwoken = 1; in lbtf_op_stop()
284 wake_up_interruptible(&cmdnode->cmdwait_q); in lbtf_op_stop()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas_tf/
H A Dcmd.c205 struct cmd_ctrl_node *cmdnode) in lbtf_queue_cmd()
210 if (!cmdnode) { in lbtf_queue_cmd()
211 lbtf_deb_host("QUEUE_CMD: cmdnode is NULL\n"); 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()
244 cmd = cmdnode->cmdbuf; in lbtf_submit_command()
247 priv->cur_cmd = cmdnode; in lbtf_submit_command()
204 lbtf_queue_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) lbtf_queue_cmd() argument
232 lbtf_submit_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) lbtf_submit_command() argument
275 __lbtf_cleanup_and_insert_cmd(struct lbtf_private *priv, struct cmd_ctrl_node *cmdnode) __lbtf_cleanup_and_insert_cmd() argument
562 struct cmd_ctrl_node *cmdnode = NULL; lbtf_execute_next_command() local
609 struct cmd_ctrl_node *cmdnode; __lbtf_cmd_async() local
667 struct cmd_ctrl_node *cmdnode; __lbtf_cmd() local
[all...]
H A Dmain.c99 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work() local
102 lbtf_complete_command(priv, cmdnode, in lbtf_cmd_work()
110 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()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Dcmd.c891 struct cmd_ctrl_node *cmdnode) in lbs_queue_cmd()
896 if (!cmdnode) { in lbs_queue_cmd()
897 lbs_deb_host("QUEUE_CMD: cmdnode is NULL\n"); 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 in lbs_queue_cmd()
890 lbs_queue_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) lbs_queue_cmd() argument
932 lbs_submit_command(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) lbs_submit_command() argument
988 __lbs_cleanup_and_insert_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) __lbs_cleanup_and_insert_cmd() argument
1231 struct cmd_ctrl_node *cmdnode = NULL; lbs_execute_next_command() local
1504 struct cmd_ctrl_node *cmdnode; __lbs_cmd_async() local
1566 struct cmd_ctrl_node *cmdnode; __lbs_cmd() local
[all...]
H A Dmain.c550 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()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A Dcmd.c890 struct cmd_ctrl_node *cmdnode) in lbs_queue_cmd()
895 if (!cmdnode) { in lbs_queue_cmd()
896 lbs_deb_host("QUEUE_CMD: cmdnode is NULL\n"); in lbs_queue_cmd()
899 if (!cmdnode->cmdbuf->size) { in lbs_queue_cmd()
903 cmdnode->result = 0; in lbs_queue_cmd()
906 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { in lbs_queue_cmd()
907 struct cmd_ds_802_11_ps_mode *psm = (void *)cmdnode->cmdbuf; in lbs_queue_cmd()
915 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) in lbs_queue_cmd()
921 list_add_tail(&cmdnode->list, &priv->cmdpendingq); in lbs_queue_cmd()
923 list_add(&cmdnode in lbs_queue_cmd()
889 lbs_queue_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) lbs_queue_cmd() argument
931 lbs_submit_command(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) lbs_submit_command() argument
987 __lbs_cleanup_and_insert_cmd(struct lbs_private *priv, struct cmd_ctrl_node *cmdnode) __lbs_cleanup_and_insert_cmd() argument
1239 struct cmd_ctrl_node *cmdnode = NULL; lbs_execute_next_command() local
1512 struct cmd_ctrl_node *cmdnode; __lbs_cmd_async() local
1574 struct cmd_ctrl_node *cmdnode; __lbs_cmd() local
[all...]
H A Dmain.c549 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() local
552 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_thread()
553 lbs_complete_command(priv, cmdnode, -ETIMEDOUT); in lbs_thread()

Completed in 9 milliseconds