Home
last modified time | relevance | path

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

12

/openbmc/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,
/openbmc/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 …]
/openbmc/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 */
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 …]
/openbmc/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";
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c847 /* check outbox status */ in mlx5_cmd_check()
1195 * ret == 0: Command was executed by FW, Caller must check FW outbox status.
1975 /* preserve -EREMOTEIO for outbox.status != OK, otherwise return err as is */
1996 * outbox.status and will return -EREMOTEIO when
1997 * outbox.status != MLX5_CMD_STAT_OK
2002 * @out: outbox mlx5_ifc buffer
2003 * @out_size: outbox size
2006 * -EREMOTEIO : Command executed by FW, outbox.status != MLX5_CMD_STAT_OK.
2007 * Caller must check FW outbox status.
2008 * 0 : Command execution successful, outbox.status == MLX5_CMD_STAT_OK.
[all …]
H A Dcq.c88 /* Callers must verify outbox status in case of err */
/openbmc/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
126 * Notify dc whether dmub has a pending outbox message, in dmub_srv_stat_get_notification()
H A Ddmub_srv.c55 /* Mailbox size : Ring buffers are required for both inbox and outbox */
600 * Doubled the mailbox region to accomodate inbox and outbox. in dmub_srv_hw_init()
602 * equally into 8KB between inbox and outbox. If this config is in dmub_srv_hw_init()
H A Ddmub_dcn20.c303 /* New firmware can support CW4 for the outbox. */ in dmub_dcn20_setup_out_mailbox()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_outbox.c34 * Sends inbox cmd to dmub for enabling outbox notifications to x86.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/gammu/gammu/
H A Dgammu-smsdrc75 outboxpath = /var/spool/sms/outbox/
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A 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
4157 * union dmub_rb_out_cmd - Outbox command
4206 * struct dmub_rb - Inbox or outbox DMUB ringbuffer
4280 * @brief Pushes a command into the DMUB outbox ringbuffer
4282 * @param rb DMUB outbox ringbuffer
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h108 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ
257 * @dmub_outbox_params: DMUB Outbox parameters
H A Damdgpu_dm.c802 * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt
803 * @interrupt_params: used for determining the Outbox instance
805 * Handles the Outbox Interrupt
1827 /* Enable outbox notification only after IRQ handlers are registered and DMUB is alive. in amdgpu_dm_init()
1835 /* DPIA trace goes to dmesg logs only if outbox is enabled */ in amdgpu_dm_init()
2893 /* Re-enable outbox interrupts for DPIA. */ in dm_resume()
3870 /* Register Outbox IRQ sources and initialize IRQ callbacks */
3884 DRM_ERROR("Failed to add outbox irq id!\n"); in register_outbox_irq_handlers()
4441 /* Use Outbox interrupt */ in amdgpu_dm_initialize_drm_device()
4458 DRM_DEBUG_KMS("Unsupported DCN IP version for outbox: 0x%X\n", in amdgpu_dm_initialize_drm_device()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.h161 /* Receive context mailbox data outbox registers
229 /* Transmit context mailbox outbox registers
/openbmc/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()
/openbmc/linux/drivers/comedi/drivers/
H A Damcc_s5933.h50 #define INTCSR_OUTBOX_EMPTY_INT 0x10 /* enable outbox empty interrupt */
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c4865 * dc_is_dmub_outbox_supported - Check if DMUB firmware support outbox notification
4869 * Checks whether DMUB FW supports outbox notifications, if supported DM
4870 * should register outbox interrupt prior to actually enabling interrupts
4874 * True if DMUB FW supports outbox notifications, False otherwise
4903 * dc_enable_dmub_notifications - Check if dmub fw supports outbox
4907 * Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox
4912 * True if DMUB FW supports outbox notifications, False otherwise
4924 * Enables DMUB unsolicited notifications to x86 via outbox.
4931 DC_LOG_DC("%s: dmub outbox notifications enabled\n", __func__); in dc_enable_dmub_outbox()
5060 /* cmd pending, will receive notification via outbox */ in dc_process_dmub_set_config_async()
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv.h122 /* enum dmub_notification_type - dmub outbox notification identifier */
/openbmc/linux/sound/soc/sof/
H A Dipc3.c693 elem->size, "outbox", in ipc3_get_windows()

12