Home
last modified time | relevance | path

Searched refs:cmd_pos (Results 1 – 3 of 3) sorted by relevance

/src/sys/dev/bxe/
H A Decore_sp.c3090 struct ecore_mcast_obj *o, struct ecore_pending_mcast_cmd *cmd_pos, in ecore_mcast_hdl_pending_add_e2() argument
3098 &cmd_pos->data.macs_head, link, struct ecore_mcast_mac_elem) { in ecore_mcast_hdl_pending_add_e2()
3101 o->set_one_rule(sc, o, cnt, &cfg_data, cmd_pos->type); in ecore_mcast_hdl_pending_add_e2()
3109 &cmd_pos->data.macs_head); in ecore_mcast_hdl_pending_add_e2()
3121 if (ECORE_LIST_IS_EMPTY(&cmd_pos->data.macs_head)) in ecore_mcast_hdl_pending_add_e2()
3122 cmd_pos->done = TRUE; in ecore_mcast_hdl_pending_add_e2()
3126 struct ecore_mcast_obj *o, struct ecore_pending_mcast_cmd *cmd_pos, in ecore_mcast_hdl_pending_del_e2() argument
3131 while (cmd_pos->data.macs_num) { in ecore_mcast_hdl_pending_del_e2()
3132 o->set_one_rule(sc, o, cnt, NULL, cmd_pos->type); in ecore_mcast_hdl_pending_del_e2()
3136 cmd_pos->data.macs_num--; in ecore_mcast_hdl_pending_del_e2()
[all …]
/src/sys/contrib/dev/iwlwifi/pcie/gen1_2/
H A Dtx-gen2.c1208 int i, cmd_pos, idx; in iwl_pcie_gen2_enqueue_hcmd() local
1323 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_gen2_enqueue_hcmd()
1338 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
1339 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
1349 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_gen2_enqueue_hcmd()
1351 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
1352 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
H A Dtx.c1367 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1489 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd()
1498 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd()
1514 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1515 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1525 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1527 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1528 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()