Searched refs:cmd_pos (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 2933 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_add_e2() argument 2940 list_for_each_entry_safe(pmac_pos, pmac_pos_n, &cmd_pos->data.macs_head, in bnx2x_mcast_hdl_pending_add_e2() 2944 o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); in bnx2x_mcast_hdl_pending_add_e2() 2963 if (list_empty(&cmd_pos->data.macs_head)) in bnx2x_mcast_hdl_pending_add_e2() 2964 cmd_pos->done = true; in bnx2x_mcast_hdl_pending_add_e2() 2968 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_del_e2() argument 2973 while (cmd_pos->data.macs_num) { in bnx2x_mcast_hdl_pending_del_e2() 2974 o->set_one_rule(bp, o, cnt, NULL, cmd_pos->type); in bnx2x_mcast_hdl_pending_del_e2() 2978 cmd_pos->data.macs_num--; in bnx2x_mcast_hdl_pending_del_e2() 2981 cmd_pos->data.macs_num, cnt); in bnx2x_mcast_hdl_pending_del_e2() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | tx-gen2.c | 651 int i, cmd_pos, idx; in iwl_pcie_gen2_enqueue_hcmd() local 760 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_gen2_enqueue_hcmd() 775 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd() 776 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd() 786 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_gen2_enqueue_hcmd() 788 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_gen2_enqueue_hcmd() 789 cmd_pos += copy; in iwl_pcie_gen2_enqueue_hcmd()
|
D | tx.c | 1488 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local 1606 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd() 1615 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd() 1631 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd() 1632 cmd_pos += copy; in iwl_pcie_enqueue_hcmd() 1642 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd() 1644 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd() 1645 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
|