Lines Matching defs:inbox
848 struct mlx4_cmd_mailbox *inbox,
851 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf);
861 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
874 struct mlx4_cmd_mailbox *inbox,
881 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
901 struct mlx4_cmd_mailbox *inbox,
905 struct ib_smp *smp = inbox->buf;
943 err = get_full_pkey_table(dev, port, table, inbox, outbox);
957 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
986 inbox->dma,
1007 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1034 return mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1041 struct mlx4_cmd_mailbox *inbox,
1050 struct mlx4_cmd_mailbox *inbox,
1058 in_param = cmd->has_inbox ? (u64) inbox->dma : vhcr->in_param;
1682 struct mlx4_cmd_mailbox *inbox = NULL;
1734 /* Read inbox */
1737 inbox = mlx4_alloc_cmd_mailbox(dev);
1738 if (IS_ERR(inbox)) {
1740 inbox = NULL;
1744 ret = mlx4_ACCESS_MEM(dev, inbox->dma, slave,
1750 mlx4_err(dev, "%s: Failed reading inbox (cmd:0x%x)\n",
1758 if (cmd->verify && cmd->verify(dev, slave, vhcr, inbox)) {
1777 err = cmd->wrapper(dev, slave, vhcr, inbox, outbox,
1782 in_param = cmd->has_inbox ? (u64) inbox->dma :
1842 mlx4_free_cmd_mailbox(dev, inbox);