Searched refs:cmd_array (Results 1 – 6 of 6) sorted by relevance
121 static const struct cmd cmd_array[] = { variable254 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 …]
403 struct cmd_ctrl_node *cmd_array; in mwifiex_alloc_cmd_buffer() local407 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() local448 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()452 if (cmd_array[i].skb) { in mwifiex_free_cmd_buffer()[all …]
458 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()
209 struct cmd_ctrl_node *cmd_array; member
1128 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()
127 struct cmd_ctrl_node *cmd_array; member