inbox             114 drivers/infiniband/hw/mlx4/mad.c 	void *inbox;
inbox             122 drivers/infiniband/hw/mlx4/mad.c 	inbox = inmailbox->buf;
inbox             130 drivers/infiniband/hw/mlx4/mad.c 	memcpy(inbox, in_mad, 256);
inbox             157 drivers/infiniband/hw/mlx4/mad.c 		memset(inbox + 256, 0, 256);
inbox             158 drivers/infiniband/hw/mlx4/mad.c 		ext_info = inbox + 256;
inbox            1315 drivers/infiniband/hw/mthca/mthca_cmd.c 	__be32 *inbox;
inbox            1359 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = mailbox->buf;
inbox            1361 drivers/infiniband/hw/mthca/mthca_cmd.c 	memset(inbox, 0, INIT_HCA_IN_SIZE);
inbox            1364 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, 0x1, INIT_HCA_FLAGS1_OFFSET);
inbox            1367 drivers/infiniband/hw/mthca/mthca_cmd.c 	*(inbox + INIT_HCA_FLAGS2_OFFSET / 4) &= ~cpu_to_be32(1 << 1);
inbox            1369 drivers/infiniband/hw/mthca/mthca_cmd.c 	*(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(1 << 1);
inbox            1374 drivers/infiniband/hw/mthca/mthca_cmd.c 	*(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(1);
inbox            1378 drivers/infiniband/hw/mthca/mthca_cmd.c 		*(inbox + INIT_HCA_FLAGS2_OFFSET / 4) |= cpu_to_be32(7 << 3);
inbox            1384 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->qpc_base,     INIT_HCA_QPC_BASE_OFFSET);
inbox            1385 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_num_qps,  INIT_HCA_LOG_QP_OFFSET);
inbox            1386 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->eec_base,     INIT_HCA_EEC_BASE_OFFSET);
inbox            1387 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_num_eecs, INIT_HCA_LOG_EEC_OFFSET);
inbox            1388 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->srqc_base,    INIT_HCA_SRQC_BASE_OFFSET);
inbox            1389 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_num_srqs, INIT_HCA_LOG_SRQ_OFFSET);
inbox            1390 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->cqc_base,     INIT_HCA_CQC_BASE_OFFSET);
inbox            1391 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_num_cqs,  INIT_HCA_LOG_CQ_OFFSET);
inbox            1392 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->eqpc_base,    INIT_HCA_EQPC_BASE_OFFSET);
inbox            1393 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->eeec_base,    INIT_HCA_EEEC_BASE_OFFSET);
inbox            1394 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->eqc_base,     INIT_HCA_EQC_BASE_OFFSET);
inbox            1395 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_num_eqs,  INIT_HCA_LOG_EQ_OFFSET);
inbox            1396 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->rdb_base,     INIT_HCA_RDB_BASE_OFFSET);
inbox            1402 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->mc_base,         INIT_HCA_MC_BASE_OFFSET);
inbox            1403 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_mc_entry_sz, INIT_HCA_LOG_MC_ENTRY_SZ_OFFSET);
inbox            1404 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->mc_hash_sz,      INIT_HCA_MC_HASH_SZ_OFFSET);
inbox            1405 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_mc_table_sz, INIT_HCA_LOG_MC_TABLE_SZ_OFFSET);
inbox            1409 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->mpt_base,   INIT_HCA_MPT_BASE_OFFSET);
inbox            1411 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, param->mtt_seg_sz, INIT_HCA_MTT_SEG_SZ_OFFSET);
inbox            1412 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->log_mpt_sz, INIT_HCA_LOG_MPT_SZ_OFFSET);
inbox            1413 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->mtt_base,   INIT_HCA_MTT_BASE_OFFSET);
inbox            1418 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, uar_page_sz, INIT_HCA_UAR_PAGE_SZ_OFFSET);
inbox            1421 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->uar_scratch_base, INIT_HCA_UAR_SCATCH_BASE_OFFSET);
inbox            1424 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, param->log_uarc_sz, INIT_HCA_UARC_SZ_OFFSET);
inbox            1425 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, param->log_uar_sz,  INIT_HCA_LOG_UAR_SZ_OFFSET);
inbox            1426 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, param->uarc_base,   INIT_HCA_UAR_CTX_BASE_OFFSET);
inbox            1441 drivers/infiniband/hw/mthca/mthca_cmd.c 	u32 *inbox;
inbox            1462 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = mailbox->buf;
inbox            1464 drivers/infiniband/hw/mthca/mthca_cmd.c 	memset(inbox, 0, INIT_IB_IN_SIZE);
inbox            1473 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, flags, INIT_IB_FLAGS_OFFSET);
inbox            1475 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->gid_cap,   INIT_IB_MAX_GID_OFFSET);
inbox            1476 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->pkey_cap,  INIT_IB_MAX_PKEY_OFFSET);
inbox            1477 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->guid0,     INIT_IB_GUID0_OFFSET);
inbox            1478 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->node_guid, INIT_IB_NODE_GUID_OFFSET);
inbox            1479 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->si_guid,   INIT_IB_SI_GUID_OFFSET);
inbox            1502 drivers/infiniband/hw/mthca/mthca_cmd.c 	u32 *inbox;
inbox            1516 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = mailbox->buf;
inbox            1518 drivers/infiniband/hw/mthca/mthca_cmd.c 	memset(inbox, 0, SET_IB_IN_SIZE);
inbox            1522 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, flags, SET_IB_FLAGS_OFFSET);
inbox            1524 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->cap_mask, SET_IB_CAP_MASK_OFFSET);
inbox            1525 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, param->si_guid,  SET_IB_SI_GUID_OFFSET);
inbox            1542 drivers/infiniband/hw/mthca/mthca_cmd.c 	__be64 *inbox;
inbox            1548 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = mailbox->buf;
inbox            1550 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox[0] = cpu_to_be64(virt);
inbox            1551 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox[1] = cpu_to_be64(dma_addr);
inbox            1672 drivers/infiniband/hw/mthca/mthca_cmd.c 	__be32 *inbox;
inbox            1682 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = mailbox->buf;
inbox            1684 drivers/infiniband/hw/mthca/mthca_cmd.c 	memset(inbox, 0, RESIZE_CQ_IN_SIZE);
inbox            1689 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, log_size, RESIZE_CQ_LOG_SIZE_OFFSET);
inbox            1690 drivers/infiniband/hw/mthca/mthca_cmd.c 	MTHCA_PUT(inbox, lkey,     RESIZE_CQ_LKEY_OFFSET);
inbox            1867 drivers/infiniband/hw/mthca/mthca_cmd.c 	void *inbox;
inbox            1884 drivers/infiniband/hw/mthca/mthca_cmd.c 	inbox = inmailbox->buf;
inbox            1892 drivers/infiniband/hw/mthca/mthca_cmd.c 	memcpy(inbox, in_mad, 256);
inbox            1906 drivers/infiniband/hw/mthca/mthca_cmd.c 		memset(inbox + 256, 0, 256);
inbox            1908 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, in_wc->qp->qp_num, MAD_IFC_MY_QPN_OFFSET);
inbox            1909 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, in_wc->src_qp,     MAD_IFC_RQPN_OFFSET);
inbox            1912 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, val,               MAD_IFC_SL_OFFSET);
inbox            1916 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, val,               MAD_IFC_G_PATH_OFFSET);
inbox            1918 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, ib_lid_cpu16(in_wc->slid), MAD_IFC_RLID_OFFSET);
inbox            1919 drivers/infiniband/hw/mthca/mthca_cmd.c 		MTHCA_PUT(inbox, in_wc->pkey_index, MAD_IFC_PKEY_OFFSET);
inbox            1922 drivers/infiniband/hw/mthca/mthca_cmd.c 			memcpy(inbox + MAD_IFC_GRH_OFFSET, in_grh, 40);
inbox             840 drivers/net/ethernet/mellanox/mlx4/cmd.c 			       struct mlx4_cmd_mailbox *inbox,
inbox             843 drivers/net/ethernet/mellanox/mlx4/cmd.c 	struct ib_smp *in_mad = (struct ib_smp *)(inbox->buf);
inbox             853 drivers/net/ethernet/mellanox/mlx4/cmd.c 	err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
inbox             866 drivers/net/ethernet/mellanox/mlx4/cmd.c 			       struct mlx4_cmd_mailbox *inbox,
inbox             873 drivers/net/ethernet/mellanox/mlx4/cmd.c 		err = query_pkey_block(dev, port, i, table + i, inbox, outbox);
inbox             893 drivers/net/ethernet/mellanox/mlx4/cmd.c 				struct mlx4_cmd_mailbox *inbox,
inbox             897 drivers/net/ethernet/mellanox/mlx4/cmd.c 	struct ib_smp *smp = inbox->buf;
inbox             935 drivers/net/ethernet/mellanox/mlx4/cmd.c 				err = get_full_pkey_table(dev, port, table, inbox, outbox);
inbox             949 drivers/net/ethernet/mellanox/mlx4/cmd.c 				err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
inbox             972 drivers/net/ethernet/mellanox/mlx4/cmd.c 							   inbox->dma,
inbox             993 drivers/net/ethernet/mellanox/mlx4/cmd.c 				err = mlx4_cmd_box(dev, inbox->dma, outbox->dma,
inbox            1020 drivers/net/ethernet/mellanox/mlx4/cmd.c 	return mlx4_cmd_box(dev, inbox->dma, outbox->dma,
inbox            1027 drivers/net/ethernet/mellanox/mlx4/cmd.c 		     struct mlx4_cmd_mailbox *inbox,
inbox            1036 drivers/net/ethernet/mellanox/mlx4/cmd.c 		     struct mlx4_cmd_mailbox *inbox,
inbox            1044 drivers/net/ethernet/mellanox/mlx4/cmd.c 	in_param = cmd->has_inbox ? (u64) inbox->dma : vhcr->in_param;
inbox            1668 drivers/net/ethernet/mellanox/mlx4/cmd.c 	struct mlx4_cmd_mailbox *inbox = NULL;
inbox            1723 drivers/net/ethernet/mellanox/mlx4/cmd.c 		inbox = mlx4_alloc_cmd_mailbox(dev);
inbox            1724 drivers/net/ethernet/mellanox/mlx4/cmd.c 		if (IS_ERR(inbox)) {
inbox            1726 drivers/net/ethernet/mellanox/mlx4/cmd.c 			inbox = NULL;
inbox            1730 drivers/net/ethernet/mellanox/mlx4/cmd.c 		ret = mlx4_ACCESS_MEM(dev, inbox->dma, slave,
inbox            1744 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if (cmd->verify && cmd->verify(dev, slave, vhcr, inbox)) {
inbox            1763 drivers/net/ethernet/mellanox/mlx4/cmd.c 		err = cmd->wrapper(dev, slave, vhcr, inbox, outbox,
inbox            1768 drivers/net/ethernet/mellanox/mlx4/cmd.c 		in_param = cmd->has_inbox ? (u64) inbox->dma :
inbox            1836 drivers/net/ethernet/mellanox/mlx4/cmd.c 	mlx4_free_cmd_mailbox(dev, inbox);
inbox             876 drivers/net/ethernet/mellanox/mlx4/eq.c 			struct mlx4_cmd_mailbox *inbox,
inbox             181 drivers/net/ethernet/mellanox/mlx4/fw.c 	u32 *inbox;
inbox             192 drivers/net/ethernet/mellanox/mlx4/fw.c 	inbox = mailbox->buf;
inbox             194 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, cfg->log_pg_sz, MOD_STAT_CFG_PG_SZ_OFFSET);
inbox             195 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, cfg->log_pg_sz_m, MOD_STAT_CFG_PG_SZ_M_OFFSET);
inbox             327 drivers/net/ethernet/mellanox/mlx4/fw.c 				struct mlx4_cmd_mailbox *inbox,
inbox            1271 drivers/net/ethernet/mellanox/mlx4/fw.c 			       struct mlx4_cmd_mailbox *inbox,
inbox            1405 drivers/net/ethernet/mellanox/mlx4/fw.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            1742 drivers/net/ethernet/mellanox/mlx4/fw.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            1833 drivers/net/ethernet/mellanox/mlx4/fw.c 	__be32 *inbox;
inbox            1896 drivers/net/ethernet/mellanox/mlx4/fw.c 	inbox = mailbox->buf;
inbox            1904 drivers/net/ethernet/mellanox/mlx4/fw.c 	*(inbox + INIT_HCA_FLAGS_OFFSET / 4) &= ~cpu_to_be32(1 << 1);
inbox            1906 drivers/net/ethernet/mellanox/mlx4/fw.c 	*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 1);
inbox            1911 drivers/net/ethernet/mellanox/mlx4/fw.c 	*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1);
inbox            1915 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 3);
inbox            1919 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 2);
inbox            1923 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 4);
inbox            1927 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |= cpu_to_be32(1 << 13);
inbox            1931 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_EQE_CQE_OFFSETS / 4) |= cpu_to_be32(1 << 29);
inbox            1940 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_EQE_CQE_OFFSETS / 4) |= cpu_to_be32(1 << 30);
inbox            1953 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 |
inbox            1962 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_RECOVERABLE_ERROR_EVENT_OFFSET / 4) |= cpu_to_be32(1 << 31);
inbox            1965 drivers/net/ethernet/mellanox/mlx4/fw.c 		u8 *dst = (u8 *)(inbox + INIT_HCA_DRIVER_VERSION_OFFSET / 4);
inbox            1973 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->qpc_base,      INIT_HCA_QPC_BASE_OFFSET);
inbox            1974 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_num_qps,   INIT_HCA_LOG_QP_OFFSET);
inbox            1975 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->srqc_base,     INIT_HCA_SRQC_BASE_OFFSET);
inbox            1976 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_num_srqs,  INIT_HCA_LOG_SRQ_OFFSET);
inbox            1977 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->cqc_base,      INIT_HCA_CQC_BASE_OFFSET);
inbox            1978 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_num_cqs,   INIT_HCA_LOG_CQ_OFFSET);
inbox            1979 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->altc_base,     INIT_HCA_ALTC_BASE_OFFSET);
inbox            1980 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->auxc_base,     INIT_HCA_AUXC_BASE_OFFSET);
inbox            1981 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->eqc_base,      INIT_HCA_EQC_BASE_OFFSET);
inbox            1982 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_num_eqs,   INIT_HCA_LOG_EQ_OFFSET);
inbox            1983 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->num_sys_eqs,   INIT_HCA_NUM_SYS_EQS_OFFSET);
inbox            1984 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->rdmarc_base,   INIT_HCA_RDMARC_BASE_OFFSET);
inbox            1985 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_rd_per_qp, INIT_HCA_LOG_RD_OFFSET);
inbox            1990 drivers/net/ethernet/mellanox/mlx4/fw.c 		*(inbox + INIT_HCA_FLAGS_OFFSET / 4) |=
inbox            1994 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->mc_base, INIT_HCA_FS_BASE_OFFSET);
inbox            1995 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->log_mc_entry_sz,
inbox            1997 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->log_mc_table_sz,
inbox            2004 drivers/net/ethernet/mellanox/mlx4/fw.c 			MLX4_PUT(inbox,
inbox            2007 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, (u16) MLX4_FS_NUM_OF_L2_ADDR,
inbox            2012 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, (u8) (MLX4_FS_UDP_UC_EN | MLX4_FS_TCP_UC_EN),
inbox            2014 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, (u16) MLX4_FS_NUM_OF_L2_ADDR,
inbox            2019 drivers/net/ethernet/mellanox/mlx4/fw.c 			MLX4_PUT(inbox,
inbox            2024 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->mc_base,	INIT_HCA_MC_BASE_OFFSET);
inbox            2025 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->log_mc_entry_sz,
inbox            2027 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->log_mc_hash_sz,
inbox            2029 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, param->log_mc_table_sz,
inbox            2032 drivers/net/ethernet/mellanox/mlx4/fw.c 			MLX4_PUT(inbox, (u8) (1 << 3),
inbox            2038 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->dmpt_base,  INIT_HCA_DMPT_BASE_OFFSET);
inbox            2039 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->mw_enabled, INIT_HCA_TPT_MW_OFFSET);
inbox            2040 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_mpt_sz, INIT_HCA_LOG_MPT_SZ_OFFSET);
inbox            2041 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->mtt_base,   INIT_HCA_MTT_BASE_OFFSET);
inbox            2042 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->cmpt_base,  INIT_HCA_CMPT_BASE_OFFSET);
inbox            2046 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->uar_page_sz,	INIT_HCA_UAR_PAGE_SZ_OFFSET);
inbox            2047 drivers/net/ethernet/mellanox/mlx4/fw.c 	MLX4_PUT(inbox, param->log_uar_sz,      INIT_HCA_LOG_UAR_SZ_OFFSET);
inbox            2052 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, parser_params,	INIT_HCA_VXLAN_OFFSET);
inbox            2252 drivers/net/ethernet/mellanox/mlx4/fw.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            2296 drivers/net/ethernet/mellanox/mlx4/fw.c 	u32 *inbox;
inbox            2319 drivers/net/ethernet/mellanox/mlx4/fw.c 		inbox = mailbox->buf;
inbox            2324 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, flags,		  INIT_PORT_FLAGS_OFFSET);
inbox            2327 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, field, INIT_PORT_MTU_OFFSET);
inbox            2329 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, field, INIT_PORT_MAX_GID_OFFSET);
inbox            2331 drivers/net/ethernet/mellanox/mlx4/fw.c 		MLX4_PUT(inbox, field, INIT_PORT_MAX_PKEY_OFFSET);
inbox            2350 drivers/net/ethernet/mellanox/mlx4/fw.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            2916 drivers/net/ethernet/mellanox/mlx4/fw.c 	struct mlx4_cmd_mailbox *inbox, *outbox;
inbox            2920 drivers/net/ethernet/mellanox/mlx4/fw.c 	inbox = mlx4_alloc_cmd_mailbox(dev);
inbox            2921 drivers/net/ethernet/mellanox/mlx4/fw.c 	if (IS_ERR(inbox))
inbox            2922 drivers/net/ethernet/mellanox/mlx4/fw.c 		return PTR_ERR(inbox);
inbox            2926 drivers/net/ethernet/mellanox/mlx4/fw.c 		mlx4_free_cmd_mailbox(dev, inbox);
inbox            2930 drivers/net/ethernet/mellanox/mlx4/fw.c 	inbuf = inbox->buf;
inbox            2944 drivers/net/ethernet/mellanox/mlx4/fw.c 	err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, 0, 0,
inbox            2960 drivers/net/ethernet/mellanox/mlx4/fw.c 	mlx4_free_cmd_mailbox(dev, inbox);
inbox            2992 drivers/net/ethernet/mellanox/mlx4/fw.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            2996 drivers/net/ethernet/mellanox/mlx4/fw.c 	struct mlx4_access_reg *inbuf = inbox->buf;
inbox            3013 drivers/net/ethernet/mellanox/mlx4/fw.c 	return mlx4_cmd_box(dev, inbox->dma, outbox->dma, vhcr->in_modifier,
inbox             236 drivers/net/ethernet/mellanox/mlx4/fw.h 				struct mlx4_cmd_mailbox *inbox,
inbox            1560 drivers/net/ethernet/mellanox/mlx4/mcg.c 			 struct mlx4_cmd_mailbox *inbox,
inbox             204 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		      struct mlx4_cmd_mailbox *inbox);
inbox             206 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		       struct mlx4_cmd_mailbox *inbox,
inbox             988 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox             993 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox             998 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1003 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1008 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1013 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1018 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1023 drivers/net/ethernet/mellanox/mlx4/mlx4.h 		     struct mlx4_cmd_mailbox *inbox,
inbox            1065 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1070 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1074 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			struct mlx4_vhcr *vhcr, struct mlx4_cmd_mailbox *inbox,
inbox            1079 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1084 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1089 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1094 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1099 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1104 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1109 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1114 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1119 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1124 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1129 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			 struct mlx4_cmd_mailbox *inbox,
inbox            1134 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			struct mlx4_cmd_mailbox *inbox,
inbox            1139 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			     struct mlx4_cmd_mailbox *inbox,
inbox            1144 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			      struct mlx4_cmd_mailbox *inbox,
inbox            1149 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			     struct mlx4_cmd_mailbox *inbox,
inbox            1154 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1159 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1164 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			      struct mlx4_cmd_mailbox *inbox,
inbox            1169 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			 struct mlx4_cmd_mailbox *inbox,
inbox            1174 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1179 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1184 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1189 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			 struct mlx4_cmd_mailbox *inbox,
inbox            1194 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1271 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1276 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			  struct mlx4_cmd_mailbox *inbox,
inbox            1281 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1286 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1291 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			       struct mlx4_cmd_mailbox *inbox,
inbox            1296 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1306 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1312 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			   struct mlx4_cmd_mailbox *inbox,
inbox            1318 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			 struct mlx4_cmd_mailbox *inbox,
inbox            1332 drivers/net/ethernet/mellanox/mlx4/mlx4.h 				struct mlx4_cmd_mailbox *inbox,
inbox            1337 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			       struct mlx4_cmd_mailbox *inbox,
inbox            1344 drivers/net/ethernet/mellanox/mlx4/mlx4.h 				   struct mlx4_cmd_mailbox *inbox,
inbox            1349 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox            1354 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			       struct mlx4_cmd_mailbox *inbox,
inbox            1359 drivers/net/ethernet/mellanox/mlx4/mlx4.h 					 struct mlx4_cmd_mailbox *inbox,
inbox            1364 drivers/net/ethernet/mellanox/mlx4/mlx4.h 					 struct mlx4_cmd_mailbox *inbox,
inbox            1369 drivers/net/ethernet/mellanox/mlx4/mlx4.h 			    struct mlx4_cmd_mailbox *inbox,
inbox             750 drivers/net/ethernet/mellanox/mlx4/mr.c 	__be64 *inbox = NULL;
inbox             762 drivers/net/ethernet/mellanox/mlx4/mr.c 		inbox = mailbox->buf;
inbox             767 drivers/net/ethernet/mellanox/mlx4/mr.c 			inbox[0] = cpu_to_be64(mtt->offset + start_index);
inbox             768 drivers/net/ethernet/mellanox/mlx4/mr.c 			inbox[1] = 0;
inbox             770 drivers/net/ethernet/mellanox/mlx4/mr.c 				inbox[i + 2] = cpu_to_be64(page_list[i] |
inbox            1333 drivers/net/ethernet/mellanox/mlx4/port.c 				u8 op_mod, struct mlx4_cmd_mailbox *inbox)
inbox            1372 drivers/net/ethernet/mellanox/mlx4/port.c 			qpn_context = inbox->buf;
inbox            1388 drivers/net/ethernet/mellanox/mlx4/port.c 			gen_context = inbox->buf;
inbox            1411 drivers/net/ethernet/mellanox/mlx4/port.c 			gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
inbox            1440 drivers/net/ethernet/mellanox/mlx4/port.c 				gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
inbox            1457 drivers/net/ethernet/mellanox/mlx4/port.c 			gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
inbox            1463 drivers/net/ethernet/mellanox/mlx4/port.c 			gid_entry_mbox = (struct mlx4_roce_gid_entry *)(inbox->buf);
inbox            1469 drivers/net/ethernet/mellanox/mlx4/port.c 			err = mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod,
inbox            1476 drivers/net/ethernet/mellanox/mlx4/port.c 		return mlx4_cmd(dev, inbox->dma, in_mod & 0xffff, op_mod,
inbox            1494 drivers/net/ethernet/mellanox/mlx4/port.c 		reset_qkey_viols = (*(u8 *) inbox->buf) & 0x40;
inbox            1495 drivers/net/ethernet/mellanox/mlx4/port.c 		new_cap_mask = ((__be32 *) inbox->buf)[2];
inbox            1497 drivers/net/ethernet/mellanox/mlx4/port.c 		reset_qkey_viols = ((u8 *) inbox->buf)[3] & 0x1;
inbox            1498 drivers/net/ethernet/mellanox/mlx4/port.c 		new_cap_mask = ((__be32 *) inbox->buf)[1];
inbox            1523 drivers/net/ethernet/mellanox/mlx4/port.c 		memset(inbox->buf, 0, 256);
inbox            1525 drivers/net/ethernet/mellanox/mlx4/port.c 		*(u8 *) inbox->buf	   |= !!reset_qkey_viols << 6;
inbox            1526 drivers/net/ethernet/mellanox/mlx4/port.c 		((__be32 *) inbox->buf)[2] = agg_cap_mask;
inbox            1528 drivers/net/ethernet/mellanox/mlx4/port.c 		((u8 *) inbox->buf)[3]     |= !!reset_qkey_viols;
inbox            1529 drivers/net/ethernet/mellanox/mlx4/port.c 		((__be32 *) inbox->buf)[1] = agg_cap_mask;
inbox            1532 drivers/net/ethernet/mellanox/mlx4/port.c 	err = mlx4_cmd(dev, inbox->dma, port, is_eth, MLX4_CMD_SET_PORT,
inbox            1542 drivers/net/ethernet/mellanox/mlx4/port.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            1556 drivers/net/ethernet/mellanox/mlx4/port.c 				    vhcr->op_modifier, inbox);
inbox            1819 drivers/net/ethernet/mellanox/mlx4/port.c 				struct mlx4_cmd_mailbox *inbox,
inbox            1839 drivers/net/ethernet/mellanox/mlx4/port.c 			       struct mlx4_cmd_mailbox *inbox,
inbox            1850 drivers/net/ethernet/mellanox/mlx4/port.c 				struct mlx4_cmd_mailbox *inbox,
inbox            2045 drivers/net/ethernet/mellanox/mlx4/port.c 	struct mlx4_cmd_mailbox *inbox, *outbox;
inbox            2054 drivers/net/ethernet/mellanox/mlx4/port.c 	inbox = mlx4_alloc_cmd_mailbox(dev);
inbox            2055 drivers/net/ethernet/mellanox/mlx4/port.c 	if (IS_ERR(inbox))
inbox            2056 drivers/net/ethernet/mellanox/mlx4/port.c 		return PTR_ERR(inbox);
inbox            2060 drivers/net/ethernet/mellanox/mlx4/port.c 		mlx4_free_cmd_mailbox(dev, inbox);
inbox            2064 drivers/net/ethernet/mellanox/mlx4/port.c 	inmad = (struct mlx4_mad_ifc *)(inbox->buf);
inbox            2087 drivers/net/ethernet/mellanox/mlx4/port.c 	ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3,
inbox            2115 drivers/net/ethernet/mellanox/mlx4/port.c 	mlx4_free_cmd_mailbox(dev, inbox);
inbox             692 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			      struct mlx4_cmd_mailbox *inbox)
inbox             694 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	u8 sched = *(u8 *)(inbox->buf + 64);
inbox             695 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	u8 orig_index = *(u8 *)(inbox->buf + 35);
inbox             703 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	*(u8 *)(inbox->buf + 35) = new_index;
inbox             706 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static void update_gid(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *inbox,
inbox             709 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context	*qp_ctx = inbox->buf + 8;
inbox             710 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	enum mlx4_qp_optpar	optpar = be32_to_cpu(*(__be32 *) inbox->buf);
inbox             750 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				 struct mlx4_cmd_mailbox *inbox,
inbox             753 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context	*qpc = inbox->buf + 8;
inbox             779 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				*(__be32 *)inbox->buf =
inbox             780 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					cpu_to_be32(be32_to_cpu(*(__be32 *)inbox->buf) |
inbox            2296 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            2610 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            2756 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            2764 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int mtt_base = mr_get_mtt_addr(inbox->buf) / dev->caps.mtt_entry_sz;
inbox            2776 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (!mr_is_region(inbox->buf)) {
inbox            2782 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	pd = mr_get_pd(inbox->buf);
inbox            2789 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (mr_is_fmr(inbox->buf)) {
inbox            2791 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if (mr_is_bind_enabled(inbox->buf)) {
inbox            2796 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if (!mr_is_region(inbox->buf)) {
inbox            2802 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	phys = mr_phys_mpt(inbox->buf);
inbox            2809 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				      mr_get_mtt_size(inbox->buf), mtt);
inbox            2816 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            2839 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            2853 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            2871 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            2907 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            2949 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				 struct mlx4_cmd_mailbox *inbox);
inbox            2953 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			     struct mlx4_cmd_mailbox *inbox,
inbox            2961 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *qpc = inbox->buf + 8;
inbox            2973 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, qpc, inbox);
inbox            3016 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3017 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3094 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3101 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_eq_context *eqc = inbox->buf;
inbox            3122 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3143 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            3153 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3184 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				struct mlx4_cmd_mailbox *inbox,
inbox            3194 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	qp_ctx  = inbox->buf + 8;
inbox            3196 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	optpar	= be32_to_cpu(*(__be32 *) inbox->buf);
inbox            3264 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            3269 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	__be64 *page_list = inbox->buf;
inbox            3302 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3319 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3408 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3426 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3435 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3441 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_cq_context *cqc = inbox->buf;
inbox            3455 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3473 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3484 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3498 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            3513 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3522 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			 struct mlx4_cmd_mailbox *inbox,
inbox            3530 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_cq_context *cqc = inbox->buf;
inbox            3549 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3570 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            3586 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		err = handle_resize(dev, slave, vhcr, inbox, outbox, cmd, cq);
inbox            3590 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3611 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            3619 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_srq_context *srqc = inbox->buf;
inbox            3636 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3656 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            3667 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3685 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            3700 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3708 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			 struct mlx4_cmd_mailbox *inbox,
inbox            3725 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3733 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			struct mlx4_cmd_mailbox *inbox,
inbox            3749 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3757 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			      struct mlx4_cmd_mailbox *inbox,
inbox            3761 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3763 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3764 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3769 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				  struct mlx4_cmd_mailbox *inbox)
inbox            3771 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	enum mlx4_qp_optpar optpar = be32_to_cpu(*(__be32 *)inbox->buf);
inbox            3802 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 				struct mlx4_cmd_mailbox *inbox)
inbox            3807 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	u8 sched = *(u8 *)(inbox->buf + 64);
inbox            3821 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			     struct mlx4_cmd_mailbox *inbox,
inbox            3826 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *qpc = inbox->buf + 8;
inbox            3836 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, qpc, inbox);
inbox            3839 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_INIT2RTR, slave);
inbox            3843 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	if (roce_verify_mac(dev, slave, qpc, inbox))
inbox            3846 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3847 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_gid(dev, inbox, (u8)slave);
inbox            3859 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = update_vport_qp_param(dev, inbox, slave, qpn);
inbox            3863 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3883 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            3888 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3890 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, context, inbox);
inbox            3893 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_RTR2RTS, slave);
inbox            3897 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3898 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_gid(dev, inbox, (u8)slave);
inbox            3900 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3905 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            3910 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3912 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, context, inbox);
inbox            3915 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_RTS2RTS, slave);
inbox            3919 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3920 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_gid(dev, inbox, (u8)slave);
inbox            3922 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3928 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			      struct mlx4_cmd_mailbox *inbox,
inbox            3932 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3933 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	int err = adjust_qp_sched_queue(dev, slave, context, inbox);
inbox            3937 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3942 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            3947 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3949 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, context, inbox);
inbox            3952 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_SQD2SQD, slave);
inbox            3957 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_gid(dev, inbox, (u8)slave);
inbox            3958 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3959 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3964 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			    struct mlx4_cmd_mailbox *inbox,
inbox            3969 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	struct mlx4_qp_context *context = inbox->buf + 8;
inbox            3971 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = adjust_qp_sched_queue(dev, slave, context, inbox);
inbox            3974 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = verify_qp_parameters(dev, vhcr, inbox, QP_TRANS_SQD2RTS, slave);
inbox            3979 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_gid(dev, inbox, (u8)slave);
inbox            3980 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	update_pkey_index(dev, slave, inbox);
inbox            3981 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	return mlx4_GEN_QP_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            3986 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			 struct mlx4_cmd_mailbox *inbox,
inbox            3997 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);
inbox            4139 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			       struct mlx4_cmd_mailbox *inbox,
inbox            4144 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	u8 *gid = inbox->buf;
inbox            4225 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			  struct mlx4_cmd_mailbox *inbox,
inbox            4237 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	ctrl = (struct mlx4_net_trans_rule_hw_ctrl *)inbox->buf;
inbox            4285 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			   struct mlx4_cmd_mailbox *inbox,
inbox            4298 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	cmd = (struct mlx4_update_qp_context *)inbox->buf;
inbox            4335 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_cmd(dev, inbox->dma,
inbox            4367 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					 struct mlx4_cmd_mailbox *inbox,
inbox            4388 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	ctrl = (struct mlx4_net_trans_rule_hw_ctrl *)inbox->buf;
inbox            4418 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if (add_eth_header(dev, slave, inbox, rlist, header_id)) {
inbox            4431 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_cmd_imm(dev, inbox->dma, &vhcr->out_param,
inbox            4449 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	mbox_size = qp_attach_mbox_size(inbox->buf);
inbox            4457 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	memcpy(rrule->mirr_mbox, inbox->buf, mbox_size);
inbox            4501 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 					 struct mlx4_cmd_mailbox *inbox,
inbox            4565 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 			       struct mlx4_cmd_mailbox *inbox,
inbox            4576 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 	err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd);