- qcom: enable sc8280xp, sm8550 and sm4250 support

- ti: default to ARCH_K3 for msg manager
 - mediatek: add mt8188 and mt8186 support
             request irq only after got ready
 - zynq-ipi: fix error handling after device_register
 - mpfs: check sys-con status
 - rockchip: simplify by using device_get_match_data
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE6EwehDt/SOnwFyTyf9lkf8eYP5UFAmOh4IcACgkQf9lkf8eY
 P5UVgw/+LMCzDu7Dqm9PfcVyW2I1EWV2BpHsJRjn9ivxPCrnPAburZb9x9uPzL5u
 q3192eRuy1MSpGX4lBVFYIZc4V7NrXINmMCB61s87k3g/bXxA3KzkgooxxPEo9LJ
 KbxzHngoLj+0+Mr6uXqv/rjudohFbl81yn0JfkdEPygj3XmAMaLmOqVEbV7JmbUU
 IdyQUfxyEWmozotF5w0ndVhoOhXYnE44XnlimAv0DDU/kxEy1D1JAG/D5oUTjnPw
 FZpdMwaCB/YObHJGLARwDRyKCA8h3eRsf/iGzsoaNy7GHyGcSCZJ/efy6q7KXdMM
 jabptiuAFjM0NXzqf+L0y6oYvV9ESQr17P5Q9sLUdT66fFPctUUHcGnmLdFGQZEf
 3d3ShLCWGYhb0Th9giQkrqcArxwRhiIc9SoBn39CRLiM+cvzcfSDBghTfdJpQb5X
 VfzJqaWJSi3AE+uhXchOUFDlNQVp0/5DH/1Y/WyOpQI2wZ/jPVh3JzU9J5Tmakyn
 Hl2doj1LNZstUfS7GBSM4P8peDYOx2cv57auD7FOu4enDjVGCyBhuAcD9Z5KonEg
 4Y06K8omL1NEFZ3/t3NiG+WANWrEGjHxCtPItU2BFhEqQ6iMLURoj6FcNK7NcQB5
 zq+Xs9ISSQlgDwMYTWWIZcqQ4/egFG5VW572187pptiMRxHezjw=
 =j33p
 -----END PGP SIGNATURE-----

Merge tag 'mailbox-v6.2' of git://git.linaro.org/landing-teams/working/fujitsu/integration

Pull mailbox updates from Jassi Brar:

 - qcom: enable sc8280xp, sm8550 and sm4250 support

 - ti: default to ARCH_K3 for msg manager

 - mediatek:
    - add mt8188 and mt8186 support
    - request irq only after got ready

 - zynq-ipi: fix error handling after device_register

 - mpfs: check sys-con status

 - rockchip: simplify by using device_get_match_data

* tag 'mailbox-v6.2' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
  dt-bindings: mailbox: qcom-ipcc: Add compatible for SM8550
  mailbox: mtk-cmdq: Do not request irq until we are ready
  mailbox: zynq-ipi: fix error handling while device_register() fails
  mailbox: mtk-cmdq-mailbox: Use platform data directly instead of copying
  mailbox: arm_mhuv2: Fix return value check in mhuv2_probe()
  dt-bindings: mailbox: mediatek,gce-mailbox: add mt8188 compatible name
  dt-bindings: mailbox: add GCE header file for mt8188
  mailbox: mpfs: read the system controller's status
  mailbox: mtk-cmdq: add MT8186 support
  mailbox: mtk-cmdq: add gce ddr enable support flow
  mailbox: mtk-cmdq: add gce software ddr enable private data
  mailbox: mtk-cmdq: Use GCE_CTRL_BY_SW definition instead of number
  mailbox: rockchip: Use device_get_match_data() to simplify the code
  dt-bindings: mailbox: qcom-ipcc: Add sc8280xp compatible
  mailbox: config: ti-msgmgr: Default set to ARCH_K3 for TI msg manager
  mailbox: qcom-apcs-ipc: Add SM4250 APCS IPC support
  dt-bindings: mailbox: qcom: Add SM4250 APCS compatible
This commit is contained in:
Linus Torvalds 2022-12-21 09:31:18 -08:00
commit f2855eec19
11 changed files with 1090 additions and 58 deletions

View File

@ -21,6 +21,7 @@ properties:
- mediatek,mt8173-gce
- mediatek,mt8183-gce
- mediatek,mt8186-gce
- mediatek,mt8188-gce
- mediatek,mt8192-gce
- mediatek,mt8195-gce

View File

@ -28,6 +28,7 @@ properties:
- qcom,sc8180x-apss-shared
- qcom,sdm660-apcs-hmss-global
- qcom,sdm845-apss-shared
- qcom,sm4250-apcs-hmss-global
- qcom,sm6125-apcs-hmss-global
- qcom,sm6115-apcs-hmss-global
- qcom,sm8150-apss-shared

View File

@ -24,12 +24,14 @@ properties:
compatible:
items:
- enum:
- qcom,sc7280-ipcc
- qcom,sc8280xp-ipcc
- qcom,sm6350-ipcc
- qcom,sm6375-ipcc
- qcom,sm8250-ipcc
- qcom,sm8350-ipcc
- qcom,sm8450-ipcc
- qcom,sc7280-ipcc
- qcom,sm8550-ipcc
- const: qcom,ipcc
reg:

View File

@ -136,6 +136,7 @@ config STI_MBOX
config TI_MESSAGE_MANAGER
tristate "Texas Instruments Message Manager Driver"
depends on ARCH_KEYSTONE || ARCH_K3
default ARCH_K3
help
An implementation of Message Manager slave driver for Keystone
and K3 architecture SoCs from Texas Instruments. Message Manager

View File

@ -1062,8 +1062,8 @@ static int mhuv2_probe(struct amba_device *adev, const struct amba_id *id)
int ret = -EINVAL;
reg = devm_of_iomap(dev, dev->of_node, 0, NULL);
if (!reg)
return -ENOMEM;
if (IS_ERR(reg))
return PTR_ERR(reg);
mhu = devm_kzalloc(dev, sizeof(*mhu), GFP_KERNEL);
if (!mhu)

View File

@ -2,7 +2,7 @@
/*
* Microchip PolarFire SoC (MPFS) system controller/mailbox controller driver
*
* Copyright (c) 2020 Microchip Corporation. All rights reserved.
* Copyright (c) 2020-2022 Microchip Corporation. All rights reserved.
*
* Author: Conor Dooley <conor.dooley@microchip.com>
*
@ -56,7 +56,7 @@
#define SCB_STATUS_NOTIFY_MASK BIT(SCB_STATUS_NOTIFY)
#define SCB_STATUS_POS (16)
#define SCB_STATUS_MASK GENMASK_ULL(SCB_STATUS_POS + SCB_MASK_WIDTH, SCB_STATUS_POS)
#define SCB_STATUS_MASK GENMASK(SCB_STATUS_POS + SCB_MASK_WIDTH - 1, SCB_STATUS_POS)
struct mpfs_mbox {
struct mbox_controller controller;
@ -130,13 +130,38 @@ static void mpfs_mbox_rx_data(struct mbox_chan *chan)
struct mpfs_mbox *mbox = (struct mpfs_mbox *)chan->con_priv;
struct mpfs_mss_response *response = mbox->response;
u16 num_words = ALIGN((response->resp_size), (4)) / 4U;
u32 i;
u32 i, status;
if (!response->resp_msg) {
dev_err(mbox->dev, "failed to assign memory for response %d\n", -ENOMEM);
return;
}
/*
* The status is stored in bits 31:16 of the SERVICES_SR register.
* It is only valid when BUSY == 0.
* We should *never* get an interrupt while the controller is
* still in the busy state. If we do, something has gone badly
* wrong & the content of the mailbox would not be valid.
*/
if (mpfs_mbox_busy(mbox)) {
dev_err(mbox->dev, "got an interrupt but system controller is busy\n");
response->resp_status = 0xDEAD;
return;
}
status = readl_relaxed(mbox->ctrl_base + SERVICES_SR_OFFSET);
/*
* If the status of the individual servers is non-zero, the service has
* failed. The contents of the mailbox at this point are not be valid,
* so don't bother reading them. Set the status so that the driver
* implementing the service can handle the result.
*/
response->resp_status = (status & SCB_STATUS_MASK) >> SCB_STATUS_POS;
if (response->resp_status)
return;
if (!mpfs_mbox_busy(mbox)) {
for (i = 0; i < num_words; i++) {
response->resp_msg[i] =

View File

@ -38,6 +38,8 @@
#define CMDQ_THR_PRIORITY 0x40
#define GCE_GCTL_VALUE 0x48
#define GCE_CTRL_BY_SW GENMASK(2, 0)
#define GCE_DDR_EN GENMASK(18, 16)
#define CMDQ_THR_ACTIVE_SLOT_CYCLES 0x3200
#define CMDQ_THR_ENABLED 0x1
@ -73,28 +75,38 @@ struct cmdq {
struct mbox_controller mbox;
void __iomem *base;
int irq;
u32 thread_nr;
u32 irq_mask;
const struct gce_plat *pdata;
struct cmdq_thread *thread;
struct clk_bulk_data clocks[CMDQ_GCE_NUM_MAX];
bool suspended;
u8 shift_pa;
bool control_by_sw;
u32 gce_num;
};
struct gce_plat {
u32 thread_nr;
u8 shift;
bool control_by_sw;
bool sw_ddr_en;
u32 gce_num;
};
static void cmdq_sw_ddr_enable(struct cmdq *cmdq, bool enable)
{
WARN_ON(clk_bulk_enable(cmdq->pdata->gce_num, cmdq->clocks));
if (enable)
writel(GCE_DDR_EN | GCE_CTRL_BY_SW, cmdq->base + GCE_GCTL_VALUE);
else
writel(GCE_CTRL_BY_SW, cmdq->base + GCE_GCTL_VALUE);
clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks);
}
u8 cmdq_get_shift_pa(struct mbox_chan *chan)
{
struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox);
return cmdq->shift_pa;
return cmdq->pdata->shift;
}
EXPORT_SYMBOL(cmdq_get_shift_pa);
@ -126,14 +138,21 @@ static void cmdq_thread_resume(struct cmdq_thread *thread)
static void cmdq_init(struct cmdq *cmdq)
{
int i;
u32 gctl_regval = 0;
WARN_ON(clk_bulk_enable(cmdq->pdata->gce_num, cmdq->clocks));
if (cmdq->pdata->control_by_sw)
gctl_regval = GCE_CTRL_BY_SW;
if (cmdq->pdata->sw_ddr_en)
gctl_regval |= GCE_DDR_EN;
if (gctl_regval)
writel(gctl_regval, cmdq->base + GCE_GCTL_VALUE);
WARN_ON(clk_bulk_enable(cmdq->gce_num, cmdq->clocks));
if (cmdq->control_by_sw)
writel(0x7, cmdq->base + GCE_GCTL_VALUE);
writel(CMDQ_THR_ACTIVE_SLOT_CYCLES, cmdq->base + CMDQ_THR_SLOT_CYCLES);
for (i = 0; i <= CMDQ_MAX_EVENT; i++)
writel(i, cmdq->base + CMDQ_SYNC_TOKEN_UPDATE);
clk_bulk_disable(cmdq->gce_num, cmdq->clocks);
clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks);
}
static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread)
@ -178,7 +197,7 @@ static void cmdq_task_insert_into_thread(struct cmdq_task *task)
prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE);
prev_task_base[CMDQ_NUM_CMD(prev_task->pkt) - 1] =
(u64)CMDQ_JUMP_BY_PA << 32 |
(task->pa_base >> task->cmdq->shift_pa);
(task->pa_base >> task->cmdq->pdata->shift);
dma_sync_single_for_device(dev, prev_task->pa_base,
prev_task->pkt->cmd_buf_size, DMA_TO_DEVICE);
@ -212,7 +231,7 @@ static void cmdq_task_handle_error(struct cmdq_task *task)
next_task = list_first_entry_or_null(&thread->task_busy_list,
struct cmdq_task, list_entry);
if (next_task)
writel(next_task->pa_base >> cmdq->shift_pa,
writel(next_task->pa_base >> cmdq->pdata->shift,
thread->base + CMDQ_THR_CURR_ADDR);
cmdq_thread_resume(thread);
}
@ -243,7 +262,7 @@ static void cmdq_thread_irq_handler(struct cmdq *cmdq,
else
return;
curr_pa = readl(thread->base + CMDQ_THR_CURR_ADDR) << cmdq->shift_pa;
curr_pa = readl(thread->base + CMDQ_THR_CURR_ADDR) << cmdq->pdata->shift;
list_for_each_entry_safe(task, tmp, &thread->task_busy_list,
list_entry) {
@ -266,7 +285,7 @@ static void cmdq_thread_irq_handler(struct cmdq *cmdq,
if (list_empty(&thread->task_busy_list)) {
cmdq_thread_disable(cmdq, thread);
clk_bulk_disable(cmdq->gce_num, cmdq->clocks);
clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks);
}
}
@ -280,7 +299,7 @@ static irqreturn_t cmdq_irq_handler(int irq, void *dev)
if (!(irq_status ^ cmdq->irq_mask))
return IRQ_NONE;
for_each_clear_bit(bit, &irq_status, cmdq->thread_nr) {
for_each_clear_bit(bit, &irq_status, cmdq->pdata->thread_nr) {
struct cmdq_thread *thread = &cmdq->thread[bit];
spin_lock_irqsave(&thread->chan->lock, flags);
@ -300,7 +319,7 @@ static int cmdq_suspend(struct device *dev)
cmdq->suspended = true;
for (i = 0; i < cmdq->thread_nr; i++) {
for (i = 0; i < cmdq->pdata->thread_nr; i++) {
thread = &cmdq->thread[i];
if (!list_empty(&thread->task_busy_list)) {
task_running = true;
@ -311,7 +330,10 @@ static int cmdq_suspend(struct device *dev)
if (task_running)
dev_warn(dev, "exist running task(s) in suspend\n");
clk_bulk_unprepare(cmdq->gce_num, cmdq->clocks);
if (cmdq->pdata->sw_ddr_en)
cmdq_sw_ddr_enable(cmdq, false);
clk_bulk_unprepare(cmdq->pdata->gce_num, cmdq->clocks);
return 0;
}
@ -320,8 +342,12 @@ static int cmdq_resume(struct device *dev)
{
struct cmdq *cmdq = dev_get_drvdata(dev);
WARN_ON(clk_bulk_prepare(cmdq->gce_num, cmdq->clocks));
WARN_ON(clk_bulk_prepare(cmdq->pdata->gce_num, cmdq->clocks));
cmdq->suspended = false;
if (cmdq->pdata->sw_ddr_en)
cmdq_sw_ddr_enable(cmdq, true);
return 0;
}
@ -329,7 +355,10 @@ static int cmdq_remove(struct platform_device *pdev)
{
struct cmdq *cmdq = platform_get_drvdata(pdev);
clk_bulk_unprepare(cmdq->gce_num, cmdq->clocks);
if (cmdq->pdata->sw_ddr_en)
cmdq_sw_ddr_enable(cmdq, false);
clk_bulk_unprepare(cmdq->pdata->gce_num, cmdq->clocks);
return 0;
}
@ -355,7 +384,7 @@ static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data)
task->pkt = pkt;
if (list_empty(&thread->task_busy_list)) {
WARN_ON(clk_bulk_enable(cmdq->gce_num, cmdq->clocks));
WARN_ON(clk_bulk_enable(cmdq->pdata->gce_num, cmdq->clocks));
/*
* The thread reset will clear thread related register to 0,
@ -365,9 +394,9 @@ static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data)
*/
WARN_ON(cmdq_thread_reset(cmdq, thread) < 0);
writel(task->pa_base >> cmdq->shift_pa,
writel(task->pa_base >> cmdq->pdata->shift,
thread->base + CMDQ_THR_CURR_ADDR);
writel((task->pa_base + pkt->cmd_buf_size) >> cmdq->shift_pa,
writel((task->pa_base + pkt->cmd_buf_size) >> cmdq->pdata->shift,
thread->base + CMDQ_THR_END_ADDR);
writel(thread->priority, thread->base + CMDQ_THR_PRIORITY);
@ -376,20 +405,20 @@ static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data)
} else {
WARN_ON(cmdq_thread_suspend(cmdq, thread) < 0);
curr_pa = readl(thread->base + CMDQ_THR_CURR_ADDR) <<
cmdq->shift_pa;
cmdq->pdata->shift;
end_pa = readl(thread->base + CMDQ_THR_END_ADDR) <<
cmdq->shift_pa;
cmdq->pdata->shift;
/* check boundary */
if (curr_pa == end_pa - CMDQ_INST_SIZE ||
curr_pa == end_pa) {
/* set to this task directly */
writel(task->pa_base >> cmdq->shift_pa,
writel(task->pa_base >> cmdq->pdata->shift,
thread->base + CMDQ_THR_CURR_ADDR);
} else {
cmdq_task_insert_into_thread(task);
smp_mb(); /* modify jump before enable thread */
}
writel((task->pa_base + pkt->cmd_buf_size) >> cmdq->shift_pa,
writel((task->pa_base + pkt->cmd_buf_size) >> cmdq->pdata->shift,
thread->base + CMDQ_THR_END_ADDR);
cmdq_thread_resume(thread);
}
@ -428,7 +457,7 @@ static void cmdq_mbox_shutdown(struct mbox_chan *chan)
}
cmdq_thread_disable(cmdq, thread);
clk_bulk_disable(cmdq->gce_num, cmdq->clocks);
clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks);
done:
/*
@ -468,7 +497,7 @@ static int cmdq_mbox_flush(struct mbox_chan *chan, unsigned long timeout)
cmdq_thread_resume(thread);
cmdq_thread_disable(cmdq, thread);
clk_bulk_disable(cmdq->gce_num, cmdq->clocks);
clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks);
out:
spin_unlock_irqrestore(&thread->chan->lock, flags);
@ -515,7 +544,6 @@ static int cmdq_probe(struct platform_device *pdev)
struct device *dev = &pdev->dev;
struct cmdq *cmdq;
int err, i;
struct gce_plat *plat_data;
struct device_node *phandle = dev->of_node;
struct device_node *node;
int alias_id = 0;
@ -534,31 +562,21 @@ static int cmdq_probe(struct platform_device *pdev)
if (cmdq->irq < 0)
return cmdq->irq;
plat_data = (struct gce_plat *)of_device_get_match_data(dev);
if (!plat_data) {
cmdq->pdata = device_get_match_data(dev);
if (!cmdq->pdata) {
dev_err(dev, "failed to get match data\n");
return -EINVAL;
}
cmdq->thread_nr = plat_data->thread_nr;
cmdq->shift_pa = plat_data->shift;
cmdq->control_by_sw = plat_data->control_by_sw;
cmdq->gce_num = plat_data->gce_num;
cmdq->irq_mask = GENMASK(cmdq->thread_nr - 1, 0);
err = devm_request_irq(dev, cmdq->irq, cmdq_irq_handler, IRQF_SHARED,
"mtk_cmdq", cmdq);
if (err < 0) {
dev_err(dev, "failed to register ISR (%d)\n", err);
return err;
}
cmdq->irq_mask = GENMASK(cmdq->pdata->thread_nr - 1, 0);
dev_dbg(dev, "cmdq device: addr:0x%p, va:0x%p, irq:%d\n",
dev, cmdq->base, cmdq->irq);
if (cmdq->gce_num > 1) {
if (cmdq->pdata->gce_num > 1) {
for_each_child_of_node(phandle->parent, node) {
alias_id = of_alias_get_id(node, clk_name);
if (alias_id >= 0 && alias_id < cmdq->gce_num) {
if (alias_id >= 0 && alias_id < cmdq->pdata->gce_num) {
cmdq->clocks[alias_id].id = clk_names[alias_id];
cmdq->clocks[alias_id].clk = of_clk_get(node, 0);
if (IS_ERR(cmdq->clocks[alias_id].clk)) {
@ -580,12 +598,12 @@ static int cmdq_probe(struct platform_device *pdev)
}
cmdq->mbox.dev = dev;
cmdq->mbox.chans = devm_kcalloc(dev, cmdq->thread_nr,
cmdq->mbox.chans = devm_kcalloc(dev, cmdq->pdata->thread_nr,
sizeof(*cmdq->mbox.chans), GFP_KERNEL);
if (!cmdq->mbox.chans)
return -ENOMEM;
cmdq->mbox.num_chans = cmdq->thread_nr;
cmdq->mbox.num_chans = cmdq->pdata->thread_nr;
cmdq->mbox.ops = &cmdq_mbox_chan_ops;
cmdq->mbox.of_xlate = cmdq_xlate;
@ -593,12 +611,12 @@ static int cmdq_probe(struct platform_device *pdev)
cmdq->mbox.txdone_irq = false;
cmdq->mbox.txdone_poll = false;
cmdq->thread = devm_kcalloc(dev, cmdq->thread_nr,
cmdq->thread = devm_kcalloc(dev, cmdq->pdata->thread_nr,
sizeof(*cmdq->thread), GFP_KERNEL);
if (!cmdq->thread)
return -ENOMEM;
for (i = 0; i < cmdq->thread_nr; i++) {
for (i = 0; i < cmdq->pdata->thread_nr; i++) {
cmdq->thread[i].base = cmdq->base + CMDQ_THR_BASE +
CMDQ_THR_SIZE * i;
INIT_LIST_HEAD(&cmdq->thread[i].task_busy_list);
@ -613,10 +631,17 @@ static int cmdq_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, cmdq);
WARN_ON(clk_bulk_prepare(cmdq->gce_num, cmdq->clocks));
WARN_ON(clk_bulk_prepare(cmdq->pdata->gce_num, cmdq->clocks));
cmdq_init(cmdq);
err = devm_request_irq(dev, cmdq->irq, cmdq_irq_handler, IRQF_SHARED,
"mtk_cmdq", cmdq);
if (err < 0) {
dev_err(dev, "failed to register ISR (%d)\n", err);
return err;
}
return 0;
}
@ -660,9 +685,18 @@ static const struct gce_plat gce_plat_v6 = {
.gce_num = 2
};
static const struct gce_plat gce_plat_v7 = {
.thread_nr = 24,
.shift = 3,
.control_by_sw = true,
.sw_ddr_en = true,
.gce_num = 1
};
static const struct of_device_id cmdq_of_ids[] = {
{.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_v2},
{.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_v3},
{.compatible = "mediatek,mt8186-gce", .data = (void *)&gce_plat_v7},
{.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4},
{.compatible = "mediatek,mt8192-gce", .data = (void *)&gce_plat_v5},
{.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_v6},

View File

@ -156,6 +156,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
{ .compatible = "qcom,sc8180x-apss-shared", .data = &apps_shared_apcs_data },
{ .compatible = "qcom,sdm660-apcs-hmss-global", .data = &msm8994_apcs_data },
{ .compatible = "qcom,sdm845-apss-shared", .data = &apps_shared_apcs_data },
{ .compatible = "qcom,sm4250-apcs-hmss-global", .data = &msm8994_apcs_data },
{ .compatible = "qcom,sm6125-apcs-hmss-global", .data = &msm8994_apcs_data },
{ .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data },
{ .compatible = "qcom,sm6115-apcs-hmss-global", .data = &msm8994_apcs_data },

View File

@ -164,7 +164,6 @@ MODULE_DEVICE_TABLE(of, rockchp_mbox_of_match);
static int rockchip_mbox_probe(struct platform_device *pdev)
{
struct rockchip_mbox *mb;
const struct of_device_id *match;
const struct rockchip_mbox_data *drv_data;
struct resource *res;
int ret, irq, i;
@ -172,8 +171,7 @@ static int rockchip_mbox_probe(struct platform_device *pdev)
if (!pdev->dev.of_node)
return -ENODEV;
match = of_match_node(rockchip_mbox_of_match, pdev->dev.of_node);
drv_data = (const struct rockchip_mbox_data *)match->data;
drv_data = (const struct rockchip_mbox_data *) device_get_match_data(&pdev->dev);
mb = devm_kzalloc(&pdev->dev, sizeof(*mb), GFP_KERNEL);
if (!mb)

View File

@ -493,6 +493,7 @@ static int zynqmp_ipi_mbox_probe(struct zynqmp_ipi_mbox *ipi_mbox,
ret = device_register(&ipi_mbox->dev);
if (ret) {
dev_err(dev, "Failed to register ipi mbox dev.\n");
put_device(&ipi_mbox->dev);
return ret;
}
mdev = &ipi_mbox->dev;
@ -619,7 +620,8 @@ static void zynqmp_ipi_free_mboxes(struct zynqmp_ipi_pdata *pdata)
ipi_mbox = &pdata->ipi_mboxes[i];
if (ipi_mbox->dev.parent) {
mbox_controller_unregister(&ipi_mbox->mbox);
device_unregister(&ipi_mbox->dev);
if (device_is_registered(&ipi_mbox->dev))
device_unregister(&ipi_mbox->dev);
}
}
}

View File

@ -0,0 +1,967 @@
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
/*
* Copyright (c) 2022 MediaTek Inc.
*
*/
#ifndef _DT_BINDINGS_GCE_MT8188_H
#define _DT_BINDINGS_GCE_MT8188_H
#define CMDQ_THR_PRIO_LOWEST 0
#define CMDQ_THR_PRIO_1 1
#define CMDQ_THR_PRIO_2 2
#define CMDQ_THR_PRIO_3 3
#define CMDQ_THR_PRIO_4 4
#define CMDQ_THR_PRIO_5 5
#define CMDQ_THR_PRIO_6 6
#define CMDQ_THR_PRIO_HIGHEST 7
#define SUBSYS_1400XXXX 0
#define SUBSYS_1401XXXX 1
#define SUBSYS_1402XXXX 2
#define SUBSYS_1c00XXXX 3
#define SUBSYS_1c01XXXX 4
#define SUBSYS_1c02XXXX 5
#define SUBSYS_1c10XXXX 6
#define SUBSYS_1c11XXXX 7
#define SUBSYS_1c12XXXX 8
#define SUBSYS_14f0XXXX 9
#define SUBSYS_14f1XXXX 10
#define SUBSYS_14f2XXXX 11
#define SUBSYS_1800XXXX 12
#define SUBSYS_1801XXXX 13
#define SUBSYS_1802XXXX 14
#define SUBSYS_1803XXXX 15
#define SUBSYS_1032XXXX 16
#define SUBSYS_1033XXXX 17
#define SUBSYS_1600XXXX 18
#define SUBSYS_1601XXXX 19
#define SUBSYS_14e0XXXX 20
#define SUBSYS_1c20XXXX 21
#define SUBSYS_1c30XXXX 22
#define SUBSYS_1c40XXXX 23
#define SUBSYS_1c50XXXX 24
#define SUBSYS_1c60XXXX 25
#define SUBSYS_NO_SUPPORT 99
#define CMDQ_EVENT_IMG_SOF 0
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_0 1
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_1 2
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_2 3
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_3 4
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_4 5
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_5 6
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_6 7
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_7 8
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_8 9
#define CMDQ_EVENT_IMG_TRAW0_CQ_THR_DONE_9 10
#define CMDQ_EVENT_IMG_TRAW0_DMA_ERROR_INT 11
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_0 12
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_1 13
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_2 14
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_3 15
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_4 16
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_5 17
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_6 18
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_7 19
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_8 20
#define CMDQ_EVENT_IMG_TRAW1_CQ_THR_DONE_9 21
#define CMDQ_EVENT_IMG_TRAW1_DMA_ERROR_INT 22
#define CMDQ_EVENT_IMG_ADL_RESERVED 23
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_0 24
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_1 25
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_2 26
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_3 27
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_4 28
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_5 29
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_6 30
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_7 31
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_8 32
#define CMDQ_EVENT_IMG_DIP_CQ_THR_DONE_9 33
#define CMDQ_EVENT_IMG_DIP_DMA_ERR 34
#define CMDQ_EVENT_IMG_DIP_NR_DMA_ERR 35
#define CMDQ_EVENT_DIP_DUMMY_0 36
#define CMDQ_EVENT_DIP_DUMMY_1 37
#define CMDQ_EVENT_DIP_DUMMY_2 38
#define CMDQ_EVENT_IMG_WPE_EIS_GCE_FRAME_DONE 39
#define CMDQ_EVENT_IMG_WPE_EIS_DONE_SYNC_OUT 40
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_0 41
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_1 42
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_2 43
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_3 44
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_4 45
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_5 46
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_6 47
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_7 48
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_8 49
#define CMDQ_EVENT_IMG_WPE_EIS_CQ_THR_DONE_9 50
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_0 51
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_1 52
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_2 53
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_3 54
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_4 55
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_5 56
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_6 57
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_7 58
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_8 59
#define CMDQ_EVENT_IMG_PQDIP_A_CQ_THR_DONE_9 60
#define CMDQ_EVENT_IMG_PQDIP_A_DMA_ERR 61
#define CMDQ_EVENT_WPE0_DUMMY_0 62
#define CMDQ_EVENT_WPE0_DUMMY_1 63
#define CMDQ_EVENT_WPE0_DUMMY_2 64
#define CMDQ_EVENT_IMG_WPE_TNR_GCE_FRAME_DONE 65
#define CMDQ_EVENT_IMG_WPE_TNR_DONE_SYNC_OUT 66
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_0 67
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_1 68
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_2 69
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_3 70
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_4 71
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_5 72
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_6 73
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_7 74
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_8 75
#define CMDQ_EVENT_IMG_WPE_TNR_CQ_THR_DONE_9 76
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_0 77
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_1 78
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_2 79
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_3 80
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_4 81
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_5 82
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_6 83
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_7 84
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_8 85
#define CMDQ_EVENT_IMG_PQDIP_B_CQ_THR_DONE_9 86
#define CMDQ_EVENT_IMG_PQDIP_B_DMA_ERR 87
#define CMDQ_EVENT_WPE1_DUMMY_0 88
#define CMDQ_EVENT_WPE1_DUMMY_1 89
#define CMDQ_EVENT_WPE1_DUMMY_2 90
#define CMDQ_EVENT_IMG_WPE_LITE_GCE_FRAME_DONE 91
#define CMDQ_EVENT_IMG_WPE_LITE_DONE_SYNC_OUT 92
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_0 93
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_1 94
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_2 95
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_3 96
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_4 97
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_5 98
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_6 99
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_7 100
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_8 101
#define CMDQ_EVENT_IMG_WPE_LITE_CQ_THR_DONE_9 102
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_0 103
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_1 104
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_2 105
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_3 106
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_4 107
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_5 108
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_6 109
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_7 110
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_8 111
#define CMDQ_EVENT_IMG_XTRAW_CQ_THR_DONE_9 112
#define CMDQ_EVENT_IMG_XTRAW_DMA_ERR_EVENT 113
#define CMDQ_EVENT_WPE2_DUMMY_0 114
#define CMDQ_EVENT_WPE2_DUMMY_1 115
#define CMDQ_EVENT_WPE2_DUMMY_2 116
#define CMDQ_EVENT_IMG_IMGSYS_IPE_DUMMY 117
#define CMDQ_EVENT_IMG_IMGSYS_IPE_FDVT_DONE 118
#define CMDQ_EVENT_IMG_IMGSYS_IPE_ME_DONE 119
#define CMDQ_EVENT_IMG_IMGSYS_IPE_DVS_DONE 120
#define CMDQ_EVENT_IMG_IMGSYS_IPE_DVP_DONE 121
#define CMDQ_EVENT_FDVT1_RESERVED 122
#define CMDQ_EVENT_IMG_ENG_EVENT 123
#define CMDQ_EVENT_CAMSUBA_SW_PASS1_DONE 129
#define CMDQ_EVENT_CAMSUBB_SW_PASS1_DONE 130
#define CMDQ_EVENT_CAMSUBC_SW_PASS1_DONE 131
#define CMDQ_EVENT_GCAMSV_A_1_SW_PASS1_DONE 132
#define CMDQ_EVENT_GCAMSV_A_2_SW_PASS1_DONE 133
#define CMDQ_EVENT_GCAMSV_B_1_SW_PASS1_DONE 134
#define CMDQ_EVENT_GCAMSV_B_2_SW_PASS1_DONE 135
#define CMDQ_EVENT_GCAMSV_C_1_SW_PASS1_DONE 136
#define CMDQ_EVENT_GCAMSV_C_2_SW_PASS1_DONE 137
#define CMDQ_EVENT_GCAMSV_D_1_SW_PASS1_DONE 138
#define CMDQ_EVENT_GCAMSV_D_2_SW_PASS1_DONE 139
#define CMDQ_EVENT_GCAMSV_E_1_SW_PASS1_DONE 140
#define CMDQ_EVENT_GCAMSV_E_2_SW_PASS1_DONE 141
#define CMDQ_EVENT_GCAMSV_F_1_SW_PASS1_DONE 142
#define CMDQ_EVENT_GCAMSV_F_2_SW_PASS1_DONE 143
#define CMDQ_EVENT_GCAMSV_G_1_SW_PASS1_DONE 144
#define CMDQ_EVENT_GCAMSV_G_2_SW_PASS1_DONE 145
#define CMDQ_EVENT_GCAMSV_H_1_SW_PASS1_DONE 146
#define CMDQ_EVENT_GCAMSV_H_2_SW_PASS1_DONE 147
#define CMDQ_EVENT_GCAMSV_I_1_SW_PASS1_DONE 148
#define CMDQ_EVENT_GCAMSV_I_2_SW_PASS1_DONE 149
#define CMDQ_EVENT_GCAMSV_J_1_SW_PASS1_DONE 150
#define CMDQ_EVENT_GCAMSV_J_2_SW_PASS1_DONE 151
#define CMDQ_EVENT_MRAW_0_SW_PASS1_DONE 152
#define CMDQ_EVENT_MRAW_1_SW_PASS1_DONE 153
#define CMDQ_EVENT_MRAW_2_SW_PASS1_DONE 154
#define CMDQ_EVENT_MRAW_3_SW_PASS1_DONE 155
#define CMDQ_EVENT_SENINF_CAM0_FIFO_FULL 156
#define CMDQ_EVENT_SENINF_CAM1_FIFO_FULL 157
#define CMDQ_EVENT_SENINF_CAM2_FIFO_FULL 158
#define CMDQ_EVENT_SENINF_CAM3_FIFO_FULL 159
#define CMDQ_EVENT_SENINF_CAM4_FIFO_FULL 160
#define CMDQ_EVENT_SENINF_CAM5_FIFO_FULL 161
#define CMDQ_EVENT_SENINF_CAM6_FIFO_FULL 162
#define CMDQ_EVENT_SENINF_CAM7_FIFO_FULL 163
#define CMDQ_EVENT_SENINF_CAM8_FIFO_FULL 164
#define CMDQ_EVENT_SENINF_CAM9_FIFO_FULL 165
#define CMDQ_EVENT_SENINF_CAM10_FIFO_FULL 166
#define CMDQ_EVENT_SENINF_CAM11_FIFO_FULL 167
#define CMDQ_EVENT_SENINF_CAM12_FIFO_FULL 168
#define CMDQ_EVENT_SENINF_CAM13_FIFO_FULL 169
#define CMDQ_EVENT_SENINF_CAM14_FIFO_FULL 170
#define CMDQ_EVENT_SENINF_CAM15_FIFO_FULL 171
#define CMDQ_EVENT_SENINF_CAM16_FIFO_FULL 172
#define CMDQ_EVENT_SENINF_CAM17_FIFO_FULL 173
#define CMDQ_EVENT_SENINF_CAM18_FIFO_FULL 174
#define CMDQ_EVENT_SENINF_CAM19_FIFO_FULL 175
#define CMDQ_EVENT_SENINF_CAM20_FIFO_FULL 176
#define CMDQ_EVENT_SENINF_CAM21_FIFO_FULL 177
#define CMDQ_EVENT_SENINF_CAM22_FIFO_FULL 178
#define CMDQ_EVENT_SENINF_CAM23_FIFO_FULL 179
#define CMDQ_EVENT_SENINF_CAM24_FIFO_FULL 180
#define CMDQ_EVENT_SENINF_CAM25_FIFO_FULL 181
#define CMDQ_EVENT_SENINF_CAM26_FIFO_FULL 182
#define CMDQ_EVENT_TG_OVRUN_MRAW0_INT 183
#define CMDQ_EVENT_TG_OVRUN_MRAW1_INT 184
#define CMDQ_EVENT_TG_OVRUN_MRAW2_INT 185
#define CMDQ_EVENT_TG_OVRUN_MRAW3_INT 186
#define CMDQ_EVENT_DMA_R1_ERROR_MRAW0_INT 187
#define CMDQ_EVENT_DMA_R1_ERROR_MRAW1_INT 188
#define CMDQ_EVENT_DMA_R1_ERROR_MRAW2_INT 189
#define CMDQ_EVENT_DMA_R1_ERROR_MRAW3_INT 190
#define CMDQ_EVENT_PDA0_IRQO_EVENT_DONE_D1 191
#define CMDQ_EVENT_PDA1_IRQO_EVENT_DONE_D1 192
#define CMDQ_EVENT_CAM_SUBA_TG_INT1 193
#define CMDQ_EVENT_CAM_SUBA_TG_INT2 194
#define CMDQ_EVENT_CAM_SUBA_TG_INT3 195
#define CMDQ_EVENT_CAM_SUBA_TG_INT4 196
#define CMDQ_EVENT_CAM_SUBB_TG_INT1 197
#define CMDQ_EVENT_CAM_SUBB_TG_INT2 198
#define CMDQ_EVENT_CAM_SUBB_TG_INT3 199
#define CMDQ_EVENT_CAM_SUBB_TG_INT4 200
#define CMDQ_EVENT_CAM_SUBC_TG_INT1 201
#define CMDQ_EVENT_CAM_SUBC_TG_INT2 202
#define CMDQ_EVENT_CAM_SUBC_TG_INT3 203
#define CMDQ_EVENT_CAM_SUBC_TG_INT4 204
#define CMDQ_EVENT_CAM_SUBA_IMGO_R1_LOW_LATENCY_LINE_CNT_INT 205
#define CMDQ_EVENT_CAM_SUBA_YUVO_R1_LOW_LATENCY_LINE_CNT_INT 206
#define CMDQ_EVENT_CAM_SUBA_YUVO_R3_LOW_LATENCY_LINE_CNT_INT 207
#define CMDQ_EVENT_CAM_SUBA_DRZS4NO_R1_LOW_LATENCY_LINE_CNT_INT 208
#define CMDQ_EVENT_CAM_SUBB_IMGO_R1_LOW_LATENCY_LINE_CNT_INT 209
#define CMDQ_EVENT_CAM_SUBB_YUVO_R1_LOW_LATENCY_LINE_CNT_INT 210
#define CMDQ_EVENT_CAM_SUBB_YUVO_R3_LOW_LATENCY_LINE_CNT_INT 211
#define CMDQ_EVENT_CAM_SUBB_DRZS4NO_R1_LOW_LATENCY_LINE_CNT_INT 212
#define CMDQ_EVENT_CAM_SUBC_IMGO_R1_LOW_LATENCY_LINE_CNT_INT 213
#define CMDQ_EVENT_CAM_SUBC_YUVO_R1_LOW_LATENCY_LINE_CNT_INT 214
#define CMDQ_EVENT_CAM_SUBC_YUVO_R3_LOW_LATENCY_LINE_CNT_INT 215
#define CMDQ_EVENT_CAM_SUBC_DRZS4NO_R1_LOW_LATENCY_LINE_CNT_INT 216
#define CMDQ_EVENT_RAW_SEL_SOF_SUBA 217
#define CMDQ_EVENT_RAW_SEL_SOF_SUBB 218
#define CMDQ_EVENT_RAW_SEL_SOF_SUBC 219
#define CMDQ_EVENT_CAM_SUBA_RING_BUFFER_OVERFLOW_INT_IN 220
#define CMDQ_EVENT_CAM_SUBB_RING_BUFFER_OVERFLOW_INT_IN 221
#define CMDQ_EVENT_CAM_SUBC_RING_BUFFER_OVERFLOW_INT_IN 222
#define CMDQ_EVENT_VPP0_MDP_RDMA_SOF 256
#define CMDQ_EVENT_VPP0_MDP_FG_SOF 257
#define CMDQ_EVENT_VPP0_STITCH_SOF 258
#define CMDQ_EVENT_VPP0_MDP_HDR_SOF 259
#define CMDQ_EVENT_VPP0_MDP_AAL_SOF 260
#define CMDQ_EVENT_VPP0_MDP_RSZ_IN_RSZ_SOF 261
#define CMDQ_EVENT_VPP0_MDP_TDSHP_SOF 262
#define CMDQ_EVENT_VPP0_DISP_COLOR_SOF 263
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_SOF 264
#define CMDQ_EVENT_VPP0_VPP_PADDING_IN_PADDING_SOF 265
#define CMDQ_EVENT_VPP0_MDP_TCC_IN_SOF 266
#define CMDQ_EVENT_VPP0_MDP_WROT_SOF 267
#define CMDQ_EVENT_VPP0_WARP0_MMSYS_TOP_RELAY_SOF_PRE 269
#define CMDQ_EVENT_VPP0_WARP1_MMSYS_TOP_RELAY_SOF_PRE 270
#define CMDQ_EVENT_VPP0_VPP1_MMSYS_TOP_RELAY_SOF 271
#define CMDQ_EVENT_VPP0_VPP1_IN_MMSYS_TOP_RELAY_SOF_PRE 272
#define CMDQ_EVENT_VPP0_DISP_RDMA_SOF 273
#define CMDQ_EVENT_VPP0_DISP_WDMA_SOF 274
#define CMDQ_EVENT_VPP0_MDP_HMS_SOF 275
#define CMDQ_EVENT_VPP0_MDP_RDMA_FRAME_DONE 288
#define CMDQ_EVENT_VPP0_MDP_FG_TILE_DONE 289
#define CMDQ_EVENT_VPP0_STITCH_FRAME_DONE 290
#define CMDQ_EVENT_VPP0_MDP_HDR_FRAME_DONE 291
#define CMDQ_EVENT_VPP0_MDP_AAL_FRAME_DONE 292
#define CMDQ_EVENT_VPP0_MDP_RSZ_FRAME_DONE 293
#define CMDQ_EVENT_VPP0_MDP_TDSHP_FRAME_DONE 294
#define CMDQ_EVENT_VPP0_DISP_COLOR_FRAME_DONE 295
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_FRAME_DONE 296
#define CMDQ_EVENT_VPP0_VPP_PADDING_IN_PADDING_FRAME_DONE 297
#define CMDQ_EVENT_VPP0_MDP_TCC_TCC_FRAME_DONE 298
#define CMDQ_EVENT_VPP0_MDP_WROT_VIDO_WDONE 299
#define CMDQ_EVENT_VPP0_DISP_RDMA_FRAME_DONE 305
#define CMDQ_EVENT_VPP0_DISP_WDMA_FRAME_DONE 306
#define CMDQ_EVENT_VPP0_MDP_HMS_FRAME_DONE 307
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_0 320
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_1 321
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_2 322
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_3 323
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_4 324
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_5 325
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_6 326
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_7 327
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_8 328
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_9 329
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_10 330
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_11 331
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_12 332
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_13 333
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_14 334
#define CMDQ_EVENT_VPP0_DISP_MUTEX_STREAM_DONE_15 335
#define CMDQ_EVENT_VPP0_DISP_RDMA_0_UNDERRUN 336
#define CMDQ_EVENT_VPP0_DISP_RDMA_1_UNDERRUN 337
#define CMDQ_EVENT_VPP0_U_MERGE4_UNDERRUN 338
#define CMDQ_EVENT_VPP0_U_VPP_SPLIT_VIDEO_0_OVERFLOW 339
#define CMDQ_EVENT_VPP0_U_VPP_SPLIT_VIDEO_1_OVERFLOW 340
#define CMDQ_EVENT_VPP0_DSI_0_UNDERRUN 341
#define CMDQ_EVENT_VPP0_DSI_1_UNDERRUN 342
#define CMDQ_EVENT_VPP0_DP_INTF_0 343
#define CMDQ_EVENT_VPP0_DP_INTF_1 344
#define CMDQ_EVENT_VPP0_DPI_0 345
#define CMDQ_EVENT_VPP0_DPI_1 346
#define CMDQ_EVENT_VPP0_MDP_RDMA_SW_RST_DONE 352
#define CMDQ_EVENT_VPP0_MDP_RDMA_PM_VALID_EVENT 353
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_FRAME_RESET_DONE_PULSE 354
#define CMDQ_EVENT_VPP0_MDP_WROT_SW_RST_DONE 355
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_0 356
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_1 357
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_2 358
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_3 359
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_4 360
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_5 361
#define CMDQ_EVENT_VPP0_DISP_OVL_NOAFBC_TARGET_MATCH_6 362
#define CMDQ_EVENT_VPP0_DISP_RDMA_DISP_RDMA_VALID_EVENT 363
#define CMDQ_EVENT_VPP0_DISP_RDMA_DISP_RDMA_TARGET_LINE_EVENT 364
#define CMDQ_EVENT_VPP0_DISP_WDMA_SW_RST_DONE 365
#define CMDQ_EVENT_VPP0_DISP_WDMA_WDMA_VALID_EVENT 366
#define CMDQ_EVENT_VPP0_DISP_WDMA_WDMA_TARGET_LINE_EVENT 367
#define CMDQ_EVENT_VPP1_HDMI_META_SOF 384
#define CMDQ_EVENT_VPP1_DGI_SOF 385
#define CMDQ_EVENT_VPP1_VPP_SPLIT_SOF 386
#define CMDQ_EVENT_VPP1_SVPP1_MDP_TCC_SOF 387
#define CMDQ_EVENT_VPP1_SVPP1_MDP_RDMA_SOF 388
#define CMDQ_EVENT_VPP1_SVPP2_MDP_RDMA_SOF 389
#define CMDQ_EVENT_VPP1_SVPP3_MDP_RDMA_SOF 390
#define CMDQ_EVENT_VPP1_SVPP1_MDP_FG_SOF 391
#define CMDQ_EVENT_VPP1_SVPP2_MDP_FG_SOF 392
#define CMDQ_EVENT_VPP1_SVPP3_MDP_FG_SOF 393
#define CMDQ_EVENT_VPP1_SVPP1_MDP_HDR_SOF 394
#define CMDQ_EVENT_VPP1_SVPP2_MDP_HDR_SOF 395
#define CMDQ_EVENT_VPP1_SVPP3_MDP_HDR_SOF 396
#define CMDQ_EVENT_VPP1_SVPP1_MDP_AAL_SOF 397
#define CMDQ_EVENT_VPP1_SVPP2_MDP_AAL_SOF 398
#define CMDQ_EVENT_VPP1_SVPP3_MDP_AAL_SOF 399
#define CMDQ_EVENT_VPP1_SVPP1_MDP_RSZ_SOF 400
#define CMDQ_EVENT_VPP1_SVPP2_MDP_RSZ_SOF 401
#define CMDQ_EVENT_VPP1_SVPP3_MDP_RSZ_SOF 402
#define CMDQ_EVENT_VPP1_SVPP1_MDP_TDSHP_SOF 403
#define CMDQ_EVENT_VPP1_SVPP2_MDP_TDSHP_SOF 404
#define CMDQ_EVENT_VPP1_SVPP3_MDP_TDSHP_SOF 405
#define CMDQ_EVENT_VPP1_SVPP2_VPP_MERGE_SOF 406
#define CMDQ_EVENT_VPP1_SVPP3_VPP_MERGE_SOF 407
#define CMDQ_EVENT_VPP1_SVPP1_MDP_COLOR_SOF 408
#define CMDQ_EVENT_VPP1_SVPP2_MDP_COLOR_SOF 409
#define CMDQ_EVENT_VPP1_SVPP3_MDP_COLOR_SOF 410
#define CMDQ_EVENT_VPP1_SVPP1_MDP_OVL_SOF 411
#define CMDQ_EVENT_VPP1_SVPP1_VPP_PAD_SOF 412
#define CMDQ_EVENT_VPP1_SVPP2_VPP_PAD_SOF 413
#define CMDQ_EVENT_VPP1_SVPP3_VPP_PAD_SOF 414
#define CMDQ_EVENT_VPP1_SVPP1_MDP_WROT_SOF 415
#define CMDQ_EVENT_VPP1_SVPP2_MDP_WROT_SOF 416
#define CMDQ_EVENT_VPP1_SVPP3_MDP_WROT_SOF 417
#define CMDQ_EVENT_VPP1_VPP0_DL_IRLY_SOF 418
#define CMDQ_EVENT_VPP1_VPP0_DL_ORLY_SOF 419
#define CMDQ_EVENT_VPP1_VDO0_DL_ORLY_0_SOF 420
#define CMDQ_EVENT_VPP1_VDO0_DL_ORLY_1_SOF 421
#define CMDQ_EVENT_VPP1_VDO1_DL_ORLY_0_SOF 422
#define CMDQ_EVENT_VPP1_VDO1_DL_ORLY_1_SOF 423
#define CMDQ_EVENT_VPP1_SVPP1_MDP_RDMA_FRAME_DONE 424
#define CMDQ_EVENT_VPP1_SVPP2_MDP_RDMA_FRAME_DONE 425
#define CMDQ_EVENT_VPP1_SVPP3_MDP_RDMA_FRAME_DONE 426
#define CMDQ_EVENT_VPP1_SVPP1_MDP_WROT_FRAME_DONE 427
#define CMDQ_EVENT_VPP1_SVPP2_MDP_WROT_FRAME_DONE 428
#define CMDQ_EVENT_VPP1_SVPP3_MDP_WROT_FRAME_DONE 429
#define CMDQ_EVENT_VPP1_SVPP1_MDP_OVL_FRAME_DONE 430
#define CMDQ_EVENT_VPP1_SVPP1_MDP_RSZ_FRAME_DONE 431
#define CMDQ_EVENT_VPP1_SVPP2_MDP_RSZ_FRAME_DONE 432
#define CMDQ_EVENT_VPP1_SVPP3_MDP_RSZ_FRAME_DONE 433
#define CMDQ_EVENT_VPP1_SVPP1_MDP_FG_TILE_DONE 434
#define CMDQ_EVENT_VPP1_SVPP2_MDP_FG_TILE_DONE 435
#define CMDQ_EVENT_VPP1_SVPP3_MDP_FG_TILE_DONE 436
#define CMDQ_EVENT_VPP1_SVPP1_MDP_HDR_FRAME_DONE 437
#define CMDQ_EVENT_VPP1_SVPP2_MDP_HDR_FRAME_DONE 438
#define CMDQ_EVENT_VPP1_SVPP3_MDP_HDR_FRAME_DONE 439
#define CMDQ_EVENT_VPP1_SVPP1_MDP_AAL_FRAME_DONE 440
#define CMDQ_EVENT_VPP1_SVPP2_MDP_AAL_FRAME_DONE 441
#define CMDQ_EVENT_VPP1_SVPP3_MDP_AAL_FRAME_DONE 442
#define CMDQ_EVENT_VPP1_SVPP1_MDP_TDSHP_FRAME_DONE 443
#define CMDQ_EVENT_VPP1_SVPP2_MDP_TDSHP_FRAME_DONE 444
#define CMDQ_EVENT_VPP1_SVPP3_MDP_TDSHP_FRAME_DONE 445
#define CMDQ_EVENT_VPP1_SVPP1_MDP_COLOR_FRAME_DONE 446
#define CMDQ_EVENT_VPP1_SVPP2_MDP_COLOR_FRAME_DONE 447
#define CMDQ_EVENT_VPP1_SVPP3_MDP_COLOR_FRAME_DONE 448
#define CMDQ_EVENT_VPP1_SVPP1_VPP_PAD_FRAME_DONE 449
#define CMDQ_EVENT_VPP1_SVPP2_VPP_PAD_FRAME_DONE 450
#define CMDQ_EVENT_VPP1_SVPP3_VPP_PAD_FRAME_DONE 451
#define CMDQ_EVENT_VPP1_SVPP1_MDP_TCC_FRAME_DONE 452
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_0 456
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_1 457
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_2 458
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_3 459
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_4 460
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_5 461
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_6 462
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_7 463
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_8 464
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_9 465
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_10 466
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_11 467
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_12 468
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_13 469
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_14 470
#define CMDQ_EVENT_VPP1_MUTEX_STREAM_DONE_GCE_EVENT_15 471
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_0 472
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_1 473
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_2 474
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_3 475
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_4 476
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_5 477
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_6 478
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_7 479
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_8 480
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_9 481
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_10 482
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_11 483
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_12 484
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_13 485
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_14 486
#define CMDQ_EVENT_VPP1_MUTEX_BUF_UNDERRUN_GCE_EVENT_15 487
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_0 488
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_1 489
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_2 490
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_3 491
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_4 492
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_5 493
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_6 494
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_7 495
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_8 496
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_9 497
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_10 498
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_11 499
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_12 500
#define CMDQ_EVENT_VPP1_DGI_SYNC_EVENT_13 501
#define CMDQ_EVENT_VPP1_SVPP3_VPP_MERGE_GCE_EVENT 502
#define CMDQ_EVENT_VPP1_SVPP2_VPP_MERGE_GCE_EVENT 503
#define CMDQ_EVENT_VPP1_SVPP1_MDP_OVL_GCE_EVENT 504
#define CMDQ_EVENT_VPP1_VPP_SPLIT_DGI_GCE_EVENT 505
#define CMDQ_EVENT_VPP1_VPP_SPLIT_HDMI_GCE_EVENT 506
#define CMDQ_EVENT_VPP1_SVPP3_MDP_WROT_SW_RST_DONE_GCE_EVENT 507
#define CMDQ_EVENT_VPP1_SVPP2_MDP_WROT_SW_RST_DONE_GCE_EVENT 508
#define CMDQ_EVENT_VPP1_SVPP1_MDP_WROT_SW_RST_DONE_GCE_EVENT 509
#define CMDQ_EVENT_VPP1_SVPP1_MDP_OVL_NEW_EVENT_0 510
#define CMDQ_EVENT_VPP1_SVPP1_MDP_OVL_NEW_EVENT_1 511
#define CMDQ_EVENT_VDO0_DISP_OVL0_SOF 512
#define CMDQ_EVENT_VDO0_DISP_WDMA0_SOF 513
#define CMDQ_EVENT_VDO0_DISP_RDMA0_SOF 514
#define CMDQ_EVENT_VDO0_DISP_COLOR0_SOF 515
#define CMDQ_EVENT_VDO0_DISP_CCORR0_SOF 516
#define CMDQ_EVENT_VDO0_DISP_AAL0_SOF 517
#define CMDQ_EVENT_VDO0_DISP_GAMMA0_SOF 518
#define CMDQ_EVENT_VDO0_DISP_DITHER0_SOF 519
#define CMDQ_EVENT_VDO0_DSI0_SOF 520
#define CMDQ_EVENT_VDO0_DSC_WRAP0C0_SOF 521
#define CMDQ_EVENT_VDO0_DISP_OVL1_SOF 522
#define CMDQ_EVENT_VDO0_DISP_WDMA1_SOF 523
#define CMDQ_EVENT_VDO0_DISP_RDMA1_SOF 524
#define CMDQ_EVENT_VDO0_DISP_COLOR1_SOF 525
#define CMDQ_EVENT_VDO0_DISP_CCORR1_SOF 526
#define CMDQ_EVENT_VDO0_DISP_AAL1_SOF 527
#define CMDQ_EVENT_VDO0_DISP_GAMMA1_SOF 528
#define CMDQ_EVENT_VDO0_DISP_DITHER1_SOF 529
#define CMDQ_EVENT_VDO0_DSI1_SOF 530
#define CMDQ_EVENT_VDO0_DSC_WRAP0C1_SOF 531
#define CMDQ_EVENT_VDO0_VPP_MERGE0_SOF 532
#define CMDQ_EVENT_VDO0_DP_INTF0_SOF 533
#define CMDQ_EVENT_VDO0_DISP_DPI0_SOF 534
#define CMDQ_EVENT_VDO0_DISP_DPI1_SOF 535
#define CMDQ_EVENT_VDO0_DISP_POSTMASK0_SOF 536
#define CMDQ_EVENT_VDO0_MDP_WROT0_SOF 537
#define CMDQ_EVENT_VDO0_DISP_RSZ0_SOF 538
#define CMDQ_EVENT_VDO0_VPP1_DL_RELAY0_SOF 539
#define CMDQ_EVENT_VDO0_VPP1_DL_RELAY1_SOF 540
#define CMDQ_EVENT_VDO0_VDO1_DL_RELAY2_SOF 541
#define CMDQ_EVENT_VDO0_VDO0_DL_RELAY3_SOF 542
#define CMDQ_EVENT_VDO0_VDO0_DL_RELAY4_SOF 543
#define CMDQ_EVENT_VDO0_DISP_PWM0_SOF 544
#define CMDQ_EVENT_VDO0_DISP_PWM1_SOF 545
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_FRAME_DONE 546
#define CMDQ_EVENT_VDO0_DISP_WDMA0_FRAME_DONE 547
#define CMDQ_EVENT_VDO0_DISP_RDMA0_FRAME_DONE 548
#define CMDQ_EVENT_VDO0_DISP_COLOR0_O_FRAME_DONE 549
#define CMDQ_EVENT_VDO0_DISP_CCORR0_O_FRAME_DONE 550
#define CMDQ_EVENT_VDO0_DISP_AAL0_O_FRAME_DONE 551
#define CMDQ_EVENT_VDO0_DISP_GAMMA0_O_FRAME_DONE 552
#define CMDQ_EVENT_VDO0_DISP_DITHER0_O_FRAME_DONE 553
#define CMDQ_EVENT_VDO0_DSI0_FRAME_DONE 554
#define CMDQ_EVENT_VDO0_DSC_WRAP0_O_FRAME_DONE_0 555
#define CMDQ_EVENT_VDO0_DISP_OVL1_O_FRAME_DONE 556
#define CMDQ_EVENT_VDO0_DISP_WDMA1_O_FRAME_DONE 557
#define CMDQ_EVENT_VDO0_DISP_RDMA1_O_FRAME_DONE 558
#define CMDQ_EVENT_VDO0_DISP_COLOR1_O_FRAME_DONE 559
#define CMDQ_EVENT_VDO0_DISP_CCORR1_O_FRAME_DONE 560
#define CMDQ_EVENT_VDO0_DISP_AAL1_O_FRAME_DONE 561
#define CMDQ_EVENT_VDO0_DISP_GAMMA1_O_FRAME_DONE 562
#define CMDQ_EVENT_VDO0_DISP_DITHER1_O_FRAME_DONE 563
#define CMDQ_EVENT_VDO0_DSI1_FRAME_DONE 564
#define CMDQ_EVENT_VDO0_DSC_WRAP0_O_FRAME_DONE_1 565
#define CMDQ_EVENT_VDO0_DP_INTF0_FRAME_DONE 567
#define CMDQ_EVENT_VDO0_DISP_DPI0_O_FRAME_DONE 568
#define CMDQ_EVENT_VDO0_DISP_DPI1_O_FRAME_DONE 569
#define CMDQ_EVENT_VDO0_DISP_POSTMASK0_O_FRAME_DONE 570
#define CMDQ_EVENT_VDO0_MDP_WROT0_O_FRAME_DONE 571
#define CMDQ_EVENT_VDO0_DISP_RSZ0_O_FRAME_DONE 572
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0 574
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_1 575
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_2 576
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_3 577
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_4 578
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_5 579
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_6 580
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_7 581
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_8 582
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_9 583
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_10 584
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_11 585
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_12 586
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_13 587
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_14 588
#define CMDQ_EVENT_VDO0_DISP_STREAM_DONE_15 589
#define CMDQ_EVENT_VDO0_DISP_RDMA_0_UNDERRUN 590
#define CMDQ_EVENT_VDO0_DISP_RDMA_1_UNDERRUN 591
#define CMDQ_EVENT_VDO0_U_MERGE4_UNDERRUN 592
#define CMDQ_EVENT_VDO0_DSI_0_UNDERRUN 595
#define CMDQ_EVENT_VDO0_DSI_1_UNDERRUN 596
#define CMDQ_EVENT_VDO0_DP_INTF_0 597
#define CMDQ_EVENT_VDO0_DP_INTF_1 598
#define CMDQ_EVENT_VDO0_DPI_0 599
#define CMDQ_EVENT_VDO0_DPI_1 600
#define CMDQ_EVENT_VDO0_DISP_SMIASSERT_ENG_EVENT 606
#define CMDQ_EVENT_VDO0_DSI0_O_DSI_IRQ_EVENT_MM 607
#define CMDQ_EVENT_VDO0_DSI0_TE_ENG_EVENT_MM 608
#define CMDQ_EVENT_VDO0_DSI0_O_DSI_DONE_EVENT_MM 609
#define CMDQ_EVENT_VDO0_DSI0_O_DSI_VACTL_EVENT_MM 610
#define CMDQ_EVENT_VDO0_DSI1_O_DSI_IRQ_EVENT_MM 611
#define CMDQ_EVENT_VDO0_DSI1_TE_ENG_EVENT_MM 612
#define CMDQ_EVENT_VDO0_DSI1_O_DSI_DONE_EVENT_MM 613
#define CMDQ_EVENT_VDO0_DSI1_O_DSI_VACTL_EVENT_MM 614
#define CMDQ_EVENT_VDO0_DP_INTF0_O_DP_VSYNC_START_EVENT_MM 615
#define CMDQ_EVENT_VDO0_DP_INTF0_O_DP_VSYNC_END_EVENT_MM 616
#define CMDQ_EVENT_VDO0_DP_INTF0_O_DP_VDE_START_EVENT_MM 617
#define CMDQ_EVENT_VDO0_DP_INTF0_O_DP_VDE_END_EVENT_MM 618
#define CMDQ_EVENT_VDO0_DP_INTF0_O_VACT_TARGET_LINE_EVENT_MM 619
#define CMDQ_EVENT_VDO0_DP_INTF0_O_LAST_SAFE_BLANK_EVENT_MM 620
#define CMDQ_EVENT_VDO0_DP_INTF0_O_LAST_LINE_EVENT_MM 621
#define CMDQ_EVENT_VDO0_DP_INTF0_O_TRIGGER_LOOP_CLEAR_EVENT_MM 622
#define CMDQ_EVENT_VDO0_DP_INTF0_O_TARGET_LINE_0_EVENT_MM 623
#define CMDQ_EVENT_VDO0_DP_INTF0_O_TARGET_LINE_1_EVENT_MM 624
#define CMDQ_EVENT_VDO0_DISP_POSTMASK0_O_FRAME_RESET_DONE_PULSE 625
#define CMDQ_EVENT_VDO0_VPP_MERGE0_O_VPP_MERGE_EVENT 626
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_FRAME_RESET_DONE_PULSE 627
#define CMDQ_EVENT_VDO0_DISP_RDMA0_O_DISP_RDMA_TARGET_LINE_EVENT 628
#define CMDQ_EVENT_VDO0_DISP_WDMA0_O_WDMA_TARGET_LINE_EVENT 629
#define CMDQ_EVENT_VDO0_DISP_WDMA0_O_SW_RST_DONE 630
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_0 631
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_1 632
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_2 633
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_3 634
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_4 635
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_5 636
#define CMDQ_EVENT_VDO0_DISP_OVL0_O_TARGET_MATCH_EVENT_6 637
#define CMDQ_EVENT_VDO0_MDP_WROT0_O_SW_RST_DONE 638
#define CMDQ_EVENT_VDO0_RESERVED 639
#define CMDQ_EVENT_VDO1_MDP_RDMA0_SOF 640
#define CMDQ_EVENT_VDO1_MDP_RDMA1_SOF 641
#define CMDQ_EVENT_VDO1_MDP_RDMA2_SOF 642
#define CMDQ_EVENT_VDO1_MDP_RDMA3_SOF 643
#define CMDQ_EVENT_VDO1_MDP_RDMA4_SOF 644
#define CMDQ_EVENT_VDO1_MDP_RDMA5_SOF 645
#define CMDQ_EVENT_VDO1_MDP_RDMA6_SOF 646
#define CMDQ_EVENT_VDO1_MDP_RDMA7_SOF 647
#define CMDQ_EVENT_VDO1_DISP_PADDING0_SOF 648
#define CMDQ_EVENT_VDO1_DISP_PADDING1_SOF 649
#define CMDQ_EVENT_VDO1_DISP_PADDING2_SOF 650
#define CMDQ_EVENT_VDO1_DISP_PADDING3_SOF 651
#define CMDQ_EVENT_VDO1_DISP_PADDING4_SOF 652
#define CMDQ_EVENT_VDO1_DISP_PADDING5_SOF 653
#define CMDQ_EVENT_VDO1_DISP_PADDING6_SOF 654
#define CMDQ_EVENT_VDO1_DISP_PADDING7_SOF 655
#define CMDQ_EVENT_VDO1_DISP_RSZ0_SOF 656
#define CMDQ_EVENT_VDO1_DISP_RSZ1_SOF 657
#define CMDQ_EVENT_VDO1_DISP_RSZ2_SOF 658
#define CMDQ_EVENT_VDO1_DISP_RSZ3_SOF 659
#define CMDQ_EVENT_VDO1_VPP_MERGE0_SOF 660
#define CMDQ_EVENT_VDO1_VPP_MERGE1_SOF 661
#define CMDQ_EVENT_VDO1_VPP_MERGE2_SOF 662
#define CMDQ_EVENT_VDO1_VPP_MERGE3_SOF 663
#define CMDQ_EVENT_VDO1_VPP_MERGE4_SOF 664
#define CMDQ_EVENT_VDO1_VPP2_DL_RELAY_SOF 665
#define CMDQ_EVENT_VDO1_VPP3_DL_RELAY_SOF 666
#define CMDQ_EVENT_VDO0_DSC_DL_ASYNC_SOF 667
#define CMDQ_EVENT_VDO0_MERGE_DL_ASYNC_SOF 668
#define CMDQ_EVENT_VDO1_OUT_DL_RELAY_SOF 669
#define CMDQ_EVENT_VDO1_DISP_MIXER_SOF 670
#define CMDQ_EVENT_VDO1_HDR_VDO_FE0_SOF 671
#define CMDQ_EVENT_VDO1_HDR_VDO_FE1_SOF 672
#define CMDQ_EVENT_VDO1_HDR_GFX_FE0_SOF 673
#define CMDQ_EVENT_VDO1_HDR_GFX_FE1_SOF 674
#define CMDQ_EVENT_VDO1_HDR_VDO_BE0_SOF 675
#define CMDQ_EVENT_VDO1_HDR_MLOAD_SOF 676
#define CMDQ_EVENT_VDO1_DPI0_EXT_SOF 677
#define CMDQ_EVENT_VDO1_DPI1_EXT_SOF 678
#define CMDQ_EVENT_VDO1_DP_INTF_EXT_EXT_SOF 679
#define CMDQ_EVENT_VDO1_MDP_RDMA0_FRAME_DONE 680
#define CMDQ_EVENT_VDO1_MDP_RDMA1_FRAME_DONE 681
#define CMDQ_EVENT_VDO1_MDP_RDMA2_FRAME_DONE 682
#define CMDQ_EVENT_VDO1_MDP_RDMA3_FRAME_DONE 683
#define CMDQ_EVENT_VDO1_MDP_RDMA4_FRAME_DONE 684
#define CMDQ_EVENT_VDO1_MDP_RDMA5_FRAME_DONE 685
#define CMDQ_EVENT_VDO1_MDP_RDMA6_FRAME_DONE 686
#define CMDQ_EVENT_VDO1_MDP_RDMA7_FRAME_DONE 687
#define CMDQ_EVENT_VDO1_DISP_PADDING0_FRAME_DONE 688
#define CMDQ_EVENT_VDO1_DISP_PADDING1_FRAME_DONE 689
#define CMDQ_EVENT_VDO1_DISP_PADDING2_FRAME_DONE 690
#define CMDQ_EVENT_VDO1_DISP_PADDING3_FRAME_DONE 691
#define CMDQ_EVENT_VDO1_DISP_PADDING4_FRAME_DONE 692
#define CMDQ_EVENT_VDO1_DISP_PADDING5_FRAME_DONE 693
#define CMDQ_EVENT_VDO1_DISP_PADDING6_FRAME_DONE 694
#define CMDQ_EVENT_VDO1_DISP_PADDING7_FRAME_DONE 695
#define CMDQ_EVENT_VDO1_DISP_RSZ0_FRAME_DONE 696
#define CMDQ_EVENT_VDO1_DISP_RSZ1_FRAME_DONE 697
#define CMDQ_EVENT_VDO1_DISP_RSZ2_FRAME_DONE 698
#define CMDQ_EVENT_VDO1_DISP_RSZ3_FRAME_DONE 699
#define CMDQ_EVENT_VDO1_VPP_MERGE0_FRAME_DONE 700
#define CMDQ_EVENT_VDO1_VPP_MERGE1_FRAME_DONE 701
#define CMDQ_EVENT_VDO1_VPP_MERGE2_FRAME_DONE 702
#define CMDQ_EVENT_VDO1_VPP_MERGE3_FRAME_DONE 703
#define CMDQ_EVENT_VDO1_VPP_MERGE4_FRAME_DONE 704
#define CMDQ_EVENT_VDO1_DPI0_FRAME_DONE 705
#define CMDQ_EVENT_VDO1_DPI1_FRAME_DONE 706
#define CMDQ_EVENT_VDO1_DP_INTF0_FRAME_DONE 707
#define CMDQ_EVENT_VDO1_DISP_MIXER_FRAME_DONE_MM 708
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_0 709
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_1 710
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_2 711
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_3 712
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_4 713
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_5 714
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_6 715
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_7 716
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_8 717
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_9 718
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_10 719
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_11 720
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_12 721
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_13 722
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_14 723
#define CMDQ_EVENT_VDO1_STREAM_DONE_ENG_15 724
#define CMDQ_EVENT_VDO1_DISP_RDMA_0_UNDERRUN 725
#define CMDQ_EVENT_VDO1_DISP_RDMA_1_UNDERRUN 726
#define CMDQ_EVENT_VDO1_U_MERGE4_UNDERRUN 727
#define CMDQ_EVENT_VDO1_U_VPP_SPLIT_VIDEO_0_OVERFLOW 728
#define CMDQ_EVENT_VDO1_U_VPP_SPLIT_VIDEO_1_OVERFLOW 729
#define CMDQ_EVENT_VDO1_DSI_0_UNDERRUN 730
#define CMDQ_EVENT_VDO1_DSI_1_UNDERRUN 731
#define CMDQ_EVENT_VDO1_DP_INTF_0 732
#define CMDQ_EVENT_VDO1_DP_INTF_1 733
#define CMDQ_EVENT_VDO1_DPI_0 734
#define CMDQ_EVENT_VDO1_DPI_1 735
#define CMDQ_EVENT_VDO1_MDP_RDMA0_SW_RST_DONE 741
#define CMDQ_EVENT_VDO1_MDP_RDMA1_SW_RST_DONE 742
#define CMDQ_EVENT_VDO1_MDP_RDMA2_SW_RST_DONE 743
#define CMDQ_EVENT_VDO1_MDP_RDMA3_SW_RST_DONE 744
#define CMDQ_EVENT_VDO1_MDP_RDMA4_SW_RST_DONE 745
#define CMDQ_EVENT_VDO1_MDP_RDMA5_SW_RST_DONE 746
#define CMDQ_EVENT_VDO1_MDP_RDMA6_SW_RST_DONE 747
#define CMDQ_EVENT_VDO1_MDP_RDMA7_SW_RST_DONE 748
#define CMDQ_EVENT_VDO1_DP0_VDE_END_ENG_EVENT_MM 749
#define CMDQ_EVENT_VDO1_DP0_VDE_START_ENG_EVENT_MM 750
#define CMDQ_EVENT_VDO1_DP0_VSYNC_END_ENG_EVENT_MM 751
#define CMDQ_EVENT_VDO1_DP0_VSYNC_START_ENG_EVENT_MM 752
#define CMDQ_EVENT_VDO1_DP0_TARGET_LINE_ENG_EVENT_MM 753
#define CMDQ_EVENT_VDO1_VPP_MERGE0_EVENT 754
#define CMDQ_EVENT_VDO1_VPP_MERGE1_EVENT 755
#define CMDQ_EVENT_VDO1_VPP_MERGE2_EVENT 756
#define CMDQ_EVENT_VDO1_VPP_MERGE3_EVENT 757
#define CMDQ_EVENT_VDO1_VPP_MERGE4_EVENT 758
#define CMDQ_EVENT_VDO1_HDMITX_EVENT 759
#define CMDQ_EVENT_VDO1_HDR_VDO_BE0_ADL_TRIG_EVENT_MM 760
#define CMDQ_EVENT_VDO1_HDR_GFX_FE1_THDR_ADL_TRIG_EVENT_MM 761
#define CMDQ_EVENT_VDO1_HDR_GFX_FE1_DM_ADL_TRIG_EVENT_MM 762
#define CMDQ_EVENT_VDO1_HDR_GFX_FE0_THDR_ADL_TRIG_EVENT_MM 763
#define CMDQ_EVENT_VDO1_HDR_GFX_FE0_DM_ADL_TRIG_EVENT_MM 764
#define CMDQ_EVENT_VDO1_HDR_VDO_FE1_ADL_TRIG_EVENT_MM 765
#define CMDQ_EVENT_VDO1_HDR_VDO_FE1_AD0_TRIG_EVENT_MM 766
#define CMDQ_EVENT_VDO1_DPI0_TARGET_LINE_1_EVENT_MM 767
#define CMDQ_EVENT_HANDSHAKE_0 768
#define CMDQ_EVENT_HANDSHAKE_1 769
#define CMDQ_EVENT_HANDSHAKE_2 770
#define CMDQ_EVENT_HANDSHAKE_3 771
#define CMDQ_EVENT_HANDSHAKE_4 772
#define CMDQ_EVENT_HANDSHAKE_5 773
#define CMDQ_EVENT_HANDSHAKE_6 774
#define CMDQ_EVENT_HANDSHAKE_7 775
#define CMDQ_EVENT_HANDSHAKE_8 776
#define CMDQ_EVENT_HANDSHAKE_9 777
#define CMDQ_EVENT_HANDSHAKE_10 778
#define CMDQ_EVENT_HANDSHAKE_11 779
#define CMDQ_EVENT_HANDSHAKE_12 780
#define CMDQ_EVENT_HANDSHAKE_13 781
#define CMDQ_EVENT_HANDSHAKE_14 782
#define CMDQ_EVENT_HANDSHAKE_15 783
#define CMDQ_EVENT_VDEC_SOC_EVENT_0 800
#define CMDQ_EVENT_VDEC_SOC_EVENT_1 801
#define CMDQ_EVENT_VDEC_SOC_EVENT_2 802
#define CMDQ_EVENT_VDEC_SOC_EVENT_3 803
#define CMDQ_EVENT_VDEC_SOC_EVENT_4 804
#define CMDQ_EVENT_VDEC_SOC_EVENT_5 805
#define CMDQ_EVENT_VDEC_SOC_EVENT_6 806
#define CMDQ_EVENT_VDEC_SOC_EVENT_7 807
#define CMDQ_EVENT_VDEC_SOC_EVENT_8 808
#define CMDQ_EVENT_VDEC_SOC_EVENT_9 809
#define CMDQ_EVENT_VDEC_SOC_EVENT_10 810
#define CMDQ_EVENT_VDEC_SOC_EVENT_11 811
#define CMDQ_EVENT_VDEC_SOC_EVENT_12 812
#define CMDQ_EVENT_VDEC_SOC_EVENT_13 813
#define CMDQ_EVENT_VDEC_SOC_EVENT_14 814
#define CMDQ_EVENT_VDEC_SOC_EVENT_15 815
#define CMDQ_EVENT_VDEC_CORE0_EVENT_0 832
#define CMDQ_EVENT_VDEC_CORE0_EVENT_1 833
#define CMDQ_EVENT_VDEC_CORE0_EVENT_2 834
#define CMDQ_EVENT_VDEC_CORE0_EVENT_3 835
#define CMDQ_EVENT_VDEC_CORE0_EVENT_4 836
#define CMDQ_EVENT_VDEC_CORE0_EVENT_5 837
#define CMDQ_EVENT_VDEC_CORE0_EVENT_6 838
#define CMDQ_EVENT_VDEC_CORE0_EVENT_7 839
#define CMDQ_EVENT_VDEC_CORE0_EVENT_8 840
#define CMDQ_EVENT_VDEC_CORE0_EVENT_9 841
#define CMDQ_EVENT_VDEC_CORE0_EVENT_10 842
#define CMDQ_EVENT_VDEC_CORE0_EVENT_11 843
#define CMDQ_EVENT_VDEC_CORE0_EVENT_12 844
#define CMDQ_EVENT_VDEC_CORE0_EVENT_13 845
#define CMDQ_EVENT_VDEC_CORE0_EVENT_14 846
#define CMDQ_EVENT_VDEC_CORE0_EVENT_15 847
#define CMDQ_EVENT_VENC_TOP_VENC_FRAME_DONE 865
#define CMDQ_EVENT_VENC_TOP_VENC_PAUSE_DONE 866
#define CMDQ_EVENT_VENC_TOP_JPGENC_DONE 867
#define CMDQ_EVENT_VENC_TOP_VENC_MB_DONE 868
#define CMDQ_EVENT_VENC_TOP_VENC_128BYTE_DONE 869
#define CMDQ_EVENT_VENC_TOP_JPGDEC_DONE 870
#define CMDQ_EVENT_VENC_TOP_VENC_SLICE_DONE 871
#define CMDQ_EVENT_VENC_TOP_JPGDEC_INSUFF_DONE 872
#define CMDQ_EVENT_VENC_TOP_WP_2ND_STAGE_DONE 874
#define CMDQ_EVENT_VENC_TOP_WP_3RD_STAGE_DONE 875
#define CMDQ_EVENT_VENC_TOP_PPS_HEADER_DONE 876
#define CMDQ_EVENT_VENC_TOP_SPS_HEADER_DONE 877
#define CMDQ_EVENT_VENC_TOP_VPS_HEADER_DONE 878
#define CMDQ_EVENT_WPE_VPP0_WPE_GCE_FRAME_DONE 882
#define CMDQ_EVENT_WPE_VPP0_WPE_DONE_SYNC_OUT 883
#define CMDQ_EVENT_SVPP1_MDP_OVL_NEW_EVENT_2 896
#define CMDQ_EVENT_SVPP1_MDP_OVL_NEW_EVENT_3 897
#define CMDQ_EVENT_SVPP1_MDP_OVL_NEW_EVENT_4 898
#define CMDQ_EVENT_SVPP1_MDP_OVL_NEW_EVENT_5 899
#define CMDQ_EVENT_SVPP1_MDP_OVL_NEW_EVENT_6 900
#define CMDQ_EVENT_VDO1_DPI0_TARGET_LINE_0_EVENT_MM 928
#define CMDQ_EVENT_VDO1_DPI0_TRIGGER_LOOP_CLEAR_EVENT_MM 929
#define CMDQ_EVENT_VDO1_DPI0_LAST_LINE_EVENT_MM 930
#define CMDQ_EVENT_VDO1_DPI0_LAST_SAFE_BLANK_EVENT_MM 931
#define CMDQ_EVENT_VDO1_DPI0_VSYNC_START_EVENT_MM 932
#define CMDQ_EVENT_VDO1_DPI1_TARGET_LINE_1_EVENT_MM 933
#define CMDQ_EVENT_VDO1_DPI1_TARGET_LINE_0_EVENT_MM 934
#define CMDQ_EVENT_VDO1_DPI1_TRIGGER_LOOP_CLEAR_EVENT_MM 935
#define CMDQ_EVENT_VDO1_DPI1_LAST_LINE_EVENT_MM 936
#define CMDQ_EVENT_VDO1_DPI1_LAST_SAFE_BLANK_EVENT_MM 937
#define CMDQ_EVENT_VDO1_DPI1_VSYNC_START_EVENT_MM 938
#define CMDQ_EVENT_VDO1_DP_INTF_TARGET_LINE_1_EVENT_MM 939
#define CMDQ_EVENT_VDO1_DP_INTF_TARGET_LINE_0_EVENT_MM 940
#define CMDQ_EVENT_VDO1_DP_INTF_TRIGGER_LOOP_CLEAR_EVENT_MM 941
#define CMDQ_EVENT_VDO1_DP_INTF_LAST_LINE_EVENT_MM 942
#define CMDQ_EVENT_VDO1_DP_INTF_LAST_SAFE_BLANK_EVENT_MM 943
#define CMDQ_EVENT_VBLANK_FALLING 946
#define CMDQ_EVENT_VSC_FINISH 947
#define CMDQ_EVENT_TPR_0 962
#define CMDQ_EVENT_TPR_1 963
#define CMDQ_EVENT_TPR_2 964
#define CMDQ_EVENT_TPR_3 965
#define CMDQ_EVENT_TPR_4 966
#define CMDQ_EVENT_TPR_5 967
#define CMDQ_EVENT_TPR_6 968
#define CMDQ_EVENT_TPR_7 969
#define CMDQ_EVENT_TPR_8 970
#define CMDQ_EVENT_TPR_9 971
#define CMDQ_EVENT_TPR_10 972
#define CMDQ_EVENT_TPR_11 973
#define CMDQ_EVENT_TPR_12 974
#define CMDQ_EVENT_TPR_13 975
#define CMDQ_EVENT_TPR_14 976
#define CMDQ_EVENT_TPR_15 977
#define CMDQ_EVENT_TPR_16 978
#define CMDQ_EVENT_TPR_17 979
#define CMDQ_EVENT_TPR_18 980
#define CMDQ_EVENT_TPR_19 981
#define CMDQ_EVENT_TPR_20 982
#define CMDQ_EVENT_TPR_21 983
#define CMDQ_EVENT_TPR_22 984
#define CMDQ_EVENT_TPR_23 985
#define CMDQ_EVENT_TPR_24 986
#define CMDQ_EVENT_TPR_25 987
#define CMDQ_EVENT_TPR_26 988
#define CMDQ_EVENT_TPR_27 989
#define CMDQ_EVENT_TPR_28 990
#define CMDQ_EVENT_TPR_29 991
#define CMDQ_EVENT_TPR_30 992
#define CMDQ_EVENT_TPR_31 993
#define CMDQ_EVENT_TPR_TIMEOUT_0 994
#define CMDQ_EVENT_TPR_TIMEOUT_1 995
#define CMDQ_EVENT_TPR_TIMEOUT_2 996
#define CMDQ_EVENT_TPR_TIMEOUT_3 997
#define CMDQ_EVENT_TPR_TIMEOUT_4 998
#define CMDQ_EVENT_TPR_TIMEOUT_5 999
#define CMDQ_EVENT_TPR_TIMEOUT_6 1000
#define CMDQ_EVENT_TPR_TIMEOUT_7 1001
#define CMDQ_EVENT_TPR_TIMEOUT_8 1002
#define CMDQ_EVENT_TPR_TIMEOUT_9 1003
#define CMDQ_EVENT_TPR_TIMEOUT_10 1004
#define CMDQ_EVENT_TPR_TIMEOUT_11 1005
#define CMDQ_EVENT_TPR_TIMEOUT_12 1006
#define CMDQ_EVENT_TPR_TIMEOUT_13 1007
#define CMDQ_EVENT_TPR_TIMEOUT_14 1008
#define CMDQ_EVENT_TPR_TIMEOUT_15 1009
#define CMDQ_EVENT_OUTPIN_0 1018
#define CMDQ_EVENT_OUTPIN_1 1019
#define CMDQ_SYNC_TOKEN_IMGSYS_WPE_EIS 124
#define CMDQ_SYNC_TOKEN_IMGSYS_WPE_TNR 125
#define CMDQ_SYNC_TOKEN_IMGSYS_WPE_LITE 126
#define CMDQ_SYNC_TOKEN_IMGSYS_TRAW 127
#define CMDQ_SYNC_TOKEN_IMGSYS_LTRAW 128
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_1 223
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_2 224
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_3 225
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_4 226
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_5 227
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_6 228
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_7 229
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_8 230
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_9 231
#define CMDQ_SYNC_TOKEN_CAMSYS_POOL_10 232
#define CMDQ_SYNC_TOKEN_IMGSYS_XTRAW 233
#define CMDQ_SYNC_TOKEN_IMGSYS_DIP 234
#define CMDQ_SYNC_TOKEN_IMGSYS_PQDIP_A 235
#define CMDQ_SYNC_TOKEN_IMGSYS_PQDIP_B 236
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_1 237
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_2 238
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_3 239
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_4 240
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_5 241
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_6 242
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_7 243
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_8 244
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_9 245
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_10 246
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_11 247
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_12 248
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_13 249
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_14 250
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_15 251
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_16 252
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_17 253
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_18 254
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_19 255
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_20 276
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_21 277
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_22 278
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_23 279
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_24 280
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_25 281
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_26 282
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_27 283
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_28 284
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_29 285
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_30 286
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_31 287
#define CMDQ_SYNC_TOKEN_IPESYS_ME 300
#define CMDQ_SYNC_TOKEN_IMGSYS_VSS_TRAW 301
#define CMDQ_SYNC_TOKEN_IMGSYS_VSS_LTRAW 302
#define CMDQ_SYNC_TOKEN_IMGSYS_VSS_XTRAW 303
#define CMDQ_SYNC_TOKEN_IMGSYS_VSS_DIP 304
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_32 308
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_33 309
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_34 310
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_35 311
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_36 312
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_37 313
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_38 314
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_39 315
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_40 316
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_41 370
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_42 371
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_43 372
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_44 373
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_45 374
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_46 375
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_47 376
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_48 377
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_49 378
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_50 379
#define CMDQ_SYNC_TOKEN_TZMP_ISP_WAIT 380
#define CMDQ_SYNC_TOKEN_TZMP_ISP_SET 381
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_51 790
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_52 791
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_53 792
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_54 793
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_55 794
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_56 795
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_57 796
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_58 797
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_59 798
#define CMDQ_SYNC_TOKEN_IMGSYS_POOL_60 799
#define CMDQ_SYNC_TOKEN_PREBUILT_MDP_WAIT 816
#define CMDQ_SYNC_TOKEN_PREBUILT_MDP_SET 817
#define CMDQ_SYNC_TOKEN_PREBUILT_MDP_LOCK 818
#define CMDQ_SYNC_TOKEN_PREBUILT_MML_WAIT 819
#define CMDQ_SYNC_TOKEN_PREBUILT_MML_SET 820
#define CMDQ_SYNC_TOKEN_PREBUILT_MML_LOCK 821
#define CMDQ_SYNC_TOKEN_PREBUILT_VFMT_WAIT 822
#define CMDQ_SYNC_TOKEN_PREBUILT_VFMT_SET 823
#define CMDQ_SYNC_TOKEN_PREBUILT_VFMT_LOCK 824
#define CMDQ_SYNC_TOKEN_PREBUILT_DISP_WAIT 825
#define CMDQ_SYNC_TOKEN_PREBUILT_DISP_SET 826
#define CMDQ_SYNC_TOKEN_PREBUILT_DISP_LOCK 827
#define CMDQ_SYNC_TOKEN_CONFIG_DIRTY 848
#define CMDQ_SYNC_TOKEN_STREAM_EOF 849
#define CMDQ_SYNC_TOKEN_ESD_EOF 850
#define CMDQ_SYNC_TOKEN_STREAM_BLOCK 851
#define CMDQ_SYNC_TOKEN_CABC_EOF 852
#define CMDQ_SYNC_TOKEN_VENC_INPUT_READY 853
#define CMDQ_SYNC_TOKEN_VENC_EOF 854
#define CMDQ_SYNC_TOKEN_SECURE_THR_EOF 855
#define CMDQ_SYNC_TOKEN_USER_0 856
#define CMDQ_SYNC_TOKEN_USER_1 857
#define CMDQ_SYNC_TOKEN_POLL_MONITOR 858
#define CMDQ_TOKEN_TPR_LOCK 859
#define CMDQ_SYNC_TOKEN_MSS 860
#define CMDQ_SYNC_TOKEN_MSF 861
#define CMDQ_SYNC_TOKEN_GPR_SET_0 884
#define CMDQ_SYNC_TOKEN_GPR_SET_1 885
#define CMDQ_SYNC_TOKEN_GPR_SET_2 886
#define CMDQ_SYNC_TOKEN_GPR_SET_3 887
#define CMDQ_SYNC_TOKEN_GPR_SET_4 888
#define CMDQ_SYNC_RESOURCE_WROT0 889
#define CMDQ_SYNC_RESOURCE_WROT1 890
#define CMDQ_SYNC_TOKEN_DISP_VA_START 1012
#define CMDQ_SYNC_TOKEN_DISP_VA_END 1013
#endif