Home
last modified time | relevance | path

Searched full:outbox (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/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.h209 struct mlx4_cmd_mailbox *outbox,
997 struct mlx4_cmd_mailbox *outbox,
1002 struct mlx4_cmd_mailbox *outbox,
1007 struct mlx4_cmd_mailbox *outbox,
1012 struct mlx4_cmd_mailbox *outbox,
1017 struct mlx4_cmd_mailbox *outbox,
1022 struct mlx4_cmd_mailbox *outbox,
1027 struct mlx4_cmd_mailbox *outbox,
1032 struct mlx4_cmd_mailbox *outbox,
1077 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
2758 struct mlx4_cmd_mailbox *outbox, in mlx4_SW2HW_MPT_wrapper() argument
2817 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_SW2HW_MPT_wrapper()
2841 struct mlx4_cmd_mailbox *outbox, in mlx4_HW2SW_MPT_wrapper() argument
2854 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_HW2SW_MPT_wrapper()
2873 struct mlx4_cmd_mailbox *outbox, in mlx4_QUERY_MPT_wrapper() argument
2899 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper()
2904 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
2908 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_QUERY_MPT_wrapper()
[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 …]
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 …]
Dfw.h238 struct mlx4_cmd_mailbox *outbox,
Dmcg.c1561 struct mlx4_cmd_mailbox *outbox, in mlx4_PROMISC_wrapper() argument
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/mailbox/
Dsprd-mailbox.c38 /* Bit and mask definition for outbox's SPRD_MBOX_FIFO_STS register */
50 /* Bit and mask definition for outbox's SPRD_MBOX_IRQ_MSK register */
63 /* Base register address for supplementary outbox */
114 dev_warn_ratelimited(priv->dev, "spurious outbox interrupt\n"); in do_outbox_isr()
130 /* Trigger to update outbox FIFO pointer */ in do_outbox_isr()
244 /* Select outbox FIFO mode and reset the outbox FIFO status */ in sprd_mbox_startup()
252 /* Enable outbox FIFO not empty interrupt */ in sprd_mbox_startup()
257 /* Enable supplementary outbox as the fundamental one */ in sprd_mbox_startup()
276 /* Disable inbox & outbox interrupt */ in sprd_mbox_shutdown()
317 * core, and uses (an) outbox(es) to receive messages from other in sprd_mbox_probe()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/mailbox/
Dsprd-mailbox.yaml23 - description: outbox registers' base address
33 - const: outbox
34 - const: supp-outbox
67 interrupt-names = "inbox", "outbox";
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c844 /* check outbox status */ in mlx5_cmd_check()
1170 * ret == 0: Command was executed by FW, Caller must check FW outbox status.
1941 /* preserve -EREMOTEIO for outbox.status != OK, otherwise return err as is */
1962 * outbox.status and will return -EREMOTEIO when
1963 * outbox.status != MLX5_CMD_STAT_OK
1968 * @out: outbox mlx5_ifc buffer
1969 * @out_size: outbox size
1972 * -EREMOTEIO : Command executed by FW, outbox.status != MLX5_CMD_STAT_OK.
1973 * Caller must check FW outbox status.
1974 * 0 : Command execution successful, outbox.status == MLX5_CMD_STAT_OK.
[all …]
Dcq.c88 /* Callers must verify outbox status in case of err */
/Linux-v6.6/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_srv_stat.c38 * dmub_srv_stat_get_notification - Retrieves a dmub outbox notification, set up dmub notification
126 * Notify dc whether dmub has a pending outbox message, in dmub_srv_stat_get_notification()
Ddmub_srv.c55 /* Mailbox size : Ring buffers are required for both inbox and outbox */
584 * Doubled the mailbox region to accomodate inbox and outbox. in dmub_srv_hw_init()
586 * equally into 8KB between inbox and outbox. If this config is in dmub_srv_hw_init()
Ddmub_dcn20.c303 /* New firmware can support CW4 for the outbox. */ in dmub_dcn20_setup_out_mailbox()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_outbox.c34 * Sends inbox cmd to dmub for enabling outbox notifications to x86.
/Linux-v6.6/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h1013 * enum dmub_out_cmd_type - DMUB outbox commands.
1017 * Invalid outbox command, ignored.
1584 uint8_t immed_status; /* Immediate status returned as there is no outbox msg posted */
1723 /* DP AUX Reply command - OutBox Cmd */
1786 /* DP HPD Notify command - OutBox Cmd */
1921 * union dpia_notify_data_type - DPIA Notification in Outbox command
4147 * union dmub_rb_out_cmd - Outbox command
4196 * struct dmub_rb - Inbox or outbox DMUB ringbuffer
4270 * @brief Pushes a command into the DMUB outbox ringbuffer
4272 * @param rb DMUB outbox ringbuffer
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.h108 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ
257 * @dmub_outbox_params: DMUB Outbox parameters
Damdgpu_dm.c797 * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt
798 * @interrupt_params: used for determining the Outbox instance
800 * Handles the Outbox Interrupt
1827 /* Enable outbox notification only after IRQ handlers are registered and DMUB is alive. in amdgpu_dm_init()
1834 /* DPIA trace goes to dmesg logs only if outbox is enabled */ in amdgpu_dm_init()
2891 /* Re-enable outbox interrupts for DPIA. */ in dm_resume()
3859 /* Register Outbox IRQ sources and initialize IRQ callbacks */
3873 DRM_ERROR("Failed to add outbox irq id!\n"); in register_outbox_irq_handlers()
4412 /* Use Outbox interrupt */ in amdgpu_dm_initialize_drm_device()
4429 DRM_DEBUG_KMS("Unsupported DCN IP version for outbox: 0x%X\n", in amdgpu_dm_initialize_drm_device()
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h161 /* Receive context mailbox data outbox registers
229 /* Transmit context mailbox outbox registers
/Linux-v6.6/sound/soc/intel/catpt/
Dipc.c30 * Both tx and rx are put into and received from outbox. Inbox is in catpt_ipc_arm()
/Linux-v6.6/drivers/comedi/drivers/
Damcc_s5933.h50 #define INTCSR_OUTBOX_EMPTY_INT 0x10 /* enable outbox empty interrupt */
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc.c4885 * dc_is_dmub_outbox_supported - Check if DMUB firmware support outbox notification
4889 * Checks whether DMUB FW supports outbox notifications, if supported DM
4890 * should register outbox interrupt prior to actually enabling interrupts
4894 * True if DMUB FW supports outbox notifications, False otherwise
4913 * dc_enable_dmub_notifications - Check if dmub fw supports outbox
4917 * Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox
4922 * True if DMUB FW supports outbox notifications, False otherwise
4934 * Enables DMUB unsolicited notifications to x86 via outbox.
4941 DC_LOG_DC("%s: dmub outbox notifications enabled\n", __func__); in dc_enable_dmub_outbox()
5070 /* cmd pending, will receive notification via outbox */ in dc_process_dmub_set_config_async()
/Linux-v6.6/drivers/gpu/drm/amd/display/dmub/
Ddmub_srv.h122 /* enum dmub_notification_type - dmub outbox notification identifier */
/Linux-v6.6/sound/soc/sof/
Dipc3.c693 elem->size, "outbox", in ipc3_get_windows()

12