Searched refs:hostcmd (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_cmd.c | 1517 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() 1574 if (ptr - hostcmd->cmd >= in mwifiex_send_rgpower_table()
|
| H A D | cfg80211.c | 4143 struct mwifiex_ds_misc_cmd *hostcmd; in mwifiex_tm_cmd() local 4164 hostcmd = kzalloc_obj(*hostcmd); in mwifiex_tm_cmd() 4165 if (!hostcmd) in mwifiex_tm_cmd() 4168 hostcmd->len = nla_len(tb[MWIFIEX_TM_ATTR_DATA]); in mwifiex_tm_cmd() 4169 memcpy(hostcmd->cmd, nla_data(tb[MWIFIEX_TM_ATTR_DATA]), in mwifiex_tm_cmd() 4170 hostcmd->len); in mwifiex_tm_cmd() 4172 if (mwifiex_send_cmd(priv, 0, 0, 0, hostcmd, true)) { in mwifiex_tm_cmd() 4174 kfree(hostcmd); in mwifiex_tm_cmd() 4179 skb = cfg80211_testmode_alloc_reply_skb(wiphy, hostcmd->len); in mwifiex_tm_cmd() 4181 kfree(hostcmd); in mwifiex_tm_cmd() [all …]
|
| H A D | cmdevt.c | 836 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 D | sja1105_dynamic_config.c | 266 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()
|