Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dtx-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()
H A Dtx.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-14.2/sys/dev/bxe/
H A Decore_sp.c3122 cmd_pos->done = TRUE; in ecore_mcast_hdl_pending_add_e2()
3136 cmd_pos->data.macs_num--; in ecore_mcast_hdl_pending_del_e2()
3152 cmd_pos->done = TRUE; in ecore_mcast_hdl_pending_del_e2()
3159 cmd_pos->data.next_bin = o->hdl_restore(sc, o, cmd_pos->data.next_bin, in ecore_mcast_hdl_pending_restore_e2()
3164 cmd_pos->done = TRUE; in ecore_mcast_hdl_pending_restore_e2()
3167 cmd_pos->data.next_bin++; in ecore_mcast_hdl_pending_restore_e2()
3179 switch (cmd_pos->type) { in ecore_mcast_handle_pending_cmds_e2()
3201 if (cmd_pos->done) { in ecore_mcast_handle_pending_cmds_e2()
3204 ECORE_FREE(sc, cmd_pos, cmd_pos->alloc_len); in ecore_mcast_handle_pending_cmds_e2()
3787 switch (cmd_pos->type) { in ecore_mcast_handle_pending_cmds_e1()
[all …]