| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | fw.c | 207 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 D | mlx4.h | 209 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 D | resource_tracker.c | 2290 struct mlx4_cmd_mailbox *outbox, in mlx4_ALLOC_RES_wrapper() argument 2604 struct mlx4_cmd_mailbox *outbox, in mlx4_FREE_RES_wrapper() argument 2751 struct mlx4_cmd_mailbox *outbox, in mlx4_SW2HW_MPT_wrapper() argument 2810 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_SW2HW_MPT_wrapper() 2834 struct mlx4_cmd_mailbox *outbox, in mlx4_HW2SW_MPT_wrapper() argument 2847 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_HW2SW_MPT_wrapper() 2866 struct mlx4_cmd_mailbox *outbox, in mlx4_QUERY_MPT_wrapper() argument 2892 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper() 2897 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper() 2901 err = mlx4_DMA_wrapper(dev, slave, vhcr, inbox, outbox, cmd); in mlx4_QUERY_MPT_wrapper() [all …]
|
| H A D | port.c | 1523 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_PORT_wrapper() argument 1800 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_MCAST_FLTR_wrapper() argument 1820 struct mlx4_cmd_mailbox *outbox, in mlx4_SET_VLAN_FLTR_wrapper() argument 1831 struct mlx4_cmd_mailbox *outbox, in mlx4_DUMP_ETH_STATS_wrapper() argument 2012 struct mlx4_cmd_mailbox *inbox, *outbox; in mlx4_get_module_id() local 2021 outbox = mlx4_alloc_cmd_mailbox(dev); in mlx4_get_module_id() 2022 if (IS_ERR(outbox)) { in mlx4_get_module_id() 2024 return PTR_ERR(outbox); in mlx4_get_module_id() 2028 outmad = (struct mlx4_mad_ifc *)(outbox->buf); in mlx4_get_module_id() 2042 ret = mlx4_cmd_box(dev, inbox->dma, outbox->dma, port, 3, in mlx4_get_module_id() [all …]
|
| H A D | fw.h | 238 struct mlx4_cmd_mailbox *outbox,
|
| H A D | mcg.c | 1561 struct mlx4_cmd_mailbox *outbox, in mlx4_PROMISC_wrapper() argument
|
| H A D | eq.c | 878 struct mlx4_cmd_mailbox *outbox, in mlx4_MAP_EQ_wrapper() argument
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_cmd.c | 779 u32 *outbox; in mthca_QUERY_FW() local 807 outbox = mailbox->buf; in mthca_QUERY_FW() 815 MTHCA_GET(dev->fw_ver, outbox, QUERY_FW_VER_OFFSET); in mthca_QUERY_FW() 824 MTHCA_GET(lg, outbox, QUERY_FW_MAX_CMD_OFFSET); in mthca_QUERY_FW() 830 MTHCA_GET(dev->catas_err.addr, outbox, QUERY_FW_ERR_START_OFFSET); in mthca_QUERY_FW() 831 MTHCA_GET(dev->catas_err.size, outbox, QUERY_FW_ERR_SIZE_OFFSET); in mthca_QUERY_FW() 836 MTHCA_GET(tmp, outbox, QUERY_FW_CMD_DB_EN_OFFSET); in mthca_QUERY_FW() 840 MTHCA_GET(base, outbox, QUERY_FW_CMD_DB_BASE); in mthca_QUERY_FW() 842 MTHCA_GET(dev->cmd.dbell_offsets[i], outbox, in mthca_QUERY_FW() 849 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | sprd-mailbox.c | 27 #define SPRD_MBOX_FIFO_DEPTH 0x24 /* outbox only */ 49 /* Bit and mask definition for outbox's SPRD_MBOX_FIFO_STS register */ 61 /* Bit and mask definition for outbox's SPRD_MBOX_IRQ_MSK register */ 84 /* Base register address for supplementary outbox */ 136 dev_warn_ratelimited(priv->dev, "spurious outbox interrupt\n"); in do_outbox_isr() 152 /* Trigger to update outbox FIFO pointer */ in do_outbox_isr() 282 /* Select outbox FIFO mode and reset the outbox FIFO status */ in sprd_mbox_startup() 290 /* Enable outbox FIFO not empty interrupt */ in sprd_mbox_startup() 295 /* Enable supplementary outbox as the fundamental one */ in sprd_mbox_startup() 312 /* Disable inbox & outbox interrupt */ in sprd_mbox_shutdown() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dmub_outbox.c | 34 * Sends inbox cmd to dmub for enabling outbox notifications to x86.
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_83xx_hw.h | 161 /* Receive context mailbox data outbox registers 229 /* Transmit context mailbox outbox registers
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_irq_test.c | 1906 * dm_test_set_dmub_outbox_irq_state_null_dc - Test outbox irq state with no DC 1944 * dm_test_outbox_init_null_dc - Test outbox init is a safe no-op with no DC 3256 * dm_test_register_hpd_handlers_dmub_outbox - Test DMUB outbox callbacks register 3259 * Enables DMUB outbox support so dc_is_dmub_outbox_supported() returns true, 3470 * dm_test_dmub_outbox1_low_irq_empty - Test outbox low IRQ with empty trace queue 3499 * dm_test_alloc_adev_outbox_notify - Build an adev wired for DMUB outbox 3735 * dm_test_register_outbox_irq_handlers_without_dmub - Test outbox registration without DMUB 3759 * dm_test_register_outbox_irq_handlers_with_dmub - Test outbox registration with DMUB 3762 * Exercises the dc->ctx->dmub_srv branch which maps the outbox source and 3785 /* Verify the outbox IRQ params were populated */ in dm_test_register_outbox_irq_handlers_with_dmub() [all …]
|
| H A D | amdgpu_dm_helpers_test.c | 2442 * dm_test_dmub_outbox_interrupt_control_null_dc - Test outbox irq control with NULL dc
|
| /linux/sound/soc/intel/catpt/ |
| H A D | ipc.c | 31 * Both tx and rx are put into and received from outbox. Inbox is in catpt_ipc_arm()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | cq.c | 107 /* Callers must verify outbox status in case of err */
|
| /linux/drivers/comedi/drivers/ |
| H A D | amcc_s5933.h | 50 #define INTCSR_OUTBOX_EMPTY_INT 0x10 /* enable outbox empty interrupt */
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_irq.c | 2261 * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt 2262 * @interrupt_params: used for determining the Outbox instance 2264 * Handles the Outbox Interrupt 2591 /* Register Outbox IRQ sources and initialize IRQ callbacks */ 2605 drm_err(adev_to_drm(adev), "Failed to add outbox irq id!\n"); in amdgpu_dm_register_outbox_irq_handlers()
|
| H A D | amdgpu_dm.h | 127 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ 343 * @dmub_outbox_params: DMUB Outbox parameters
|
| H A D | amdgpu_dm.c | 785 /* Enable outbox notification only after IRQ handlers are registered and DMUB is alive. in amdgpu_dm_init() 794 /* DPIA trace goes to dmesg logs only if outbox is enabled */ in amdgpu_dm_init() 1955 /* Re-enable outbox interrupts for DPIA. */ in dm_resume() 2419 /* Use Outbox interrupt */ in amdgpu_dm_initialize_drm_device() 2443 drm_dbg_kms(adev_to_drm(adev), "Unsupported DCN IP version for outbox: 0x%X\n", in amdgpu_dm_initialize_drm_device()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 6865 * dc_is_dmub_outbox_supported - Check if DMUB firmware support outbox notification 6869 * Checks whether DMUB FW supports outbox notifications, if supported DM 6870 * should register outbox interrupt prior to actually enabling interrupts 6874 * True if DMUB FW supports outbox notifications, False otherwise 6907 * dc_enable_dmub_notifications - Check if dmub fw supports outbox 6911 * Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox 6916 * True if DMUB FW supports outbox notifications, False otherwise 6928 * Enables DMUB unsolicited notifications to x86 via outbox. 6935 DC_LOG_DC("%s: dmub outbox notifications enabled\n", __func__); in dc_enable_dmub_outbox() 7167 /* cmd pending, will receive notification via outbox */ in dc_process_dmub_set_config_async()
|