Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dfw.h238 struct mlx4_cmd_mailbox *outbox,
H A Dmcg.c1561 struct mlx4_cmd_mailbox *outbox, in mlx4_PROMISC_wrapper() argument
H A Deq.c878 struct mlx4_cmd_mailbox *outbox, in mlx4_MAP_EQ_wrapper() argument
/linux/drivers/infiniband/hw/mthca/
H A 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/drivers/mailbox/
H A 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 */
113 dev_warn_ratelimited(priv->dev, "spurious outbox interrupt\n"); in do_outbox_isr()
129 /* Trigger to update outbox FIFO pointer */ in do_outbox_isr()
243 /* Select outbox FIFO mode and reset the outbox FIFO status */ in sprd_mbox_startup()
251 /* Enable outbox FIFO not empty interrupt */ in sprd_mbox_startup()
256 /* Enable supplementary outbox as the fundamental one */ in sprd_mbox_startup()
275 /* Disable inbox & outbox interrupt */ in sprd_mbox_shutdown()
310 * core, and uses (an) outbox(es) to receive messages from other in sprd_mbox_probe()
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
H A Dsprd-mailbox.yaml23 - description: outbox registers' base address
33 - const: outbox
34 - const: supp-outbox
67 interrupt-names = "inbox", "outbox";
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c854 /* check outbox status */ in mlx5_cmd_check()
1202 * ret == 0: Command was executed by FW, Caller must check FW outbox status.
1984 /* preserve -EREMOTEIO for outbox.status != OK, otherwise return err as is */
2005 * outbox.status and will return -EREMOTEIO when
2006 * outbox.status != MLX5_CMD_STAT_OK
2011 * @out: outbox mlx5_ifc buffer
2012 * @out_size: outbox size
2015 * -EREMOTEIO : Command executed by FW, outbox.status != MLX5_CMD_STAT_OK.
2016 * Caller must check FW outbox status.
2017 * 0 : Command execution successful, outbox.status == MLX5_CMD_STAT_OK.
[all …]
/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_srv_stat.c38 * dmub_srv_stat_get_notification - Retrieves a dmub outbox notification, set up dmub notification
132 * Notify dc whether dmub has a pending outbox message, in dmub_srv_stat_get_notification()
H A Ddmub_srv.c58 /* Mailbox size : Ring buffers are required for both inbox and outbox */
685 * Doubled the mailbox region to accomodate inbox and outbox. in dmub_srv_hw_init()
687 * equally into 8KB between inbox and outbox. If this config is in dmub_srv_hw_init()
H A Ddmub_dcn20.c304 /* New firmware can support CW4 for the outbox. */ in dmub_dcn20_setup_out_mailbox()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_outbox.c34 * Sends inbox cmd to dmub for enabling outbox notifications to x86.
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h789 * in situations where the inbox/outbox may be unavailable.
1467 * enum dmub_out_cmd_type - DMUB outbox commands.
1471 * Invalid outbox command, ignored.
2380 uint8_t immed_status; /* Immediate status returned as there is no outbox msg posted */
2537 /* DP AUX Reply command - OutBox Cmd */
2600 /* DP HPD Notify command - OutBox Cmd */
2735 * union dpia_notify_data_type - DPIA Notification in Outbox command
5738 * union dmub_rb_out_cmd - Outbox command
5787 * struct dmub_rb - Inbox or outbox DMUB ringbuffer
5861 * @brief Pushes a command into the DMUB outbox ringbuffer
[all …]
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.h161 /* Receive context mailbox data outbox registers
229 /* Transmit context mailbox outbox registers
/linux/sound/soc/intel/catpt/
H A Dipc.c30 * Both tx and rx are put into and received from outbox. Inbox is in catpt_ipc_arm()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h112 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ
283 * @dmub_outbox_params: DMUB Outbox parameters
H A Damdgpu_dm.c881 * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt
882 * @interrupt_params: used for determining the Outbox instance
884 * Handles the Outbox Interrupt
2182 /* Enable outbox notification only after IRQ handlers are registered and DMUB is alive. in amdgpu_dm_init()
2190 /* DPIA trace goes to dmesg logs only if outbox is enabled */ in amdgpu_dm_init()
3384 /* Re-enable outbox interrupts for DPIA. */ in dm_resume()
4475 /* Register Outbox IRQ sources and initialize IRQ callbacks */
4489 DRM_ERROR("Failed to add outbox irq id!\n"); in register_outbox_irq_handlers()
5079 /* Use Outbox interrupt */ in amdgpu_dm_initialize_drm_device()
5099 DRM_DEBUG_KMS("Unsupported DCN IP version for outbox: 0x%X\n", in amdgpu_dm_initialize_drm_device()
/linux/drivers/comedi/drivers/
H A Damcc_s5933.h50 #define INTCSR_OUTBOX_EMPTY_INT 0x10 /* enable outbox empty interrupt */
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c5728 * dc_is_dmub_outbox_supported - Check if DMUB firmware support outbox notification
5732 * Checks whether DMUB FW supports outbox notifications, if supported DM
5733 * should register outbox interrupt prior to actually enabling interrupts
5737 * True if DMUB FW supports outbox notifications, False otherwise
5769 * dc_enable_dmub_notifications - Check if dmub fw supports outbox
5773 * Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox
5778 * True if DMUB FW supports outbox notifications, False otherwise
5790 * Enables DMUB unsolicited notifications to x86 via outbox.
5797 DC_LOG_DC("%s: dmub outbox notifications enabled\n", __func__); in dc_enable_dmub_outbox()
5926 /* cmd pending, will receive notification via outbox */ in dc_process_dmub_set_config_async()
/linux/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv.h135 /* enum dmub_notification_type - dmub outbox notification identifier */