Lines Matching refs:outbox
848 struct mlx4_cmd_mailbox *outbox)
851 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf);
860 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
874 struct mlx4_cmd_mailbox *outbox)
880 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
901 struct mlx4_cmd_mailbox *outbox,
911 struct ib_smp *outsmp = outbox->buf;
931 err = get_full_pkey_table(dev, port, table, inbox, outbox);
944 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
961 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
975 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
997 return mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1005 struct mlx4_cmd_mailbox *outbox,
1014 struct mlx4_cmd_mailbox *outbox,
1023 struct mlx4_cmd_mailbox *outbox,
1031 out_param = cmd->has_outbox ? (u64) outbox->dma : vhcr->out_param;
1596 struct mlx4_cmd_mailbox *outbox = NULL;
1674 /* Allocate outbox */
1676 outbox = mlx4_alloc_cmd_mailbox(dev);
1677 if (IS_ERR(outbox)) {
1679 outbox = NULL;
1686 err = cmd->wrapper(dev, slave, vhcr, inbox, outbox,
1693 out_param = cmd->has_outbox ? (u64) outbox->dma :
1720 /* Write outbox if command completed successfully */
1722 ret = mlx4_ACCESS_MEM(dev, outbox->dma, slave,
1726 /* If we failed to write back the outbox after the
1729 mlx4_err(dev, "%s: Failed writing outbox\n", __func__);
1754 mlx4_free_cmd_mailbox(dev, outbox);