Lines Matching refs:inbox
1248 u8 op_mod, struct mlx4_cmd_mailbox *inbox)
1288 qpn_context = inbox->buf;
1304 gen_context = inbox->buf;
1347 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
1376 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
1393 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
1399 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
1405 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod,
1412 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod,
1430 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40;
1431 new_cap_mask = ((__be32 *) inbox->buf)[2];
1433 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1;
1434 new_cap_mask = ((__be32 *) inbox->buf)[1];
1459 memset(inbox->buf, 0, 256);
1461 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6;
1462 ((__be32 *) inbox->buf)[2] = agg_cap_mask;
1464 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols;
1465 ((__be32 *) inbox->buf)[1] = agg_cap_mask;
1468 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT,
1478 struct mlx4_cmd_mailbox *inbox,
1492 vhcr->op_modifier, inbox);
1707 struct mlx4_cmd_mailbox *inbox,
1727 struct mlx4_cmd_mailbox *inbox,
1738 struct mlx4_cmd_mailbox *inbox,
1935 struct mlx4_cmd_mailbox *inbox, *outbox;
1944 inbox = mlx4_alloc_cmd_mailbox(dev);
1945 if (IS_ERR(inbox))
1946 return PTR_ERR(inbox);
1950 mlx4_free_cmd_mailbox(dev, inbox);
1954 inmad = (struct mlx4_mad_ifc *)(inbox->buf);
1982 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
2011 mlx4_free_cmd_mailbox(dev, inbox);