Lines Matching +full:cpu +full:- +full:viewed
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <media/drv-intf/cx2341x.h>
19 IN[0] - Task ID. This is one of the XPU_CMD_MASK_YYY where XPU is
21 OUT[0] - Task handle. This handle is passed along with commands to
23 ReturnCode - One of the ERR_SYS_... */
27 IN[0] - Task handle. Hanlde of the task to destroy
28 ReturnCode - One of the ERR_SYS_... */
31 /* All commands for CPU have the following mask set */
49 IN[0] - audio parameters (same as CX18_CPU_SET_AUDIO_PARAMETERS?)
50 IN[1] - caller buffer address, or 0
51 ReturnCode - ??? */
55 IN[0] - encoding method to stop
56 ReturnCode - ??? */
60 ReturnCode - ??? */
65 IN[0] - Task handle. Handle of the task
66 IN[1] - Offset of the MDL_ACK from the beginning of the local DDR.
67 IN[2] - Number of CNXT_MDL_ACK structures in the array pointed to by IN[1]
68 ReturnCode - One of the ERR_DE_... */
72 IN[0] - A value to log
73 IN[1] - An offset of a string in the MiniMe memory;
77 /* Reads memory/registers (32-bit)
78 IN[0] - Address
79 OUT[1] - Value */
83 IN[0] - Task handle. Handle of the task to start
84 ReturnCode - One of the ERR_CAPTURE_... */
88 IN[0] - Task handle. Handle of the task to stop
89 IN[1] - 0 = stop at end of GOP, 1 = stop at end of frame (MPEG only)
90 ReturnCode - One of the ERR_CAPTURE_... */
94 IN[0] - Task handle. Handle of the task to pause
95 ReturnCode - One of the ERR_CAPTURE_... */
99 IN[0] - Task handle. Handle of the task to resume
100 ReturnCode - One of the ERR_CAPTURE_... */
115 IN[0] - Task handle. Handle of the task to start
116 IN[1] - Channel Type. See Below.
117 ReturnCode - One of the ERR_CAPTURE_... */
121 IN[0] - task handle. Handle of the task to start
122 IN[1] - type
123 ReturnCode - One of the ERR_CAPTURE_... */
127 IN[0] - task handle
128 IN[1] - reserved
129 IN[2] - reserved
130 IN[3] - reserved
131 IN[4] - reserved
132 IN[5] - frame rate, 0 - 29.97f/s, 1 - 25f/s
133 ReturnCode - One of the ERR_CAPTURE_... */
137 IN[0] - task handle. Handle of the task to start
138 IN[1] - video bit rate mode
139 IN[2] - video average rate
140 IN[3] - video peak rate
141 IN[4] - system mux rate
142 ReturnCode - One of the ERR_CAPTURE_... */
146 IN[0] - task handle
147 IN[1] - horizontal size
148 IN[2] - vertical size
149 ReturnCode - One of the ERR_CAPTURE_... */
153 IN[0] - Task handle. Handle of the task
154 IN[1] - type, 0 - temporal, 1 - spatial, 2 - median
155 IN[2] - mode, temporal/spatial: 0 - disable, 1 - static, 2 - dynamic
158 IN[3] - strength, temporal 0 - 31, spatial 0 - 15
159 ReturnCode - One of the ERR_CAPTURE_... */
163 IN[0] - Task handle.
164 IN[1] - luma type: 0 = disable, 1 = 1D horizontal only, 2 = 1D vertical only,
165 3 = 2D H/V separable, 4 = 2D symmetric non-separable
166 IN[2] - chroma type: 0 - disable, 1 = 1D horizontal
167 ReturnCode - One of the ERR_CAPTURE_... */
171 IN[0] - Task handle.
172 IN[1] - luma_high
173 IN[2] - luma_low
174 IN[3] - chroma_high
175 IN[4] - chroma_low
176 ReturnCode - One of the ERR_CAPTURE_... */
180 IN[0] - Task handle (ignored by firmware)
181 IN[1] - 0 = disable index file output
189 IN[0] - task handle. Handle of the task to start
190 IN[1] - audio parameter
191 ReturnCode - One of the ERR_CAPTURE_... */
195 IN[0] - task handle. Handle of the task to start
196 IN[1] - bit31-24: muteYvalue
197 bit23-16: muteUvalue
198 bit15-8: muteVvalue
200 ReturnCode - One of the ERR_CAPTURE_... */
204 IN[0] - task handle. Handle of the task to start
205 IN[1] - mute/unmute
206 ReturnCode - One of the ERR_CAPTURE_... */
210 IN[0] - task handle. Handle of the task to start
211 IN[1] - subType
220 IN[2] - parameter 1
221 IN[3] - parameter 2
222 ReturnCode - One of the ERR_CAPTURE_... */
226 IN[0] - Task handle
227 IN[1] - No. of input lines per field:
230 IN[2] - No. of input bytes per line
231 IN[3] - No. of output frames per transfer
232 IN[4] - start code
233 IN[5] - stop code
238 IN[0] - task handle. Handle of the task to start
239 IN[1] - height1
240 IN[2] - height2
241 ReturnCode - One of the ERR_CAPTURE_... */
245 IN[0] - task handle. Handle of the task to start
246 IN[1] - copyright
247 ReturnCode - One of the ERR_CAPTURE_... */
251 IN[0] - task handle. Handle of the task to start
252 IN[1] - PID
253 ReturnCode - One of the ERR_CAPTURE_... */
257 IN[0] - task handle. Handle of the task to start
258 IN[1] - PID
259 ReturnCode - One of the ERR_CAPTURE_... */
263 IN[0] - task handle. Handle of the task to start
264 IN[1] - Line
265 ReturnCode - One of the ERR_CAPTURE_... */
269 IN[0] - task handle. Handle of the task to start
270 IN[1] - M
271 IN[2] - N
272 ReturnCode - One of the ERR_CAPTURE_... */
276 IN[0] - task handle. Handle of the task to start
277 IN[1] - scene change
278 ReturnCode - One of the ERR_CAPTURE_... */
282 IN[0] - task handle. Handle of the task to start
283 IN[1] - AspectRatio
284 ReturnCode - One of the ERR_CAPTURE_... */
288 IN[0] - task handle. Handle of the task to start
289 IN[1] - skip input frames
290 ReturnCode - One of the ERR_CAPTURE_... */
293 /* Description: Set sliced VBI parameters -
295 IN[0] - Task handle
296 IN[1] - output type, 0 - CC, 1 - Moji, 2 - Teletext
297 IN[2] - start / stop line
300 IN[3] - number of output frames per interrupt
301 IN[4] - VBI insertion mode
302 bit 0: output user data, 1 - enable
303 bit 1: output private stream, 1 - enable
304 bit 2: mux option, 0 - in GOP, 1 - in picture
306 IN[5] - insertion period while mux option is in picture
307 ReturnCode - VBI data offset */
311 IN[0] - type of data (0 for user)
312 IN[1] - Stuffing period
313 IN[2] - ID data size in word (less than 10)
314 IN[3] - Pointer to ID buffer */
332 IN[0] - task handle
333 IN[1] - VFC enable flag, 1 - enable, 0 - disable
341 DDR as viewed by EPU
342 IN[0] - Physical offset where EPU has the local DDR mapped
343 ReturnCode - One of the ERR_DE_... */
348 IN[0] - Task handle. Handle of the task to start
349 IN[1] - Offset of the first cx18_mdl_ack from the beginning of the
351 IN[2] - Offset of the second cx18_mdl_ack from the beginning of the
353 ReturnCode - One of the ERR_DE_... */
357 IN[0] - Task handle. Handle of the task to start
358 IN[1] - Offset of the MDL from the beginning of the local DDR.
359 IN[2] - Number of cx18_mdl_ent structures in the array pointed to by IN[1]
360 IN[3] - Buffer ID
361 IN[4] - Total buffer length
362 ReturnCode - One of the ERR_DE_... */
367 IN[0] - Task handle. Handle of the task to start
368 ReturnCode - One of the ERR_DE_... */
371 /* Description: This command signals the cpu that the dat buffer has been
372 consumed and ready for re-use.
373 IN[0] - Task handle. Handle of the task
374 IN[1] - Offset of the data block from the beginning of the local DDR.
375 IN[2] - Number of bytes in the data block
376 ReturnCode - One of the ERR_DE_... */
439 /* CPU (Capture/Encoder) mail box is corrupted */