Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/contrib/dev/iwlwifi/pcie/
HDtx-gen2.c38 int i, cmd_pos, idx; in iwl_pcie_gen2_enqueue_hcmd() local
148 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_gen2_enqueue_hcmd()
163 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
164 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
174 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_gen2_enqueue_hcmd()
176 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
177 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
HDtx.c919 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1038 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd()
1047 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd()
1063 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1064 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1074 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1076 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1077 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
/freebsd-13-stable/sys/dev/bxe/
HDecore_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 …]