History

soc: mediatek: cmdq: define the instruction struct

Define an instruction structure for gce driver to append command. This structure can make the client's code more readability.

Bibby Hsieh committed 6 years ago

Commit 5c8b7181 parent 01d1b402 files · +59 −24Browse files

Showing the changes to include/linux/mailbox (1 of 2 files). Show all

Unified · Split

include/linux/mailbox/mtk-cmdq-mailbox.h+10−0
@@ -20,6 +20,16 @@ · 19 unmodified lines
2020 #define CMDQ_WFE_WAIT BIT(15)
2121 #define CMDQ_WFE_WAIT_VALUE 0x1
2222
23+/*
24+ * WFE arg_b
25+ * bit 0-11: wait value
26+ * bit 15: 1 - wait, 0 - no wait
27+ * bit 16-27: update value
28+ * bit 31: 1 - update, 0 - no update
29+ */
30+#define CMDQ_WFE_OPTION (CMDQ_WFE_UPDATE | CMDQ_WFE_WAIT | \
31+ CMDQ_WFE_WAIT_VALUE)
32+
2333 /** cmdq event maximum */
2434 #define CMDQ_MAX_EVENT 0x3ff
2535

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t