Lines Matching refs:mailbox
46 struct mlx4_cmd_mailbox *mailbox;
54 mailbox = mlx4_alloc_cmd_mailbox(dev);
55 if (IS_ERR(mailbox))
56 return PTR_ERR(mailbox);
58 filter = mailbox->buf;
68 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR,
70 mlx4_free_cmd_mailbox(dev, mailbox);
79 struct mlx4_cmd_mailbox *mailbox;
82 mailbox = mlx4_alloc_cmd_mailbox(mdev->dev);
83 if (IS_ERR(mailbox))
84 return PTR_ERR(mailbox);
85 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma, port, 0,
90 qport_context = mailbox->buf;
129 mlx4_free_cmd_mailbox(mdev->dev, mailbox);
193 struct mlx4_cmd_mailbox *mailbox;
198 mailbox = mlx4_alloc_cmd_mailbox(mdev->dev);
199 if (IS_ERR(mailbox))
200 return PTR_ERR(mailbox);
201 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma, in_mod, 0,
207 mlx4_en_stats = mailbox->buf;
384 memset(mailbox->buf, 0xff, sizeof(*flowstats) * MLX4_NUM_PRIORITIES);
387 memset(mailbox->buf, 0,
389 err = mlx4_cmd_box(mdev->dev, 0, mailbox->dma,
397 flowstats = mailbox->buf;
433 mlx4_free_cmd_mailbox(mdev->dev, mailbox);