Home
last modified time | relevance | path

Searched refs:cmd_array (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/mwifiex/
Dcmdevt.c356 struct cmd_ctrl_node *cmd_array; in mwifiex_alloc_cmd_buffer() local
360 cmd_array = kcalloc(MWIFIEX_NUM_OF_CMD_BUFFER, in mwifiex_alloc_cmd_buffer()
362 if (!cmd_array) in mwifiex_alloc_cmd_buffer()
365 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer()
369 cmd_array[i].skb = dev_alloc_skb(MWIFIEX_SIZE_OF_CMD_BUFFER); in mwifiex_alloc_cmd_buffer()
370 if (!cmd_array[i].skb) { in mwifiex_alloc_cmd_buffer()
378 mwifiex_insert_cmd_to_free_q(adapter, &cmd_array[i]); in mwifiex_alloc_cmd_buffer()
391 struct cmd_ctrl_node *cmd_array; in mwifiex_free_cmd_buffer() local
401 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()
405 if (cmd_array[i].skb) { in mwifiex_free_cmd_buffer()
[all …]
/drivers/net/wireless/libertas_tf/
Dcmd.c462 priv->cmd_array = cmdarray; in lbtf_allocate_cmd_buffer()
501 if (priv->cmd_array == NULL) { in lbtf_free_cmd_buffer()
506 cmdarray = priv->cmd_array; in lbtf_free_cmd_buffer()
515 kfree(priv->cmd_array); in lbtf_free_cmd_buffer()
516 priv->cmd_array = NULL; in lbtf_free_cmd_buffer()
Dlibertas_tf.h209 struct cmd_ctrl_node *cmd_array; member
/drivers/net/wireless/libertas/
Dcmd.c1203 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer()
1241 if (priv->cmd_array == NULL) { in lbs_free_cmd_buffer()
1246 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer()
1257 if (priv->cmd_array) { in lbs_free_cmd_buffer()
1258 kfree(priv->cmd_array); in lbs_free_cmd_buffer()
1259 priv->cmd_array = NULL; in lbs_free_cmd_buffer()
Ddev.h126 struct cmd_ctrl_node *cmd_array; member