Lines Matching full:cmdq
11 #include <linux/mailbox/mtk-cmdq-mailbox.h>
18 * Every cmdq thread has its own SPRs (Specific Purpose Registers),
67 * cmdq_dev_get_client_reg() - parse cmdq client reg from the device
68 * node of CMDQ client
69 * @dev: device of CMDQ mailbox client
70 * @client_reg: CMDQ client reg pointer
75 * Help CMDQ client parsing the cmdq client reg
76 * from the device node of CMDQ client.
82 * cmdq_mbox_create() - create CMDQ mailbox client and channel
83 * @dev: device of CMDQ mailbox client
84 * @index: index of CMDQ mailbox channel
86 * Return: CMDQ mailbox client pointer
91 * cmdq_mbox_destroy() - destroy CMDQ mailbox client and channel
92 * @client: the CMDQ mailbox client
97 * cmdq_pkt_create() - create a CMDQ packet
98 * @client: the CMDQ mailbox client
99 * @pkt: the CMDQ packet
100 * @size: required CMDQ buffer size
107 * cmdq_pkt_destroy() - destroy the CMDQ packet
108 * @client: the CMDQ mailbox client
109 * @pkt: the CMDQ packet
114 * cmdq_pkt_write() - append write command to the CMDQ packet
115 * @pkt: the CMDQ packet
116 * @subsys: the CMDQ sub system code
117 * @offset: register offset from CMDQ sub system
125 * cmdq_pkt_write_mask() - append write command with mask to the CMDQ packet
126 * @pkt: the CMDQ packet
127 * @subsys: the CMDQ sub system code
128 * @offset: register offset from CMDQ sub system
138 * cmdq_pkt_read_s() - append read_s command to the CMDQ packet
139 * @pkt: the CMDQ packet
142 * @reg_idx: the CMDQ internal register ID to cache read data
150 * cmdq_pkt_write_s() - append write_s command to the CMDQ packet
151 * @pkt: the CMDQ packet
154 * @src_reg_idx: the CMDQ internal register ID which cache source value
167 * cmdq_pkt_write_s_mask() - append write_s with mask command to the CMDQ packet
168 * @pkt: the CMDQ packet
171 * @src_reg_idx: the CMDQ internal register ID which cache source value
185 * cmdq_pkt_write_s_value() - append write_s command to the CMDQ packet which
187 * @pkt: the CMDQ packet
198 * cmdq_pkt_write_s_mask_value() - append write_s command with mask to the CMDQ
201 * @pkt: the CMDQ packet
213 * cmdq_pkt_mem_move() - append memory move command to the CMDQ packet
214 * @pkt: the CMDQ packet
218 * Appends a CMDQ command to copy the value found in `src_addr` to `dst_addr`.
225 * cmdq_pkt_wfe() - append wait for event command to the CMDQ packet
226 * @pkt: the CMDQ packet
235 * cmdq_pkt_acquire_event() - append acquire event command to the CMDQ packet
236 * @pkt: the CMDQ packet
250 * cmdq_pkt_clear_event() - append clear event command to the CMDQ packet
251 * @pkt: the CMDQ packet
259 * cmdq_pkt_set_event() - append set event command to the CMDQ packet
260 * @pkt: the CMDQ packet
268 * cmdq_pkt_poll() - Append polling command to the CMDQ packet, ask GCE to
273 * @pkt: the CMDQ packet
274 * @subsys: the CMDQ sub system code
275 * @offset: register offset from CMDQ sub system
284 * cmdq_pkt_poll_mask() - Append polling command to the CMDQ packet, ask GCE to
289 * @pkt: the CMDQ packet
290 * @subsys: the CMDQ sub system code
291 * @offset: register offset from CMDQ sub system
301 * cmdq_pkt_logic_command() - Append logic command to the CMDQ packet, ask GCE to
304 * @pkt: the CMDQ packet
318 * cmdq_pkt_assign() - Append logic assign command to the CMDQ packet, ask GCE
322 * @pkt: the CMDQ packet
323 * @reg_idx: the CMDQ internal register ID
331 * cmdq_pkt_poll_addr() - Append blocking POLL command to CMDQ packet
332 * @pkt: the CMDQ packet
337 * Appends a polling (POLL) command to the CMDQ packet and asks the GCE
347 * cmdq_pkt_jump_abs() - Append jump command to the CMDQ packet, ask GCE
351 * @pkt: the CMDQ packet
353 * @shift_pa: shift bits of physical address in CMDQ instruction. This value
367 * cmdq_pkt_jump_rel() - Append jump command to the CMDQ packet, ask GCE
371 * @pkt: the CMDQ packet
373 * @shift_pa: shift bits of physical address in CMDQ instruction. This value
382 * @pkt: The CMDQ packet
384 * Appends an End Of Code (EOC) command to the CMDQ packet and asks the GCE