Home
last modified time | relevance | path

Searched refs:hostcmd (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_dynamic_config.c199 u64 hostcmd; in sja1105pqrs_l2_lookup_cmd_packing() local
229 hostcmd = SJA1105_HOSTCMD_SEARCH; in sja1105pqrs_l2_lookup_cmd_packing()
231 hostcmd = SJA1105_HOSTCMD_READ; in sja1105pqrs_l2_lookup_cmd_packing()
235 hostcmd = SJA1105_HOSTCMD_WRITE; in sja1105pqrs_l2_lookup_cmd_packing()
237 hostcmd = SJA1105_HOSTCMD_INVALIDATE; in sja1105pqrs_l2_lookup_cmd_packing()
239 sja1105_packing(p, &hostcmd, 25, 23, size, op); in sja1105pqrs_l2_lookup_cmd_packing()
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4045 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local
4066 hostcmd = kzalloc(sizeof(*hostcmd), GFP_KERNEL); in mwifiex_tm_cmd()
4067 if (!hostcmd) in mwifiex_tm_cmd()
4070 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd()
4071 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd()
4072 hostcmd->len); in mwifiex_tm_cmd()
4074 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd()
4076 kfree(hostcmd); in mwifiex_tm_cmd()
4081 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd()
4083 kfree(hostcmd); in mwifiex_tm_cmd()
[all …]
Dcmdevt.c840 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_process_cmdresp() local
846 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
847 hostcmd->len = size; in mwifiex_process_cmdresp()
848 memcpy(hostcmd->cmd, resp, size); in mwifiex_process_cmdresp()