Lines Matching refs:inbox

531 				u8 op_mod, struct mlx4_cmd_mailbox *inbox)  in mlx4_common_set_port()  argument
575 qpn_context = inbox->buf; in mlx4_common_set_port()
591 gen_context = inbox->buf; in mlx4_common_set_port()
621 gid_entry_mbox = (struct mlx4_roce_gid_entry *) (inbox->buf); in mlx4_common_set_port()
648 gid_entry_mbox = (struct mlx4_roce_gid_entry *) (inbox->buf); in mlx4_common_set_port()
665 gid_entry_mbox = (struct mlx4_roce_gid_entry *) (inbox->buf); in mlx4_common_set_port()
670 gid_entry_mbox = (struct mlx4_roce_gid_entry *) (inbox->buf); in mlx4_common_set_port()
676 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
688 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40; in mlx4_common_set_port()
689 new_cap_mask = ((__be32 *) inbox->buf)[2]; in mlx4_common_set_port()
691 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1; in mlx4_common_set_port()
692 new_cap_mask = ((__be32 *) inbox->buf)[1]; in mlx4_common_set_port()
717 memset(inbox->buf, 0, 256); in mlx4_common_set_port()
719 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6; in mlx4_common_set_port()
720 ((__be32 *) inbox->buf)[2] = agg_cap_mask; in mlx4_common_set_port()
722 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols; in mlx4_common_set_port()
723 ((__be32 *) inbox->buf)[1] = agg_cap_mask; in mlx4_common_set_port()
726 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
736 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_PORT_wrapper() argument
741 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
945 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_MCAST_FLTR_wrapper() argument
965 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_VLAN_FLTR_wrapper() argument
976 struct mlx4_cmd_mailbox *inbox, in mlx4_DUMP_ETH_STATS_wrapper() argument
1138 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_info() local
1147 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_info()
1148 if (IS_ERR(inbox)) { in mlx4_get_module_info()
1150 "mlx4_alloc_cmd_mailbox returned with error(%lx)", PTR_ERR(inbox)); in mlx4_get_module_info()
1151 return PTR_ERR(inbox); in mlx4_get_module_info()
1156 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()
1162 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_info()
1190 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_info()
1218 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()