Lines Matching refs:inbox

690 				u8 op_mod, struct mlx4_cmd_mailbox *inbox)  in mlx4_common_set_port()  argument
730 qpn_context = inbox->buf; in mlx4_common_set_port()
746 gen_context = inbox->buf; in mlx4_common_set_port()
776 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
805 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
822 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
828 gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf); in mlx4_common_set_port()
834 err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
841 return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod, in mlx4_common_set_port()
859 reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40; in mlx4_common_set_port()
860 new_cap_mask = ((__be32 *) inbox->buf)[2]; in mlx4_common_set_port()
862 reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1; in mlx4_common_set_port()
863 new_cap_mask = ((__be32 *) inbox->buf)[1]; in mlx4_common_set_port()
888 memset(inbox->buf, 0, 256); in mlx4_common_set_port()
890 *(u8 *) inbox->buf |= !!reset_qkey_viols << 6; in mlx4_common_set_port()
891 ((__be32 *) inbox->buf)[2] = agg_cap_mask; in mlx4_common_set_port()
893 ((u8 *) inbox->buf)[3] |= !!reset_qkey_viols; in mlx4_common_set_port()
894 ((__be32 *) inbox->buf)[1] = agg_cap_mask; in mlx4_common_set_port()
897 err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT, in mlx4_common_set_port()
907 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_PORT_wrapper() argument
921 vhcr->op_modifier, inbox); in mlx4_SET_PORT_wrapper()
1129 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_MCAST_FLTR_wrapper() argument
1149 struct mlx4_cmd_mailbox *inbox, in mlx4_SET_VLAN_FLTR_wrapper() argument
1168 struct mlx4_cmd_mailbox *inbox, in mlx4_DUMP_ETH_STATS_wrapper() argument
1366 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_info() local
1375 inbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_info()
1376 if (IS_ERR(inbox)) in mlx4_get_module_info()
1377 return PTR_ERR(inbox); in mlx4_get_module_info()
1381 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()
1385 inmad = (struct mlx4_mad_ifc *)(inbox->buf); in mlx4_get_module_info()
1413 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_info()
1441 mlx4_free_cmd_mailbox(dev, inbox); in mlx4_get_module_info()