Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nfc/st95hf/
Dcore.c121 static const struct cmd cmd_array[] = { variable
254 if (cmd_array[cmd].cmd_len > MAX_CMD_LEN) in st95hf_send_recv_cmd()
256 if (cmd_array[cmd].no_cmd_params < no_modif) in st95hf_send_recv_cmd()
262 spi_cmd_buffer[1] = cmd_array[cmd].cmd_id; in st95hf_send_recv_cmd()
263 spi_cmd_buffer[2] = cmd_array[cmd].no_cmd_params; in st95hf_send_recv_cmd()
265 memcpy(&spi_cmd_buffer[3], cmd_array[cmd].cmd_params, in st95hf_send_recv_cmd()
269 if (list_array[i].param_offset >= cmd_array[cmd].no_cmd_params) in st95hf_send_recv_cmd()
277 cmd_array[cmd].cmd_len, in st95hf_send_recv_cmd()
278 cmd_array[cmd].req); in st95hf_send_recv_cmd()
284 if (cmd_array[cmd].req == SYNC && recv_res) { in st95hf_send_recv_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c403 struct cmd_ctrl_node *cmd_array; in mwifiex_alloc_cmd_buffer() local
407 cmd_array = kcalloc(MWIFIEX_NUM_OF_CMD_BUFFER, in mwifiex_alloc_cmd_buffer()
409 if (!cmd_array) in mwifiex_alloc_cmd_buffer()
412 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer()
416 cmd_array[i].skb = dev_alloc_skb(MWIFIEX_SIZE_OF_CMD_BUFFER); in mwifiex_alloc_cmd_buffer()
417 if (!cmd_array[i].skb) { in mwifiex_alloc_cmd_buffer()
425 mwifiex_insert_cmd_to_free_q(adapter, &cmd_array[i]); in mwifiex_alloc_cmd_buffer()
438 struct cmd_ctrl_node *cmd_array; in mwifiex_free_cmd_buffer() local
448 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()
452 if (cmd_array[i].skb) { in mwifiex_free_cmd_buffer()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcmd.c1128 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer()
1163 if (priv->cmd_array == NULL) { in lbs_free_cmd_buffer()
1168 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer()
1179 if (priv->cmd_array) { in lbs_free_cmd_buffer()
1180 kfree(priv->cmd_array); in lbs_free_cmd_buffer()
1181 priv->cmd_array = NULL; in lbs_free_cmd_buffer()
Ddev.h127 struct cmd_ctrl_node *cmd_array; member