Home
last modified time | relevance | path

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

/drivers/nfc/st95hf/
Dcore.c120 static const struct cmd cmd_array[] = { variable
253 if (cmd_array[cmd].cmd_len > MAX_CMD_LEN) in st95hf_send_recv_cmd()
255 if (cmd_array[cmd].no_cmd_params < no_modif) in st95hf_send_recv_cmd()
261 spi_cmd_buffer[1] = cmd_array[cmd].cmd_id; in st95hf_send_recv_cmd()
262 spi_cmd_buffer[2] = cmd_array[cmd].no_cmd_params; in st95hf_send_recv_cmd()
264 memcpy(&spi_cmd_buffer[3], cmd_array[cmd].cmd_params, in st95hf_send_recv_cmd()
268 if (list_array[i].param_offset >= cmd_array[cmd].no_cmd_params) in st95hf_send_recv_cmd()
276 cmd_array[cmd].cmd_len, in st95hf_send_recv_cmd()
277 cmd_array[cmd].req); in st95hf_send_recv_cmd()
283 if (cmd_array[cmd].req == SYNC && recv_res) { in st95hf_send_recv_cmd()
[all …]
/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c391 struct cmd_ctrl_node *cmd_array; in mwifiex_alloc_cmd_buffer() local
395 cmd_array = kcalloc(MWIFIEX_NUM_OF_CMD_BUFFER, in mwifiex_alloc_cmd_buffer()
397 if (!cmd_array) in mwifiex_alloc_cmd_buffer()
400 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer()
404 cmd_array[i].skb = dev_alloc_skb(MWIFIEX_SIZE_OF_CMD_BUFFER); in mwifiex_alloc_cmd_buffer()
405 if (!cmd_array[i].skb) { in mwifiex_alloc_cmd_buffer()
413 mwifiex_insert_cmd_to_free_q(adapter, &cmd_array[i]); in mwifiex_alloc_cmd_buffer()
426 struct cmd_ctrl_node *cmd_array; in mwifiex_free_cmd_buffer() local
436 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()
440 if (cmd_array[i].skb) { in mwifiex_free_cmd_buffer()
[all …]
/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c458 priv->cmd_array = cmdarray; in lbtf_allocate_cmd_buffer()
497 if (priv->cmd_array == NULL) { in lbtf_free_cmd_buffer()
502 cmdarray = priv->cmd_array; in lbtf_free_cmd_buffer()
511 kfree(priv->cmd_array); in lbtf_free_cmd_buffer()
512 priv->cmd_array = NULL; in lbtf_free_cmd_buffer()
Dlibertas_tf.h209 struct cmd_ctrl_node *cmd_array; member
/drivers/net/wireless/marvell/libertas/
Dcmd.c1127 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer()
1162 if (priv->cmd_array == NULL) { in lbs_free_cmd_buffer()
1167 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer()
1178 if (priv->cmd_array) { in lbs_free_cmd_buffer()
1179 kfree(priv->cmd_array); in lbs_free_cmd_buffer()
1180 priv->cmd_array = NULL; in lbs_free_cmd_buffer()
Ddev.h127 struct cmd_ctrl_node *cmd_array; member