Home
last modified time | relevance | path

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

/drivers/net/dsa/sja1105/
Dsja1105_dynamic_config.c266 u64 hostcmd; in sja1105pqrs_common_l2_lookup_cmd_packing() local
296 hostcmd = SJA1105_HOSTCMD_SEARCH; in sja1105pqrs_common_l2_lookup_cmd_packing()
298 hostcmd = SJA1105_HOSTCMD_READ; in sja1105pqrs_common_l2_lookup_cmd_packing()
302 hostcmd = SJA1105_HOSTCMD_WRITE; in sja1105pqrs_common_l2_lookup_cmd_packing()
304 hostcmd = SJA1105_HOSTCMD_INVALIDATE; in sja1105pqrs_common_l2_lookup_cmd_packing()
306 sja1105_packing(p, &hostcmd, 25, 23, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing()
/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c4083 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local
4104 hostcmd = kzalloc(sizeof(*hostcmd), GFP_KERNEL); in mwifiex_tm_cmd()
4105 if (!hostcmd) in mwifiex_tm_cmd()
4108 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd()
4109 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd()
4110 hostcmd->len); in mwifiex_tm_cmd()
4112 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd()
4114 kfree(hostcmd); in mwifiex_tm_cmd()
4119 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd()
4121 kfree(hostcmd); in mwifiex_tm_cmd()
[all …]
Dcmdevt.c842 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_process_cmdresp() local
848 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
849 hostcmd->len = size; in mwifiex_process_cmdresp()
850 memcpy(hostcmd->cmd, resp, size); in mwifiex_process_cmdresp()