Lines Matching refs:inbox
840 struct mlx4_cmd_mailbox *inbox,
843 struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf);
853 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
866 struct mlx4_cmd_mailbox *inbox,
873 err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
893 struct mlx4_cmd_mailbox *inbox,
897 struct ib_smp *smp = inbox->buf;
935 err = get_full_pkey_table(dev, port, table, inbox, outbox);
949 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
972 inbox->dma,
993 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1020 return mlx4_cmd_box(dev, inbox->dma, outbox->dma,
1027 struct mlx4_cmd_mailbox *inbox,
1036 struct mlx4_cmd_mailbox *inbox,
1044 in_param = cmd->has_inbox ? (u64) inbox->dma : vhcr->in_param;
1668 struct mlx4_cmd_mailbox *inbox = NULL;
1720 /* Read inbox */
1723 inbox = mlx4_alloc_cmd_mailbox(dev);
1724 if (IS_ERR(inbox)) {
1726 inbox = NULL;
1730 ret = mlx4_ACCESS_MEM(dev, inbox->dma, slave,
1736 mlx4_err(dev, "%s: Failed reading inbox (cmd:0x%x)\n",
1744 if (cmd->verify && cmd->verify(dev, slave, vhcr, inbox)) {
1763 err = cmd->wrapper(dev, slave, vhcr, inbox, outbox,
1768 in_param = cmd->has_inbox ? (u64) inbox->dma :
1836 mlx4_free_cmd_mailbox(dev, inbox);