Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c2856 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_add_e2() argument
2863 list_for_each_entry_safe(pmac_pos, pmac_pos_n, &cmd_pos->data.macs_head, in bnx2x_mcast_hdl_pending_add_e2()
2867 o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); in bnx2x_mcast_hdl_pending_add_e2()
2886 if (list_empty(&cmd_pos->data.macs_head)) in bnx2x_mcast_hdl_pending_add_e2()
2887 cmd_pos->done = true; in bnx2x_mcast_hdl_pending_add_e2()
2891 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_del_e2() argument
2896 while (cmd_pos->data.macs_num) { in bnx2x_mcast_hdl_pending_del_e2()
2897 o->set_one_rule(bp, o, cnt, NULL, cmd_pos->type); in bnx2x_mcast_hdl_pending_del_e2()
2901 cmd_pos->data.macs_num--; in bnx2x_mcast_hdl_pending_del_e2()
2904 cmd_pos->data.macs_num, cnt); in bnx2x_mcast_hdl_pending_del_e2()
[all …]
/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1341 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1459 cmd_pos = sizeof(struct iwl_cmd_header_wide); in iwl_pcie_enqueue_hcmd()
1468 cmd_pos = sizeof(struct iwl_cmd_header); in iwl_pcie_enqueue_hcmd()
1484 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1485 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1495 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1497 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1498 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()