Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c36 int i, cmd_pos, idx; in iwl_pcie_gen2_enqueue_hcmd() local
146 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_gen2_enqueue_hcmd()
161 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
162 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
172 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_gen2_enqueue_hcmd()
174 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
175 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c914 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1033 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd()
1042 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd()
1058 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1059 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1069 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1071 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1072 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c2935 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_add_e2() argument
2942 list_for_each_entry_safe(pmac_pos, pmac_pos_n, &cmd_pos->data.macs_head, in bnx2x_mcast_hdl_pending_add_e2()
2946 o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); in bnx2x_mcast_hdl_pending_add_e2()
2965 if (list_empty(&cmd_pos->data.macs_head)) in bnx2x_mcast_hdl_pending_add_e2()
2966 cmd_pos->done = true; in bnx2x_mcast_hdl_pending_add_e2()
2970 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_del_e2() argument
2975 while (cmd_pos->data.macs_num) { in bnx2x_mcast_hdl_pending_del_e2()
2976 o->set_one_rule(bp, o, cnt, NULL, cmd_pos->type); in bnx2x_mcast_hdl_pending_del_e2()
2980 cmd_pos->data.macs_num--; in bnx2x_mcast_hdl_pending_del_e2()
2983 cmd_pos->data.macs_num, cnt); in bnx2x_mcast_hdl_pending_del_e2()
[all …]