Lines Matching defs:outbox
841 struct mlx4_cmd_mailbox *outbox)
844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf);
853 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
867 struct mlx4_cmd_mailbox *outbox)
873 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
894 struct mlx4_cmd_mailbox *outbox,
906 struct ib_smp *outsmp = outbox->buf;
935 err = get_full_pkey_table(dev, port, table, inbox, outbox);
949 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
973 outbox->dma,
993 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1020 return mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1028 struct mlx4_cmd_mailbox *outbox,
1037 struct mlx4_cmd_mailbox *outbox,
1045 out_param = cmd->has_outbox ? (u64) outbox->dma : vhcr->out_param;
1669 struct mlx4_cmd_mailbox *outbox = NULL;
1751 /* Allocate outbox */
1753 outbox = mlx4_alloc_cmd_mailbox(dev);
1754 if (IS_ERR(outbox)) {
1756 outbox = NULL;
1763 err = cmd->wrapper(dev, slave, vhcr, inbox, outbox,
1770 out_param = cmd->has_outbox ? (u64) outbox->dma :
1801 /* Write outbox if command completed successfully */
1803 ret = mlx4_ACCESS_MEM(dev, outbox->dma, slave,
1807 /* If we failed to write back the outbox after the
1812 mlx4_err(dev, "%s:Failed writing outbox\n", __func__);
1837 mlx4_free_cmd_mailbox(dev, outbox);