Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c78 struct sk_buff *cmd_skb, in qtnf_cmd_send_with_reply() argument
92 cmd = (struct qlink_cmd *)cmd_skb->data; in qtnf_cmd_send_with_reply()
96 cmd->mhdr.len = cpu_to_le16(cmd_skb->len); in qtnf_cmd_send_with_reply()
103 dev_kfree_skb(cmd_skb); in qtnf_cmd_send_with_reply()
107 ret = qtnf_trans_send_cmd_with_resp(bus, cmd_skb, &resp_skb); in qtnf_cmd_send_with_reply()
142 static inline int qtnf_cmd_send(struct qtnf_bus *bus, struct sk_buff *cmd_skb) in qtnf_cmd_send() argument
144 return qtnf_cmd_send_with_reply(bus, cmd_skb, NULL, in qtnf_cmd_send()
152 struct sk_buff *cmd_skb; in qtnf_cmd_alloc_new_cmdskb() local
154 cmd_skb = __dev_alloc_skb(sizeof(*cmd) + in qtnf_cmd_alloc_new_cmdskb()
156 if (unlikely(!cmd_skb)) { in qtnf_cmd_alloc_new_cmdskb()
[all …]
Dtrans.c15 int qtnf_trans_send_cmd_with_resp(struct qtnf_bus *bus, struct sk_buff *cmd_skb, in qtnf_trans_send_cmd_with_resp() argument
19 struct qlink_cmd *cmd = (void *)cmd_skb->data; in qtnf_trans_send_cmd_with_resp()
26 dev_kfree_skb(cmd_skb); in qtnf_trans_send_cmd_with_resp()
37 ret = qtnf_bus_control_tx(bus, cmd_skb); in qtnf_trans_send_cmd_with_resp()
38 dev_kfree_skb(cmd_skb); in qtnf_trans_send_cmd_with_resp()
Dtrans.h41 struct sk_buff *cmd_skb,
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c53 cmd_node->cmd_skb = cmd_node->skb; in mwifiex_init_cmd_node()
100 if (cmd_node->cmd_skb) in mwifiex_clean_cmd_node()
101 skb_trim(cmd_node->cmd_skb, 0); in mwifiex_clean_cmd_node()
137 struct host_cmd_ds_command *host_cmd = (void *)cmd_node->cmd_skb->data; in mwifiex_recycle_cmd_node()
187 host_cmd = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data); in mwifiex_dnld_cmd_to_fw()
227 if (cmd_node->cmd_skb->len > cmd_size) in mwifiex_dnld_cmd_to_fw()
232 skb_trim(cmd_node->cmd_skb, cmd_size); in mwifiex_dnld_cmd_to_fw()
233 else if (cmd_node->cmd_skb->len < cmd_size) in mwifiex_dnld_cmd_to_fw()
239 skb_put(cmd_node->cmd_skb, cmd_size - cmd_node->cmd_skb->len); in mwifiex_dnld_cmd_to_fw()
249 skb_push(cmd_node->cmd_skb, MWIFIEX_TYPE_LEN); in mwifiex_dnld_cmd_to_fw()
[all …]
Dmain.h753 struct sk_buff *cmd_skb; member
Dscan.c2596 cmd_ptr = (void *)cmd_node->cmd_skb->data; in mwifiex_ret_802_11_scan_ext()