Lines Matching full:inbox

1313 				u8 op_mod, struct mlx4_cmd_mailbox *inbox)  in mlx4_common_set_port()  argument
1352 qpn_context = inbox->buf; in mlx4_common_set_port()
1368 gen_context = inbox->buf; in mlx4_common_set_port()
1391 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1420 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1437 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1443 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
1449 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1456 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
1474 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40; in mlx4_common_set_port()
1475 new_cap_mask = ((__be32 *) inbox->buf)[2]; in mlx4_common_set_port()
1477 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1; in mlx4_common_set_port()
1478 new_cap_mask = ((__be32 *) inbox->buf)[1]; in mlx4_common_set_port()
1503 memset(inbox->buf, 0, 256); in mlx4_common_set_port()
1505 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6; in mlx4_common_set_port()
1506 ((__be32 *) inbox->buf)[2] = agg_cap_mask; in mlx4_common_set_port()
1508 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols; in mlx4_common_set_port()
1509 ((__be32 *) inbox->buf)[1] = agg_cap_mask; in mlx4_common_set_port()
1512 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
1522 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_PORT_wrapper() argument
1536 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
1799 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_MCAST_FLTR_wrapper() argument
1819 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_VLAN_FLTR_wrapper() argument
1830 struct mlx4_cmd_mailbox *inbox, in mlx4_DUMP_ETH_STATS_wrapper() argument
2012 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_id() local
2017 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_id()
2018 if (IS_ERR(inbox)) in mlx4_get_module_id()
2019 return PTR_ERR(inbox); in mlx4_get_module_id()
2023 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_id()
2027 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_id()
2042 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_id()
2061 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_id()
2108 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_info() local
2135 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_info()
2136 if (IS_ERR(inbox)) in mlx4_get_module_info()
2137 return PTR_ERR(inbox); in mlx4_get_module_info()
2141 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()
2145 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_info()
2166 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_info()
2194 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()