Home
last modified time | relevance | path

Searched refs:outbox (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw.c207 u32 *outbox; in mlx4_QUERY_FUNC() local
224 outbox = mailbox->buf; in mlx4_QUERY_FUNC()
235 MLX4_GET(field, outbox, QUERY_FUNC_BUS_OFFSET); in mlx4_QUERY_FUNC()
237 MLX4_GET(field, outbox, QUERY_FUNC_DEVICE_OFFSET); in mlx4_QUERY_FUNC()
239 MLX4_GET(field, outbox, QUERY_FUNC_FUNCTION_OFFSET); in mlx4_QUERY_FUNC()
241 MLX4_GET(field, outbox, QUERY_FUNC_PHYSICAL_FUNCTION_OFFSET); in mlx4_QUERY_FUNC()
243 MLX4_GET(field16, outbox, QUERY_FUNC_RSVD_EQS_OFFSET); in mlx4_QUERY_FUNC()
245 MLX4_GET(field16, outbox, QUERY_FUNC_MAX_EQ_OFFSET); in mlx4_QUERY_FUNC()
247 MLX4_GET(field, outbox, QUERY_FUNC_RSVD_UARS_OFFSET); in mlx4_QUERY_FUNC()
328 struct mlx4_cmd_mailbox *outbox, in mlx4_QUERY_FUNC_CAP_wrapper() argument
[all …]
Dmlx4.h207 struct mlx4_cmd_mailbox *outbox,
989 struct mlx4_cmd_mailbox *outbox,
994 struct mlx4_cmd_mailbox *outbox,
999 struct mlx4_cmd_mailbox *outbox,
1004 struct mlx4_cmd_mailbox *outbox,
1009 struct mlx4_cmd_mailbox *outbox,
1014 struct mlx4_cmd_mailbox *outbox,
1019 struct mlx4_cmd_mailbox *outbox,
1024 struct mlx4_cmd_mailbox *outbox,
1066 struct mlx4_cmd_mailbox *outbox,
[all …]
Dresource_tracker.c2297 struct mlx4_cmd_mailbox *outbox, in mlx4_ALLOC_RES_wrapper() argument
2611 struct mlx4_cmd_mailbox *outbox, in mlx4_FREE_RES_wrapper() argument
2757 struct mlx4_cmd_mailbox *outbox, in mlx4_SW2HW_MPT_wrapper() argument
2816 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_SW2HW_MPT_wrapper()
2840 struct mlx4_cmd_mailbox *outbox, in mlx4_HW2SW_MPT_wrapper() argument
2853 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_HW2SW_MPT_wrapper()
2872 struct mlx4_cmd_mailbox *outbox, in mlx4_QUERY_MPT_wrapper() argument
2898 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper()
2903 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
2907 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_QUERY_MPT_wrapper()
[all …]
Dport.c1543 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_PORT_wrapper() argument
1820 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_MCAST_FLTR_wrapper() argument
1840 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_VLAN_FLTR_wrapper() argument
1851 struct mlx4_cmd_mailbox *outbox, in mlx4_DUMP_ETH_STATS_wrapper() argument
2032 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_id() local
2041 outbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_id()
2042 if (IS_ERR(outbox)) { in mlx4_get_module_id()
2044 return PTR_ERR(outbox); in mlx4_get_module_id()
2048 outmad = (struct mlx4_mad_ifc *)(outbox->buf); in mlx4_get_module_id()
2062 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_id()
[all …]
Dcmd.c841 struct mlx4_cmd_mailbox *outbox) in query_pkey_block() argument
844 struct ib_smp *out_mad = (struct ib_smp *)(outbox->buf); in query_pkey_block()
853 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in query_pkey_block()
867 struct mlx4_cmd_mailbox *outbox) in get_full_pkey_table() argument
873 err = query_pkey_block(dev, port, i, table + i, inbox, outbox); in get_full_pkey_table()
894 struct mlx4_cmd_mailbox *outbox, in mlx4_MAD_IFC_wrapper() argument
906 struct ib_smp *outsmp = outbox->buf; in mlx4_MAD_IFC_wrapper()
935 err = get_full_pkey_table(dev, port, table, inbox, outbox); in mlx4_MAD_IFC_wrapper()
949 err = mlx4_cmd_box(dev, inbox->dma, outbox->dma, in mlx4_MAD_IFC_wrapper()
973 outbox->dma, in mlx4_MAD_IFC_wrapper()
[all …]
Dfw.h238 struct mlx4_cmd_mailbox *outbox,
Dmcg.c1561 struct mlx4_cmd_mailbox *outbox, in mlx4_PROMISC_wrapper() argument
Deq.c877 struct mlx4_cmd_mailbox *outbox, in mlx4_MAP_EQ_wrapper() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_cmd.c780 u32 *outbox; in mthca_QUERY_FW() local
808 outbox = mailbox->buf; in mthca_QUERY_FW()
816 MTHCA_GET(dev->fw_ver, outbox, QUERY_FW_VER_OFFSET); in mthca_QUERY_FW()
825 MTHCA_GET(lg, outbox, QUERY_FW_MAX_CMD_OFFSET); in mthca_QUERY_FW()
831 MTHCA_GET(dev->catas_err.addr, outbox, QUERY_FW_ERR_START_OFFSET); in mthca_QUERY_FW()
832 MTHCA_GET(dev->catas_err.size, outbox, QUERY_FW_ERR_SIZE_OFFSET); in mthca_QUERY_FW()
837 MTHCA_GET(tmp, outbox, QUERY_FW_CMD_DB_EN_OFFSET); in mthca_QUERY_FW()
841 MTHCA_GET(base, outbox, QUERY_FW_CMD_DB_BASE); in mthca_QUERY_FW()
843 MTHCA_GET(dev->cmd.dbell_offsets[i], outbox, in mthca_QUERY_FW()
850 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW()
[all …]