Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx-gen2.c1212 int i, cmd_pos, idx; in iwl_pcie_gen2_enqueue_hcmd() local
1325 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_gen2_enqueue_hcmd()
1340 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
1341 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
1351 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_gen2_enqueue_hcmd()
1353 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd()
1354 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
Dtx.c1359 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1479 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd()
1488 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd()
1504 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1505 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1515 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1517 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1518 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()