Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c2609 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_add_e2() argument
2616 list_for_each_entry_safe(pmac_pos, pmac_pos_n, &cmd_pos->data.macs_head, in bnx2x_mcast_hdl_pending_add_e2()
2620 o->set_one_rule(bp, o, cnt, &cfg_data, cmd_pos->type); in bnx2x_mcast_hdl_pending_add_e2()
2639 if (list_empty(&cmd_pos->data.macs_head)) in bnx2x_mcast_hdl_pending_add_e2()
2640 cmd_pos->done = true; in bnx2x_mcast_hdl_pending_add_e2()
2644 struct bnx2x_mcast_obj *o, struct bnx2x_pending_mcast_cmd *cmd_pos, in bnx2x_mcast_hdl_pending_del_e2() argument
2649 while (cmd_pos->data.macs_num) { in bnx2x_mcast_hdl_pending_del_e2()
2650 o->set_one_rule(bp, o, cnt, NULL, cmd_pos->type); in bnx2x_mcast_hdl_pending_del_e2()
2654 cmd_pos->data.macs_num--; in bnx2x_mcast_hdl_pending_del_e2()
2657 cmd_pos->data.macs_num, cnt); in bnx2x_mcast_hdl_pending_del_e2()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtx.c1326 u32 cmd_pos; in iwl_pcie_enqueue_hcmd() local
1429 cmd_pos = offsetof(struct iwl_device_cmd, payload); in iwl_pcie_enqueue_hcmd()
1442 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1443 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()
1453 copy = min_t(int, TFD_MAX_PAYLOAD_SIZE - cmd_pos, cmd->len[i]); in iwl_pcie_enqueue_hcmd()
1455 memcpy((u8 *)out_cmd + cmd_pos, cmd->data[i], copy); in iwl_pcie_enqueue_hcmd()
1456 cmd_pos += copy; in iwl_pcie_enqueue_hcmd()