Home
last modified time | relevance | path

Searched full:cmd (Results 1 – 25 of 2791) sorted by relevance

12345678910>>...112

/freebsd/contrib/bmake/unit-tests/
H A Dsh-flags.exp2 opt-______-tgt-___-cmd-___
6 opt-______-tgt-___-cmd-__s
9 opt-______-tgt-___-cmd-_i_
14 opt-______-tgt-___-cmd-_is
18 opt-______-tgt-___-cmd-a__
22 opt-______-tgt-___-cmd-a_s
25 opt-______-tgt-___-cmd-ai_
30 opt-______-tgt-___-cmd-ais
34 opt-______-tgt-__s-cmd-___
37 opt-______-tgt-__s-cmd-__s
[all …]
H A Dmeta-cmd-cmp.exp2 Building .meta-cmd-cmp.cmp
3 Building .meta-cmd-cmp.nocmp
4 Building .meta-cmd-cmp.cmp2
8 `.meta-cmd-cmp.cmp' is up to date.
9 `.meta-cmd-cmp.nocmp' is up to date.
10 .meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE
11 `.meta-cmd-cmp.cmp2' is up to date.
14 .meta-cmd-cmp.cmp.meta: 2: a build command has changed
15 @echo FLAGS= > .meta-cmd-cmp.cmp
17 @echo FLAGS=changed > .meta-cmd-cmp.cmp
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dcam.h15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() argument
17 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_IDX()
20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() argument
22 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_OFFSET()
25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() argument
27 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_LEN()
30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() argument
32 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(0)); in FWCMD_SET_ADDR_VALID()
35 static inline void FWCMD_SET_ADDR_NET_TYPE(void *cmd, u32 value) in FWCMD_SET_ADDR_NET_TYPE() argument
37 le32p_replace_bits((__le32 *)(cmd) in FWCMD_SET_ADDR_NET_TYPE()
40 FWCMD_SET_ADDR_BCN_HIT_COND(void * cmd,u32 value) FWCMD_SET_ADDR_BCN_HIT_COND() argument
45 FWCMD_SET_ADDR_HIT_RULE(void * cmd,u32 value) FWCMD_SET_ADDR_HIT_RULE() argument
50 FWCMD_SET_ADDR_BB_SEL(void * cmd,u32 value) FWCMD_SET_ADDR_BB_SEL() argument
55 FWCMD_SET_ADDR_ADDR_MASK(void * cmd,u32 value) FWCMD_SET_ADDR_ADDR_MASK() argument
60 FWCMD_SET_ADDR_MASK_SEL(void * cmd,u32 value) FWCMD_SET_ADDR_MASK_SEL() argument
65 FWCMD_SET_ADDR_SMA_HASH(void * cmd,u32 value) FWCMD_SET_ADDR_SMA_HASH() argument
70 FWCMD_SET_ADDR_TMA_HASH(void * cmd,u32 value) FWCMD_SET_ADDR_TMA_HASH() argument
75 FWCMD_SET_ADDR_BSSID_CAM_IDX(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_CAM_IDX() argument
80 FWCMD_SET_ADDR_SMA0(void * cmd,u32 value) FWCMD_SET_ADDR_SMA0() argument
85 FWCMD_SET_ADDR_SMA1(void * cmd,u32 value) FWCMD_SET_ADDR_SMA1() argument
90 FWCMD_SET_ADDR_SMA2(void * cmd,u32 value) FWCMD_SET_ADDR_SMA2() argument
95 FWCMD_SET_ADDR_SMA3(void * cmd,u32 value) FWCMD_SET_ADDR_SMA3() argument
100 FWCMD_SET_ADDR_SMA4(void * cmd,u32 value) FWCMD_SET_ADDR_SMA4() argument
105 FWCMD_SET_ADDR_SMA5(void * cmd,u32 value) FWCMD_SET_ADDR_SMA5() argument
110 FWCMD_SET_ADDR_TMA0(void * cmd,u32 value) FWCMD_SET_ADDR_TMA0() argument
115 FWCMD_SET_ADDR_TMA1(void * cmd,u32 value) FWCMD_SET_ADDR_TMA1() argument
120 FWCMD_SET_ADDR_TMA2(void * cmd,u32 value) FWCMD_SET_ADDR_TMA2() argument
125 FWCMD_SET_ADDR_TMA3(void * cmd,u32 value) FWCMD_SET_ADDR_TMA3() argument
130 FWCMD_SET_ADDR_TMA4(void * cmd,u32 value) FWCMD_SET_ADDR_TMA4() argument
135 FWCMD_SET_ADDR_TMA5(void * cmd,u32 value) FWCMD_SET_ADDR_TMA5() argument
140 FWCMD_SET_ADDR_MACID(void * cmd,u32 value) FWCMD_SET_ADDR_MACID() argument
145 FWCMD_SET_ADDR_PORT_INT(void * cmd,u32 value) FWCMD_SET_ADDR_PORT_INT() argument
150 FWCMD_SET_ADDR_TSF_SYNC(void * cmd,u32 value) FWCMD_SET_ADDR_TSF_SYNC() argument
155 FWCMD_SET_ADDR_TF_TRS(void * cmd,u32 value) FWCMD_SET_ADDR_TF_TRS() argument
160 FWCMD_SET_ADDR_LSIG_TXOP(void * cmd,u32 value) FWCMD_SET_ADDR_LSIG_TXOP() argument
165 FWCMD_SET_ADDR_TGT_IND(void * cmd,u32 value) FWCMD_SET_ADDR_TGT_IND() argument
170 FWCMD_SET_ADDR_FRM_TGT_IND(void * cmd,u32 value) FWCMD_SET_ADDR_FRM_TGT_IND() argument
175 FWCMD_SET_ADDR_AID12(void * cmd,u32 value) FWCMD_SET_ADDR_AID12() argument
180 FWCMD_SET_ADDR_AID12_0(void * cmd,u32 value) FWCMD_SET_ADDR_AID12_0() argument
185 FWCMD_SET_ADDR_AID12_1(void * cmd,u32 value) FWCMD_SET_ADDR_AID12_1() argument
190 FWCMD_SET_ADDR_WOL_PATTERN(void * cmd,u32 value) FWCMD_SET_ADDR_WOL_PATTERN() argument
195 FWCMD_SET_ADDR_WOL_UC(void * cmd,u32 value) FWCMD_SET_ADDR_WOL_UC() argument
200 FWCMD_SET_ADDR_WOL_MAGIC(void * cmd,u32 value) FWCMD_SET_ADDR_WOL_MAGIC() argument
205 FWCMD_SET_ADDR_WAPI(void * cmd,u32 value) FWCMD_SET_ADDR_WAPI() argument
210 FWCMD_SET_ADDR_SEC_ENT_MODE(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT_MODE() argument
215 FWCMD_SET_ADDR_SEC_ENT0_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT0_KEYID() argument
220 FWCMD_SET_ADDR_SEC_ENT1_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT1_KEYID() argument
225 FWCMD_SET_ADDR_SEC_ENT2_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT2_KEYID() argument
230 FWCMD_SET_ADDR_SEC_ENT3_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT3_KEYID() argument
235 FWCMD_SET_ADDR_SEC_ENT4_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT4_KEYID() argument
240 FWCMD_SET_ADDR_SEC_ENT5_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT5_KEYID() argument
245 FWCMD_SET_ADDR_SEC_ENT6_KEYID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT6_KEYID() argument
250 FWCMD_SET_ADDR_SEC_ENT_VALID(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT_VALID() argument
255 FWCMD_SET_ADDR_SEC_ENT0(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT0() argument
260 FWCMD_SET_ADDR_SEC_ENT1(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT1() argument
265 FWCMD_SET_ADDR_SEC_ENT2(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT2() argument
270 FWCMD_SET_ADDR_SEC_ENT3(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT3() argument
275 FWCMD_SET_ADDR_SEC_ENT4(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT4() argument
280 FWCMD_SET_ADDR_SEC_ENT5(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT5() argument
285 FWCMD_SET_ADDR_SEC_ENT6(void * cmd,u32 value) FWCMD_SET_ADDR_SEC_ENT6() argument
290 FWCMD_SET_ADDR_BSSID_IDX(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_IDX() argument
295 FWCMD_SET_ADDR_BSSID_OFFSET(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_OFFSET() argument
300 FWCMD_SET_ADDR_BSSID_LEN(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_LEN() argument
305 FWCMD_SET_ADDR_BSSID_VALID(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_VALID() argument
310 FWCMD_SET_ADDR_BSSID_BB_SEL(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BB_SEL() argument
315 FWCMD_SET_ADDR_BSSID_MASK(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_MASK() argument
320 FWCMD_SET_ADDR_BSSID_BSS_COLOR(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSS_COLOR() argument
325 FWCMD_SET_ADDR_BSSID_BSSID0(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID0() argument
330 FWCMD_SET_ADDR_BSSID_BSSID1(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID1() argument
335 FWCMD_SET_ADDR_BSSID_BSSID2(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID2() argument
340 FWCMD_SET_ADDR_BSSID_BSSID3(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID3() argument
345 FWCMD_SET_ADDR_BSSID_BSSID4(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID4() argument
350 FWCMD_SET_ADDR_BSSID_BSSID5(void * cmd,u32 value) FWCMD_SET_ADDR_BSSID_BSSID5() argument
[all...]
H A Dcam.c18 u8 *cmd; in rtw89_cam_get_sec_key_cmd() local
36 cmd = skb->data; in rtw89_cam_get_sec_key_cmd()
37 RTW89_SET_FWCMD_SEC_IDX(cmd, sec_cam->sec_cam_idx + (ext_key ? 1 : 0)); in rtw89_cam_get_sec_key_cmd()
38 RTW89_SET_FWCMD_SEC_OFFSET(cmd, sec_cam->offset); in rtw89_cam_get_sec_key_cmd()
39 RTW89_SET_FWCMD_SEC_LEN(cmd, sec_cam->len); in rtw89_cam_get_sec_key_cmd()
40 RTW89_SET_FWCMD_SEC_TYPE(cmd, sec_cam->type); in rtw89_cam_get_sec_key_cmd()
41 RTW89_SET_FWCMD_SEC_EXT_KEY(cmd, ext_key); in rtw89_cam_get_sec_key_cmd()
42 RTW89_SET_FWCMD_SEC_SPP_MODE(cmd, sec_cam->spp_mode); in rtw89_cam_get_sec_key_cmd()
43 RTW89_SET_FWCMD_SEC_KEY0(cmd, key32[0]); in rtw89_cam_get_sec_key_cmd()
44 RTW89_SET_FWCMD_SEC_KEY1(cmd, key3 in rtw89_cam_get_sec_key_cmd()
609 rtw89_cam_fill_bssid_cam_info(struct rtw89_dev * rtwdev,struct rtw89_vif * rtwvif,struct rtw89_sta * rtwsta,u8 * cmd) rtw89_cam_fill_bssid_cam_info() argument
654 rtw89_cam_fill_addr_cam_info(struct rtw89_dev * rtwdev,struct rtw89_vif * rtwvif,struct rtw89_sta * rtwsta,const u8 * scan_mac_addr,u8 * cmd) rtw89_cam_fill_addr_cam_info() argument
742 rtw89_cam_fill_dctl_sec_cam_info_v1(struct rtw89_dev * rtwdev,struct rtw89_vif * rtwvif,struct rtw89_sta * rtwsta,u8 * cmd) rtw89_cam_fill_dctl_sec_cam_info_v1() argument
[all...]
/freebsd/contrib/ofed/libibverbs/
H A Dcmd.c47 int ibv_cmd_get_context(struct ibv_context *context, struct ibv_get_context *cmd, in ibv_cmd_get_context() argument
54 IBV_INIT_CMD_RESP(cmd, cmd_size, GET_CONTEXT, resp, resp_size); in ibv_cmd_get_context()
56 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_get_context()
116 struct ibv_query_device *cmd, size_t cmd_size) in ibv_cmd_query_device() argument
120 IBV_INIT_CMD_RESP(cmd, cmd_size, QUERY_DEVICE, &resp, sizeof resp); in ibv_cmd_query_device()
122 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_query_device()
137 struct ibv_query_device_ex *cmd, in ibv_cmd_query_device_ex() argument
158 IBV_INIT_CMD_RESP_EX_V(cmd, cmd_core_size, cmd_size, in ibv_cmd_query_device_ex()
161 cmd->comp_mask = 0; in ibv_cmd_query_device_ex()
162 cmd->reserved = 0; in ibv_cmd_query_device_ex()
[all …]
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_cmd_if.m53 bypass_mng_get_version(device_t dev, device_t child, struct dpaa2_cmd *cmd,
59 cmd, major, minor, rev));
63 bypass_mng_get_soc_version(device_t dev, device_t child, struct dpaa2_cmd *cmd,
69 device_get_parent(dev), child, cmd, pvr, svr));
73 bypass_mng_get_container_id(device_t dev, device_t child, struct dpaa2_cmd *cmd,
79 device_get_parent(dev), child, cmd, cont_id));
83 bypass_rc_open(device_t dev, device_t child, struct dpaa2_cmd *cmd, uint32_t cont_id,
89 device_get_parent(dev), child, cmd, cont_id, token));
93 bypass_rc_close(device_t dev, device_t child, struct dpaa2_cmd *cmd)
98 device_get_parent(dev), child, cmd));
[all …]
H A Ddpaa2_rc.c639 dpaa2_rc_mng_get_version(device_t dev, device_t child, struct dpaa2_cmd *cmd, in dpaa2_rc_mng_get_version() argument
645 if (portal == NULL || cmd == NULL || major == NULL || minor == NULL || in dpaa2_rc_mng_get_version()
649 error = dpaa2_rc_exec_cmd(portal, cmd, CMDID_MNG_GET_VER); in dpaa2_rc_mng_get_version()
651 *major = cmd->params[0] >> 32; in dpaa2_rc_mng_get_version()
652 *minor = cmd->params[1] & 0xFFFFFFFF; in dpaa2_rc_mng_get_version()
653 *rev = cmd->params[0] & 0xFFFFFFFF; in dpaa2_rc_mng_get_version()
660 dpaa2_rc_mng_get_soc_version(device_t dev, device_t child, struct dpaa2_cmd *cmd, in dpaa2_rc_mng_get_soc_version() argument
666 if (portal == NULL || cmd == NULL || pvr == NULL || svr == NULL) in dpaa2_rc_mng_get_soc_version()
669 error = dpaa2_rc_exec_cmd(portal, cmd, CMDID_MNG_GET_SOC_VER); in dpaa2_rc_mng_get_soc_version()
671 *pvr = cmd->params[0] >> 32; in dpaa2_rc_mng_get_soc_version()
[all …]
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.c67 ng_l2cap_cmd_p cmd = NULL; in ng_l2cap_con_wakeup() local
72 TAILQ_FOREACH(cmd, &con->cmd_list, next) { in ng_l2cap_con_wakeup()
73 KASSERT((cmd->con == con), in ng_l2cap_con_wakeup()
77 if (!(cmd->flags & NG_L2CAP_CMD_PENDING)) in ng_l2cap_con_wakeup()
81 if (cmd == NULL) in ng_l2cap_con_wakeup()
85 m = cmd->aux; in ng_l2cap_con_wakeup()
86 cmd->aux = NULL; in ng_l2cap_con_wakeup()
89 switch (cmd->code) { in ng_l2cap_con_wakeup()
104 ng_l2cap_unlink_cmd(cmd); in ng_l2cap_con_wakeup()
105 ng_l2cap_free_cmd(cmd); in ng_l2cap_con_wakeup()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dpower.c23 struct iwl_beacon_filter_cmd *cmd) in iwl_mvm_beacon_filter_send_cmd() argument
28 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd()
30 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
32 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd()
34 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd()
36 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
38 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
40 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
42 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd()
44 le32_to_cpu(cmd in iwl_mvm_beacon_filter_send_cmd()
72 iwl_mvm_beacon_filter_set_cqm_params(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_set_cqm_params() argument
87 iwl_mvm_power_log(struct iwl_mvm * mvm,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_log() argument
125 iwl_mvm_power_configure_uapsd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_configure_uapsd() argument
306 iwl_mvm_power_config_skip_dtim(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_config_skip_dtim() argument
340 iwl_mvm_power_build_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_build_cmd() argument
459 struct iwl_mac_power_cmd cmd = {}; iwl_mvm_power_send_cmd() local
473 struct iwl_device_power_cmd cmd = { iwl_mvm_power_update_device() local
705 struct iwl_mac_power_cmd cmd = {}; iwl_mvm_power_mac_dbgfs_read() local
776 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_debugfs_parameters() argument
811 _iwl_mvm_enable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd,u32 cmd_flags) _iwl_mvm_enable_beacon_filter() argument
835 struct iwl_beacon_filter_cmd cmd = { iwl_mvm_enable_beacon_filter() local
847 struct iwl_beacon_filter_cmd cmd = {}; _iwl_mvm_disable_beacon_filter() local
901 struct iwl_beacon_filter_cmd cmd = { iwl_mvm_power_set_ba() local
[all...]
H A Dmld-mac.c9 struct iwl_mac_config_cmd *cmd) in iwl_mvm_mld_set_he_support() argument
12 cmd->he_ap_support = cpu_to_le16(1); in iwl_mvm_mld_set_he_support()
14 cmd->he_support = cpu_to_le16(1); in iwl_mvm_mld_set_he_support()
19 struct iwl_mac_config_cmd *cmd, in iwl_mvm_mld_mac_ctxt_cmd_common() argument
26 cmd->id_and_color = cpu_to_le32(mvmvif->id); in iwl_mvm_mld_mac_ctxt_cmd_common()
27 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common()
29 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mld_mac_ctxt_cmd_common()
31 memcpy(cmd->local_mld_addr, vif->addr, ETH_ALEN); in iwl_mvm_mld_mac_ctxt_cmd_common()
33 cmd->he_support = 0; in iwl_mvm_mld_mac_ctxt_cmd_common()
34 cmd in iwl_mvm_mld_mac_ctxt_cmd_common()
83 iwl_mvm_mld_mac_ctxt_send_cmd(struct iwl_mvm * mvm,struct iwl_mac_config_cmd * cmd) iwl_mvm_mld_mac_ctxt_send_cmd() argument
98 struct iwl_mac_config_cmd cmd = {}; iwl_mvm_mld_mac_ctxt_cmd_sta() local
163 struct iwl_mac_config_cmd cmd = {}; iwl_mvm_mld_mac_ctxt_cmd_listener() local
182 struct iwl_mac_config_cmd cmd = {}; iwl_mvm_mld_mac_ctxt_cmd_ibss() local
199 struct iwl_mac_config_cmd cmd = {}; iwl_mvm_mld_mac_ctxt_cmd_p2p_device() local
219 struct iwl_mac_config_cmd cmd = {}; iwl_mvm_mld_mac_ctxt_cmd_ap_go() local
301 struct iwl_mac_config_cmd cmd = { iwl_mvm_mld_mac_ctxt_remove() local
[all...]
H A Dlink.c66 struct iwl_link_config_cmd *cmd, in iwl_mvm_add_link()
71 cmd->action = cpu_to_le32(action); in iwl_mvm_add_link()
74 sizeof(*cmd), cmd); in iwl_mvm_add_link()
108 struct iwl_link_config_cmd cmd = {}; in iwl_mvm_link_changed()
126 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_link_changed()
127 cmd.mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_link_changed()
128 cmd.spec_link_id = link_conf->link_id; in iwl_mvm_link_changed()
130 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_link_changed()
132 memcpy(cmd in iwl_mvm_link_changed()
34 iwl_mvm_link_cmd_send(struct iwl_mvm * mvm,struct iwl_link_config_cmd * cmd,enum iwl_ctxt_action action) iwl_mvm_link_cmd_send() argument
55 struct iwl_link_config_cmd cmd = {}; iwl_mvm_add_link() local
105 struct iwl_link_config_cmd cmd = {}; iwl_mvm_link_changed() local
244 struct iwl_link_config_cmd cmd = {}; iwl_mvm_remove_link() local
[all...]
/freebsd/sys/powerpc/powermac/
H A Dsmu.c65 volatile uint8_t cmd; member
171 static int smu_run_cmd(device_t dev, struct smu_cmd *cmd, int wait);
414 smu_send_cmd(device_t dev, struct smu_cmd *cmd) in smu_send_cmd() argument
425 sc->sc_cur_cmd = cmd; in smu_send_cmd()
428 sc->sc_cmd->cmd = cmd->cmd; in smu_send_cmd()
429 sc->sc_cmd->len = cmd->len; in smu_send_cmd()
430 memcpy(sc->sc_cmd->data, cmd->data, sizeof(cmd in smu_send_cmd()
486 smu_run_cmd(device_t dev,struct smu_cmd * cmd,int wait) smu_run_cmd() argument
546 struct smu_cmd cmd; smu_get_datablock() local
575 struct smu_cmd cmd; smu_slew_cpu_voltage() local
661 struct smu_cmd cmd; smu_fan_check_old_style() local
691 struct smu_cmd cmd; smu_fan_set_rpm() local
732 struct smu_cmd cmd; smu_fan_read_rpm() local
768 struct smu_cmd cmd; smu_fan_set_pwm() local
815 struct smu_cmd cmd; smu_fan_read_pwm() local
1086 struct smu_cmd cmd; smu_sensor_read() local
1262 static struct smu_cmd cmd; smu_set_sleepled() local
1277 struct smu_cmd cmd; smu_server_mode() local
1316 struct smu_cmd cmd; smu_shutdown() local
1336 struct smu_cmd cmd; smu_gettime() local
1361 static struct smu_cmd cmd; smu_settime() local
1488 struct smu_cmd cmd; smuiic_transfer() local
[all...]
/freebsd/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c37 struct nvme_command *cmd; in nvme_ctrlr_cmd_identify_controller() local
42 cmd = &req->cmd; in nvme_ctrlr_cmd_identify_controller()
43 cmd->opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_controller()
49 cmd->cdw10 = htole32(1); in nvme_ctrlr_cmd_identify_controller()
59 struct nvme_command *cmd; in nvme_ctrlr_cmd_identify_namespace() local
64 cmd = &req->cmd; in nvme_ctrlr_cmd_identify_namespace()
65 cmd->opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_namespace()
70 cmd->nsid = htole32(nsid); in nvme_ctrlr_cmd_identify_namespace()
80 struct nvme_command *cmd; in nvme_ctrlr_cmd_create_io_cq() local
84 cmd = &req->cmd; in nvme_ctrlr_cmd_create_io_cq()
[all …]
/freebsd/usr.bin/procstat/
H A Dprocstat.c55 void (*cmd)(struct procstat *, struct kinfo_proc *); member
134 usage(const struct procstat_cmd *cmd) in usage() argument
139 if (cmd == NULL || (cmd->cmp & PS_MODE_COMPAT) == 0) { in usage()
159 multi = i + 1 < l && cmd_table[i].cmd == in usage()
160 cmd_table[i + 1].cmd; in usage()
164 for (; i + 1 < l && cmd_table[i].cmd == in usage()
165 cmd_table[i + 1].cmd; i++) in usage()
183 procstat(const struct procstat_cmd *cmd, struct procstat *prstat, in procstat() argument
192 cmd->cmd(prstat, kipp); in procstat()
257 const struct procstat_cmd *cmd; in getcmd() local
[all …]
/freebsd/contrib/ofed/libibcm/
H A Dcm.c71 #define CM_CREATE_MSG_CMD_RESP(msg, cmd, resp, type, size) \ argument
75 size = sizeof(*hdr) + sizeof(*cmd); \
80 cmd = msg + sizeof(*hdr); \
81 hdr->cmd = type; \
82 hdr->in = sizeof(*cmd); \
84 memset(cmd, 0, sizeof(*cmd)); \
88 cmd->response = (uintptr_t)resp;\
91 #define CM_CREATE_MSG_CMD(msg, cmd, type, size) \ argument
95 size = sizeof(*hdr) + sizeof(*cmd); \
100 cmd = msg + sizeof(*hdr); \
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c276 struct ib_uverbs_get_context cmd; in ib_uverbs_get_context() local
281 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_get_context()
370 struct ib_uverbs_query_device cmd; in ib_uverbs_query_device() local
379 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_query_device()
391 struct ib_uverbs_query_port cmd; in ib_uverbs_query_port() local
403 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_query_port()
407 ret = ib_query_port(ib_dev, cmd.port_num, &attr); in ib_uverbs_query_port()
412 copy_port_attr_to_resp(&attr, &resp, ib_dev, cmd.port_num); in ib_uverbs_query_port()
419 struct ib_uverbs_alloc_pd cmd; in ib_uverbs_alloc_pd() local
426 ret = uverbs_request(attrs, &cmd, sizeof(cmd)); in ib_uverbs_alloc_pd()
[all …]
H A Dib_ucm.c391 struct ib_ucm_event_get cmd; in ib_ucm_event() local
398 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_event()
429 if (copy_to_user((void __user *)(unsigned long)cmd.response, in ib_ucm_event()
436 if (cmd.data_len < uevent->data_len) { in ib_ucm_event()
440 if (copy_to_user((void __user *)(unsigned long)cmd.data, in ib_ucm_event()
448 if (cmd.info_len < uevent->info_len) { in ib_ucm_event()
452 if (copy_to_user((void __user *)(unsigned long)cmd.info, in ib_ucm_event()
475 struct ib_ucm_create_id cmd; in ib_ucm_create_id() local
483 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_create_id()
492 ctx->uid = cmd.uid; in ib_ucm_create_id()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dbmi.c23 struct bmi_cmd cmd; in ath10k_bmi_done() local
24 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); in ath10k_bmi_done()
35 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
37 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); in ath10k_bmi_done()
49 struct bmi_cmd cmd; in ath10k_bmi_get_target_info() local
51 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info()
62 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
64 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
87 struct bmi_cmd cmd; in ath10k_bmi_get_target_info_sdio() local
89 u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); in ath10k_bmi_get_target_info_sdio()
[all …]
/freebsd/crypto/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_commands.csv1 expected,description, -section,val, -cmd,val,val2, -cacertsout,val,val2, -infotype,val,, -oldcert,v…
4 1,minimum options, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
6 0,no cmd, -section,,BLANK,,,BLANK,,,BLANK,,,BLANK,,BLANK,
7 0,cmd missing arg, -section,, -cmd,,,BLANK,,,BLANK,,,BLANK,,BLANK,
8 0,cmd undefined , -section,, -cmd,abc,,BLANK,,,BLANK,,,BLANK,,BLANK,
9 0,cmd incomplete, -section,, -cmd,i,,BLANK,,,BLANK,,,BLANK,,BLANK,
11 1,no cacertsout, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
12 1,cacertsout given, -section,, -cmd,ir,, -cacertsout,_RESULT_DIR/test.cacerts.pem,,BLANK,,,BLANK,,B…
13 0,cacertsout missing arg, -section,, -cmd,ir,, -cacertsout,,,BLANK,,,BLANK,,BLANK,
15 1, --- get certificate for revocation ----, -section,, -cmd,cr,,BLANK,,,BLANK,,,BLANK,,BLANK,
[all …]
/freebsd/sbin/ifconfig/
H A Difvxlan.c189 struct ifvxlancmd cmd; in setvxlan_vni() local
201 bzero(&cmd, sizeof(cmd)); in setvxlan_vni()
202 cmd.vxlcmd_vni = val; in setvxlan_vni()
204 if (do_cmd(ctx, VXLAN_CMD_SET_VNI, &cmd, sizeof(cmd), 1) < 0) in setvxlan_vni()
211 struct ifvxlancmd cmd; in setvxlan_local() local
218 bzero(&cmd, sizeof(cmd)); in setvxlan_local()
236 cmd.vxlcmd_sa.in4 = *sin; in setvxlan_local()
247 cmd.vxlcmd_sa.in6 = *sin6; in setvxlan_local()
258 if (cmd.vxlcmd_sa.sa.sa_family == AF_INET) { in setvxlan_local()
260 params.vxlp_local_sa.in4 = cmd.vxlcmd_sa.in4; in setvxlan_local()
[all …]
/freebsd/sys/dev/malo/
H A Dif_malohal.c61 pCmd->cmdhdr.cmd = htole16(_cmd); \
131 device_printf(dev, "unable to allocate memory for cmd tag, " in malo_hal_attach()
141 device_printf(dev, "unable to allocate memory for cmd buffer, " in malo_hal_attach()
151 device_printf(dev, "unable to load cmd buffer, error %u\n", in malo_hal_attach()
170 * Low level firmware cmd block handshake support.
188 malo_hal_waitforcmd(struct malo_hal *mh, uint16_t cmd) in malo_hal_waitforcmd() argument
194 if (mh->mh_cmdbuf[0] == le16toh(cmd)) in malo_hal_waitforcmd()
205 malo_hal_execute_cmd(struct malo_hal *mh, unsigned short cmd) in malo_hal_execute_cmd() argument
211 device_printf(mh->mh_dev, "firmware hung, skipping cmd 0x%x\n", in malo_hal_execute_cmd()
212 cmd); in malo_hal_execute_cmd()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.c303 u32 cmd = 0; in ath11k_wmi_cmd_send_nowait() local
308 cmd |= FIELD_PREP(WMI_CMD_HDR_CMD_ID, cmd_id); in ath11k_wmi_cmd_send_nowait()
311 cmd_hdr->cmd_id = cmd; in ath11k_wmi_cmd_send_nowait()
704 struct wmi_mgmt_send_cmd *cmd; in ath11k_wmi_mgmt_send() local
713 len = sizeof(*cmd) + sizeof(*frame_tlv) + roundup(buf_len, 4); in ath11k_wmi_mgmt_send()
719 cmd = (struct wmi_mgmt_send_cmd *)skb->data; in ath11k_wmi_mgmt_send()
720 cmd->tlv_header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_MGMT_TX_SEND_CMD) | in ath11k_wmi_mgmt_send()
721 FIELD_PREP(WMI_TLV_LEN, sizeof(*cmd) - TLV_HDR_SIZE); in ath11k_wmi_mgmt_send()
722 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send()
723 cmd->desc_id = buf_id; in ath11k_wmi_mgmt_send()
[all …]
/freebsd/sbin/ipfw/
H A Dipv6.c85 print_ip6(struct buf_pr *bp, const ipfw_insn_ip6 *cmd) in print_ip6() argument
89 const struct in6_addr *a = &(cmd->addr6); in print_ip6()
92 len = F_LEN((const ipfw_insn *)cmd) - 1; in print_ip6()
93 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { in print_ip6()
97 if (cmd->o.opcode == O_IP6) { in print_ip6()
110 mb = (cmd->o.opcode == O_IP6_SRC || in print_ip6()
111 cmd->o.opcode == O_IP6_DST) ? 128: in print_ip6()
139 fill_icmp6types(ipfw_insn_icmp6 *cmd, char *av, int cblen) in fill_icmp6types() argument
144 memset(cmd, 0, sizeof(*cmd)); in fill_icmp6types()
159 cmd->d[type / 32] |= ( 1 << (type % 32)); in fill_icmp6types()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.c165 static __le32 ath12k_wmi_tlv_hdr(u32 cmd, u32 len) in ath12k_wmi_tlv_hdr() argument
167 return le32_encode_bits(cmd, WMI_TLV_TAG) | in ath12k_wmi_tlv_hdr()
171 static __le32 ath12k_wmi_tlv_cmd_hdr(u32 cmd, u32 len) in ath12k_wmi_tlv_cmd_hdr() argument
173 return ath12k_wmi_tlv_hdr(cmd, len - TLV_HDR_SIZE); in ath12k_wmi_tlv_cmd_hdr()
764 struct wmi_mgmt_send_cmd *cmd; in ath12k_wmi_mgmt_send() local
772 len = sizeof(*cmd) + sizeof(*frame_tlv) + roundup(buf_len, 4); in ath12k_wmi_mgmt_send()
778 cmd = (struct wmi_mgmt_send_cmd *)skb->data; in ath12k_wmi_mgmt_send()
779 cmd->tlv_header = ath12k_wmi_tlv_cmd_hdr(WMI_TAG_MGMT_TX_SEND_CMD, in ath12k_wmi_mgmt_send()
780 sizeof(*cmd)); in ath12k_wmi_mgmt_send()
781 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send()
[all …]
/freebsd/tools/regression/zfs/
H A Dmisc.sh26 # Use correct arguments to cmd line programs
134 cmd="mktemp -d /tmp/zfs-regression.XXXXXXXXXX"
135 TMPDIR=`${cmd}` || die "failed: ${cmd}"
136 cmd="mount -t tmpfs none ${TMPDIR}"
137 ${cmd} || die "failed: ${cmd}"
144 cmd="umount ${TMPDIR} && rmdir ${TMPDIR}"
145 eval "${cmd}" || die "failed: ${cmd}"
155 cmd="dd if=/dev/null of=${file} bs=1 count=0 seek=${size}"
156 ${cmd} > /dev/null 2>&1 || die "failed: ${cmd}"
169 cmd="mdconfig -a -t swap -s ${size} ${devparam}"
[all …]

12345678910>>...112