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.c4085 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local
4106 hostcmd = kzalloc(sizeof(*hostcmd), GFP_KERNEL); in mwifiex_tm_cmd()
4107 if (!hostcmd) in mwifiex_tm_cmd()
4110 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd()
4111 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd()
4112 hostcmd->len); in mwifiex_tm_cmd()
4114 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd()
4116 kfree(hostcmd); in mwifiex_tm_cmd()
4121 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd()
4123 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()