Lines Matching full:inbox
1333 u8 op_mod, struct mlx4_cmd_mailbox *inbox) in mlx4_common_set_port() argument
1372 qpn_context = inbox->buf; in mlx4_common_set_port()
1388 gen_context = inbox->buf; in mlx4_common_set_port()
1411 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1440 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1457 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1463 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1469 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1476 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1494 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40; in mlx4_common_set_port()
1495 new_cap_mask = ((__be32 *) inbox->buf)[2]; in mlx4_common_set_port()
1497 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1; in mlx4_common_set_port()
1498 new_cap_mask = ((__be32 *) inbox->buf)[1]; in mlx4_common_set_port()
1523 memset(inbox->buf, 0, 256); in mlx4_common_set_port()
1525 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6; in mlx4_common_set_port()
1526 ((__be32 *) inbox->buf)[2] = agg_cap_mask; in mlx4_common_set_port()
1528 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols; in mlx4_common_set_port()
1529 ((__be32 *) inbox->buf)[1] = agg_cap_mask; in mlx4_common_set_port()
1532 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
1542 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_PORT_wrapper() argument
1556 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
1819 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_MCAST_FLTR_wrapper() argument
1839 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_VLAN_FLTR_wrapper() argument
1850 struct mlx4_cmd_mailbox *inbox, in mlx4_DUMP_ETH_STATS_wrapper() argument
2032 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_id() local
2037 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_id()
2038 if (IS_ERR(inbox)) in mlx4_get_module_id()
2039 return PTR_ERR(inbox); in mlx4_get_module_id()
2043 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_id()
2047 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_id()
2062 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_id()
2081 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_id()
2128 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_info() local
2155 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_info()
2156 if (IS_ERR(inbox)) in mlx4_get_module_info()
2157 return PTR_ERR(inbox); in mlx4_get_module_info()
2161 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()
2165 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_info()
2186 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_info()
2214 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()