Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dcmdevt.c737 struct nxpwifi_ds_misc_cmd *hostcmd; in nxpwifi_process_cmdresp() local
744 hostcmd = adapter->curr_cmd->data_buf; in nxpwifi_process_cmdresp()
745 hostcmd->len = size; in nxpwifi_process_cmdresp()
746 memcpy(hostcmd->cmd, resp, size); in nxpwifi_process_cmdresp()
1301 int nxpwifi_hostcmd(struct nxpwifi_private *priv, struct nxpwifi_ds_misc_cmd *hostcmd) in nxpwifi_hostcmd() argument
1303 return nxpwifi_send_cmd(priv, 0, 0, 0, hostcmd, true); in nxpwifi_hostcmd()
H A Dcfg80211.c3211 struct nxpwifi_ds_misc_cmd *hostcmd; in nxpwifi_tm_cmd()
3232 hostcmd = kzalloc_obj(*hostcmd); in nxpwifi_tm_cmd()
3233 if (!hostcmd) in nxpwifi_tm_cmd()
3236 hostcmd->len = nla_len(tb[NXPWIFI_TM_ATTR_DATA]); in nxpwifi_tm_cmd()
3237 memcpy(hostcmd->cmd, nla_data(tb[NXPWIFI_TM_ATTR_DATA]), in nxpwifi_tm_cmd()
3238 hostcmd->len); in nxpwifi_tm_cmd()
3240 if (nxpwifi_hostcmd(priv, hostcmd)) { in nxpwifi_tm_cmd()
3241 nxpwifi_dbg(priv->adapter, ERROR, "Failed to process hostcmd\n"); in nxpwifi_tm_cmd()
3242 kfree(hostcmd); in nxpwifi_tm_cmd()
3209 struct nxpwifi_ds_misc_cmd *hostcmd; nxpwifi_tm_cmd() local
[all...]
H A Dcmdevt.h120 int nxpwifi_hostcmd(struct nxpwifi_private *priv, struct nxpwifi_ds_misc_cmd *hostcmd);
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c1517 struct mwifiex_ds_misc_cmd *hostcmd __free(kfree) = NULL; in mwifiex_send_rgpower_table()
1519 hostcmd = kzalloc_obj(*hostcmd); in mwifiex_send_rgpower_table()
1520 if (!hostcmd) in mwifiex_send_rgpower_table()
1528 ptr = hostcmd->cmd; in mwifiex_send_rgpower_table()
1540 hostcmd->len = get_unaligned_le16(&hostcmd->cmd[2]); in mwifiex_send_rgpower_table()
1541 ret = mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, false); in mwifiex_send_rgpower_table()
1549 memset(hostcmd->cmd, 0, MWIFIEX_SIZE_OF_CMD_BUFFER); in mwifiex_send_rgpower_table()
1550 ptr = hostcmd->cmd; in mwifiex_send_rgpower_table()
1573 if (ptr - hostcmd->cmd >= MWIFIEX_SIZE_OF_CMD_BUFFER) { in mwifiex_send_rgpower_table()
H A Dcfg80211.c4144 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local
4165 hostcmd = kzalloc_obj(*hostcmd); in mwifiex_tm_cmd()
4166 if (!hostcmd) in mwifiex_tm_cmd()
4169 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd()
4170 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd()
4171 hostcmd->len); in mwifiex_tm_cmd()
4173 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd()
4175 kfree(hostcmd); in mwifiex_tm_cmd()
4180 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd()
4182 kfree(hostcmd); in mwifiex_tm_cmd()
[all …]
H A Dcmdevt.c836 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_process_cmdresp() local
842 hostcmd = adapter->curr_cmd->data_buf; in mwifiex_process_cmdresp()
843 hostcmd->len = size; in mwifiex_process_cmdresp()
844 memcpy(hostcmd->cmd, resp, size); in mwifiex_process_cmdresp()
/linux/drivers/net/dsa/sja1105/
H A 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()