/freebsd-src/contrib/bmake/unit-tests/ |
H A D | sh-flags.exp | 2 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 D | meta-cmd-cmp.exp | 2 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-src/sys/contrib/dev/rtw89/ |
H A D | cam.h | 15 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 D | cam.c | 18 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-src/contrib/ofed/libibverbs/ |
H A D | cmd.c | 47 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-src/sys/dev/dpaa2/ |
H A D | dpaa2_cmd_if.m | 53 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 D | dpaa2_rc.c | 639 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 in dpaa2_rc_mng_get_soc_version() 680 dpaa2_rc_mng_get_container_id(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t * cont_id) dpaa2_rc_mng_get_container_id() argument 696 dpaa2_rc_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t cont_id,uint16_t * token) dpaa2_rc_open() argument 718 dpaa2_rc_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_close() argument 729 dpaa2_rc_get_obj_count(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t * obj_count) dpaa2_rc_get_obj_count() argument 746 dpaa2_rc_get_obj(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t obj_idx,struct dpaa2_obj * obj) dpaa2_rc_get_obj() argument 795 dpaa2_rc_get_obj_descriptor(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t obj_id,enum dpaa2_dev_type dtype,struct dpaa2_obj * obj) dpaa2_rc_get_obj_descriptor() argument 851 dpaa2_rc_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_rc_attr * attr) dpaa2_rc_get_attributes() argument 879 dpaa2_rc_get_obj_region(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t obj_id,uint8_t reg_idx,enum dpaa2_dev_type dtype,struct dpaa2_rc_obj_region * reg) dpaa2_rc_get_obj_region() argument 960 dpaa2_rc_get_api_version(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint16_t * major,uint16_t * minor) dpaa2_rc_get_api_version() argument 984 dpaa2_rc_set_irq_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint8_t enable) dpaa2_rc_set_irq_enable() argument 997 dpaa2_rc_set_obj_irq(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint64_t addr,uint32_t data,uint32_t irq_usr,uint32_t obj_id,enum dpaa2_dev_type dtype) dpaa2_rc_set_obj_irq() argument 1028 dpaa2_rc_get_conn(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ep_desc * ep1_desc,struct dpaa2_ep_desc * ep2_desc,uint32_t * link_stat) dpaa2_rc_get_conn() argument 1073 dpaa2_rc_ni_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpni_id,uint16_t * token) dpaa2_rc_ni_open() argument 1094 dpaa2_rc_ni_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_ni_close() argument 1105 dpaa2_rc_ni_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_ni_enable() argument 1116 dpaa2_rc_ni_disable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_ni_disable() argument 1127 dpaa2_rc_ni_get_api_version(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint16_t * major,uint16_t * minor) dpaa2_rc_ni_get_api_version() argument 1146 dpaa2_rc_ni_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_ni_reset() argument 1157 dpaa2_rc_ni_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_attr * attr) dpaa2_rc_ni_get_attributes() argument 1212 dpaa2_rc_ni_set_buf_layout(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_buf_layout * bl) dpaa2_rc_ni_set_buf_layout() argument 1252 dpaa2_rc_ni_get_tx_data_offset(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint16_t * offset) dpaa2_rc_ni_get_tx_data_offset() argument 1269 dpaa2_rc_ni_get_port_mac_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_ni_get_port_mac_addr() argument 1292 dpaa2_rc_ni_set_prim_mac_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_ni_set_prim_mac_addr() argument 1312 dpaa2_rc_ni_get_prim_mac_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_ni_get_prim_mac_addr() argument 1335 dpaa2_rc_ni_set_link_cfg(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_link_cfg * cfg) dpaa2_rc_ni_set_link_cfg() argument 1360 dpaa2_rc_ni_get_link_cfg(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_link_cfg * cfg) dpaa2_rc_ni_get_link_cfg() argument 1389 dpaa2_rc_ni_get_link_state(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_link_state * state) dpaa2_rc_ni_get_link_state() argument 1425 dpaa2_rc_ni_set_qos_table(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_qos_table * tbl) dpaa2_rc_ni_set_qos_table() argument 1454 dpaa2_rc_ni_clear_qos_table(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_ni_clear_qos_table() argument 1465 dpaa2_rc_ni_set_pools(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_pools_cfg * cfg) dpaa2_rc_ni_set_pools() argument 1497 dpaa2_rc_ni_set_err_behavior(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_err_cfg * cfg) dpaa2_rc_ni_set_err_behavior() argument 1521 dpaa2_rc_ni_get_queue(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_queue_cfg * cfg) dpaa2_rc_ni_get_queue() argument 1580 dpaa2_rc_ni_set_queue(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_ni_queue_cfg * cfg) dpaa2_rc_ni_set_queue() argument 1626 dpaa2_rc_ni_get_qdid(device_t dev,device_t child,struct dpaa2_cmd * cmd,enum dpaa2_ni_queue_type type,uint16_t * qdid) dpaa2_rc_ni_get_qdid() argument 1656 dpaa2_rc_ni_add_mac_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_ni_add_mac_addr() argument 1681 dpaa2_rc_ni_remove_mac_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_ni_remove_mac_addr() argument 1705 dpaa2_rc_ni_clear_mac_filters(device_t dev,device_t child,struct dpaa2_cmd * cmd,bool rm_uni,bool rm_multi) dpaa2_rc_ni_clear_mac_filters() argument 1725 dpaa2_rc_ni_set_mfl(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint16_t length) dpaa2_rc_ni_set_mfl() argument 1745 dpaa2_rc_ni_set_offload(device_t dev,device_t child,struct dpaa2_cmd * cmd,enum dpaa2_ni_ofl_type ofl_type,bool en) dpaa2_rc_ni_set_offload() argument 1768 dpaa2_rc_ni_set_irq_mask(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t mask) dpaa2_rc_ni_set_irq_mask() argument 1790 dpaa2_rc_ni_set_irq_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,bool en) dpaa2_rc_ni_set_irq_enable() argument 1812 dpaa2_rc_ni_get_irq_status(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t * status) dpaa2_rc_ni_get_irq_status() argument 1844 dpaa2_rc_ni_set_uni_promisc(device_t dev,device_t child,struct dpaa2_cmd * cmd,bool en) dpaa2_rc_ni_set_uni_promisc() argument 1865 dpaa2_rc_ni_set_multi_promisc(device_t dev,device_t child,struct dpaa2_cmd * cmd,bool en) dpaa2_rc_ni_set_multi_promisc() argument 1885 dpaa2_rc_ni_get_statistics(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t page,uint16_t param,uint64_t * cnt) dpaa2_rc_ni_get_statistics() argument 1918 dpaa2_rc_ni_set_rx_tc_dist(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint16_t dist_size,uint8_t tc,enum dpaa2_ni_dist_mode dist_mode,bus_addr_t key_cfg_buf) dpaa2_rc_ni_set_rx_tc_dist() argument 1947 dpaa2_rc_io_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpio_id,uint16_t * token) dpaa2_rc_io_open() argument 1968 dpaa2_rc_io_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_io_close() argument 1979 dpaa2_rc_io_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_io_enable() argument 1990 dpaa2_rc_io_disable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_io_disable() argument 2001 dpaa2_rc_io_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_io_reset() argument 2012 dpaa2_rc_io_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_io_attr * attr) dpaa2_rc_io_get_attributes() argument 2052 dpaa2_rc_io_set_irq_mask(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t mask) dpaa2_rc_io_set_irq_mask() argument 2075 dpaa2_rc_io_get_irq_status(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t * status) dpaa2_rc_io_get_irq_status() argument 2108 dpaa2_rc_io_set_irq_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,bool en) dpaa2_rc_io_set_irq_enable() argument 2132 dpaa2_rc_io_add_static_dq_chan(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpcon_id,uint8_t * chan_idx) dpaa2_rc_io_add_static_dq_chan() argument 2161 dpaa2_rc_bp_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpbp_id,uint16_t * token) dpaa2_rc_bp_open() argument 2182 dpaa2_rc_bp_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_bp_close() argument 2193 dpaa2_rc_bp_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_bp_enable() argument 2204 dpaa2_rc_bp_disable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_bp_disable() argument 2215 dpaa2_rc_bp_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_bp_reset() argument 2226 dpaa2_rc_bp_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_bp_attr * attr) dpaa2_rc_bp_get_attributes() argument 2251 dpaa2_rc_mac_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpmac_id,uint16_t * token) dpaa2_rc_mac_open() argument 2272 dpaa2_rc_mac_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_mac_close() argument 2283 dpaa2_rc_mac_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_mac_reset() argument 2294 dpaa2_rc_mac_mdio_read(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t phy,uint16_t reg,uint16_t * val) dpaa2_rc_mac_mdio_read() argument 2323 dpaa2_rc_mac_mdio_write(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t phy,uint16_t reg,uint16_t val) dpaa2_rc_mac_mdio_write() argument 2349 dpaa2_rc_mac_get_addr(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t * mac) dpaa2_rc_mac_get_addr() argument 2372 dpaa2_rc_mac_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_mac_attr * attr) dpaa2_rc_mac_get_attributes() argument 2416 dpaa2_rc_mac_set_link_state(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_mac_link_state * state) dpaa2_rc_mac_set_link_state() argument 2448 dpaa2_rc_mac_set_irq_mask(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t mask) dpaa2_rc_mac_set_irq_mask() argument 2471 dpaa2_rc_mac_set_irq_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,bool en) dpaa2_rc_mac_set_irq_enable() argument 2494 dpaa2_rc_mac_get_irq_status(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint8_t irq_idx,uint32_t * status) dpaa2_rc_mac_get_irq_status() argument 2527 dpaa2_rc_con_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpcon_id,uint16_t * token) dpaa2_rc_con_open() argument 2549 dpaa2_rc_con_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_con_close() argument 2560 dpaa2_rc_con_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_con_reset() argument 2571 dpaa2_rc_con_enable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_con_enable() argument 2582 dpaa2_rc_con_disable(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_con_disable() argument 2593 dpaa2_rc_con_get_attributes(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_con_attr * attr) dpaa2_rc_con_get_attributes() argument 2621 dpaa2_rc_con_set_notif(device_t dev,device_t child,struct dpaa2_cmd * cmd,struct dpaa2_con_notif_cfg * cfg) dpaa2_rc_con_set_notif() argument 2646 dpaa2_rc_mcp_create(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t portal_id,uint32_t options,uint32_t * dpmcp_id) dpaa2_rc_mcp_create() argument 2677 dpaa2_rc_mcp_destroy(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpmcp_id) dpaa2_rc_mcp_destroy() argument 2695 dpaa2_rc_mcp_open(device_t dev,device_t child,struct dpaa2_cmd * cmd,uint32_t dpmcp_id,uint16_t * token) dpaa2_rc_mcp_open() argument 2716 dpaa2_rc_mcp_close(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_mcp_close() argument 2727 dpaa2_rc_mcp_reset(device_t dev,device_t child,struct dpaa2_cmd * cmd) dpaa2_rc_mcp_reset() argument 2746 struct dpaa2_cmd cmd; dpaa2_rc_discover() local 2890 dpaa2_rc_add_child(struct dpaa2_rc_softc * sc,struct dpaa2_cmd * cmd,struct dpaa2_obj * obj) dpaa2_rc_add_child() argument 2993 dpaa2_rc_add_managed_child(struct dpaa2_rc_softc * sc,struct dpaa2_cmd * cmd,struct dpaa2_obj * obj) dpaa2_rc_add_managed_child() argument 3128 struct dpaa2_cmd cmd; dpaa2_rc_configure_irq() local 3170 dpaa2_rc_enable_irq(struct dpaa2_mcp * mcp,struct dpaa2_cmd * cmd,uint8_t irq_idx,bool enable,uint16_t cmdid) dpaa2_rc_enable_irq() argument 3197 dpaa2_rc_exec_cmd(struct dpaa2_mcp * mcp,struct dpaa2_cmd * cmd,uint16_t cmdid) dpaa2_rc_exec_cmd() argument 3239 dpaa2_rc_send_cmd(struct dpaa2_mcp * mcp,struct dpaa2_cmd * cmd) dpaa2_rc_send_cmd() argument 3259 dpaa2_rc_wait_for_cmd(struct dpaa2_mcp * mcp,struct dpaa2_cmd * cmd) dpaa2_rc_wait_for_cmd() argument 3402 dpaa2_rc_reset_cmd_params(struct dpaa2_cmd * cmd) dpaa2_rc_reset_cmd_params() argument [all...] |
/freebsd-src/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_cmds.c | 67 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-src/sys/dev/nvmf/host/ |
H A D | nvmf_cmd.c | 20 struct nvmf_fabric_prop_get_cmd cmd; in nvmf_cmd_get_property() local 23 memset(&cmd, 0, sizeof(cmd)); in nvmf_cmd_get_property() 24 cmd.opcode = NVME_OPC_FABRICS_COMMANDS; in nvmf_cmd_get_property() 25 cmd.fctype = NVMF_FABRIC_COMMAND_PROPERTY_GET; in nvmf_cmd_get_property() 28 cmd.attrib.size = NVMF_PROP_SIZE_4; in nvmf_cmd_get_property() 31 cmd.attrib.size = NVMF_PROP_SIZE_8; in nvmf_cmd_get_property() 36 cmd.ofst = htole32(offset); in nvmf_cmd_get_property() 38 req = nvmf_allocate_request(sc->admin, &cmd, cb, cb_arg, how); in nvmf_cmd_get_property() 48 struct nvmf_fabric_prop_set_cmd cmd; in nvmf_cmd_set_property() local 51 memset(&cmd, 0, sizeof(cmd)); in nvmf_cmd_set_property() [all …]
|
/freebsd-src/sys/contrib/dev/iwlwifi/mvm/ |
H A D | power.c | 23 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 D | mld-mac.c | 9 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 D | link.c | 66 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-src/sys/dev/nvme/ |
H A D | nvme_ctrlr_cmd.c | 37 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 in nvme_ctrlr_cmd_identify_namespace() 80 struct nvme_command *cmd; nvme_ctrlr_cmd_create_io_cq() local 104 struct nvme_command *cmd; nvme_ctrlr_cmd_create_io_sq() local 128 struct nvme_command *cmd; nvme_ctrlr_cmd_delete_io_cq() local 149 struct nvme_command *cmd; nvme_ctrlr_cmd_delete_io_sq() local 172 struct nvme_command *cmd; nvme_ctrlr_cmd_set_feature() local 194 struct nvme_command *cmd; nvme_ctrlr_cmd_get_feature() local 260 struct nvme_command *cmd; nvme_ctrlr_cmd_get_log_page() local 320 struct nvme_command *cmd; nvme_ctrlr_cmd_abort() local [all...] |
/freebsd-src/sys/powerpc/powermac/ |
H A D | smu.c | 65 volatile uint8_t cmd; member 171 static int smu_run_cmd(device_t dev, struct smu_cmd *cmd, int wait); 415 smu_send_cmd(device_t dev, struct smu_cmd *cmd) in smu_send_cmd() 426 sc->sc_cur_cmd = cmd; in smu_send_cmd() 429 sc->sc_cmd->cmd = cmd->cmd; in smu_send_cmd() 430 sc->sc_cmd->len = cmd->len; in smu_send_cmd() 431 memcpy(sc->sc_cmd->data, cmd->data, sizeof(cmd in smu_send_cmd() 414 smu_send_cmd(device_t dev,struct smu_cmd * cmd) smu_send_cmd() argument 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-src/usr.bin/procstat/ |
H A D | procstat.c | 55 void (*cmd)(struct procstat *, struct kinfo_proc *); member 134 usage(const struct procstat_cmd *cmd) in usage() 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() 192 cmd in procstat() 132 usage(const struct procstat_cmd * cmd) usage() argument 181 procstat(const struct procstat_cmd * cmd,struct procstat * prstat,struct kinfo_proc * kipp) procstat() argument 255 const struct procstat_cmd *cmd; getcmd() local 288 const struct procstat_cmd *cmd; main() local [all...] |
/freebsd-src/contrib/ofed/libibcm/ |
H A D | cm.c | 71 #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-src/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_cmd.c | 276 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 …]
|
/freebsd-src/sys/contrib/dev/athk/ath10k/ |
H A D | bmi.c | 23 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-src/crypto/openssl/test/recipes/80-test_cmp_http_data/ |
H A D | test_commands.csv | 1 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-src/sbin/ifconfig/ |
H A D | ifvxlan.c | 189 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-src/sys/dev/malo/ |
H A D | if_malohal.c | 61 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-src/sbin/ipfw/ |
H A D | ipv6.c | 85 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-src/sys/contrib/dev/athk/ath11k/ |
H A D | wmi.c | 303 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-src/tools/regression/zfs/ |
H A D | misc.sh | 26 # 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 …]
|
/freebsd-src/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.c | 165 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 …]
|