cx23418.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. /*
  2. * cx18 header containing common defines.
  3. *
  4. * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  19. * 02111-1307 USA
  20. */
  21. #ifndef CX23418_H
  22. #define CX23418_H
  23. #include <media/cx2341x.h>
  24. #define MGR_CMD_MASK 0x40000000
  25. /* The MSB of the command code indicates that this is the completion of a
  26. command */
  27. #define MGR_CMD_MASK_ACK (MGR_CMD_MASK | 0x80000000)
  28. /* Description: This command creates a new instance of a certain task
  29. IN[0] - Task ID. This is one of the XPU_CMD_MASK_YYY where XPU is
  30. the processor on which the task YYY will be created
  31. OUT[0] - Task handle. This handle is passed along with commands to
  32. dispatch to the right instance of the task
  33. ReturnCode - One of the ERR_SYS_... */
  34. #define CX18_CREATE_TASK (MGR_CMD_MASK | 0x0001)
  35. /* Description: This command destroys an instance of a task
  36. IN[0] - Task handle. Hanlde of the task to destroy
  37. ReturnCode - One of the ERR_SYS_... */
  38. #define CX18_DESTROY_TASK (MGR_CMD_MASK | 0x0002)
  39. /* All commands for CPU have the following mask set */
  40. #define CPU_CMD_MASK 0x20000000
  41. #define CPU_CMD_MASK_DEBUG (CPU_CMD_MASK | 0x00000000)
  42. #define CPU_CMD_MASK_ACK (CPU_CMD_MASK | 0x80000000)
  43. #define CPU_CMD_MASK_CAPTURE (CPU_CMD_MASK | 0x00020000)
  44. #define CPU_CMD_MASK_TS (CPU_CMD_MASK | 0x00040000)
  45. #define EPU_CMD_MASK 0x02000000
  46. #define EPU_CMD_MASK_DEBUG (EPU_CMD_MASK | 0x000000)
  47. #define EPU_CMD_MASK_DE (EPU_CMD_MASK | 0x040000)
  48. #define APU_CMD_MASK 0x10000000
  49. #define APU_CMD_MASK_ACK (APU_CMD_MASK | 0x80000000)
  50. #define CX18_APU_ENCODING_METHOD_MPEG (0 << 28)
  51. #define CX18_APU_ENCODING_METHOD_AC3 (1 << 28)
  52. /* Description: Command APU to start audio
  53. IN[0] - audio parameters (same as CX18_CPU_SET_AUDIO_PARAMETERS?)
  54. IN[1] - caller buffer address, or 0
  55. ReturnCode - ??? */
  56. #define CX18_APU_START (APU_CMD_MASK | 0x01)
  57. /* Description: Command APU to stop audio
  58. IN[0] - encoding method to stop
  59. ReturnCode - ??? */
  60. #define CX18_APU_STOP (APU_CMD_MASK | 0x02)
  61. /* Description: Command APU to reset the AI
  62. ReturnCode - ??? */
  63. #define CX18_APU_RESETAI (APU_CMD_MASK | 0x05)
  64. /* Description: This command indicates that a Memory Descriptor List has been
  65. filled with the requested channel type
  66. IN[0] - Task handle. Handle of the task
  67. IN[1] - Offset of the MDL_ACK from the beginning of the local DDR.
  68. IN[2] - Number of CNXT_MDL_ACK structures in the array pointed to by IN[1]
  69. ReturnCode - One of the ERR_DE_... */
  70. #define CX18_EPU_DMA_DONE (EPU_CMD_MASK_DE | 0x0001)
  71. /* Something interesting happened
  72. IN[0] - A value to log
  73. IN[1] - An offset of a string in the MiniMe memory;
  74. 0/zero/NULL means "I have nothing to say" */
  75. #define CX18_EPU_DEBUG (EPU_CMD_MASK_DEBUG | 0x0003)
  76. /* Reads memory/registers (32-bit)
  77. IN[0] - Address
  78. OUT[1] - Value */
  79. #define CX18_CPU_DEBUG_PEEK32 (CPU_CMD_MASK_DEBUG | 0x0003)
  80. /* Description: This command starts streaming with the set channel type
  81. IN[0] - Task handle. Handle of the task to start
  82. ReturnCode - One of the ERR_CAPTURE_... */
  83. #define CX18_CPU_CAPTURE_START (CPU_CMD_MASK_CAPTURE | 0x0002)
  84. /* Description: This command stops streaming with the set channel type
  85. IN[0] - Task handle. Handle of the task to stop
  86. IN[1] - 0 = stop at end of GOP, 1 = stop at end of frame (MPEG only)
  87. ReturnCode - One of the ERR_CAPTURE_... */
  88. #define CX18_CPU_CAPTURE_STOP (CPU_CMD_MASK_CAPTURE | 0x0003)
  89. /* Description: This command pauses streaming with the set channel type
  90. IN[0] - Task handle. Handle of the task to pause
  91. ReturnCode - One of the ERR_CAPTURE_... */
  92. #define CX18_CPU_CAPTURE_PAUSE (CPU_CMD_MASK_CAPTURE | 0x0007)
  93. /* Description: This command resumes streaming with the set channel type
  94. IN[0] - Task handle. Handle of the task to resume
  95. ReturnCode - One of the ERR_CAPTURE_... */
  96. #define CX18_CPU_CAPTURE_RESUME (CPU_CMD_MASK_CAPTURE | 0x0008)
  97. #define CAPTURE_CHANNEL_TYPE_NONE 0
  98. #define CAPTURE_CHANNEL_TYPE_MPEG 1
  99. #define CAPTURE_CHANNEL_TYPE_INDEX 2
  100. #define CAPTURE_CHANNEL_TYPE_YUV 3
  101. #define CAPTURE_CHANNEL_TYPE_PCM 4
  102. #define CAPTURE_CHANNEL_TYPE_VBI 5
  103. #define CAPTURE_CHANNEL_TYPE_SLICED_VBI 6
  104. #define CAPTURE_CHANNEL_TYPE_TS 7
  105. #define CAPTURE_CHANNEL_TYPE_MAX 15
  106. /* Description: This command sets the channel type. This can only be done
  107. when stopped.
  108. IN[0] - Task handle. Handle of the task to start
  109. IN[1] - Channel Type. See Below.
  110. ReturnCode - One of the ERR_CAPTURE_... */
  111. #define CX18_CPU_SET_CHANNEL_TYPE (CPU_CMD_MASK_CAPTURE + 1)
  112. /* Description: Set stream output type
  113. IN[0] - task handle. Handle of the task to start
  114. IN[1] - type
  115. ReturnCode - One of the ERR_CAPTURE_... */
  116. #define CX18_CPU_SET_STREAM_OUTPUT_TYPE (CPU_CMD_MASK_CAPTURE | 0x0012)
  117. /* Description: Set video input resolution and frame rate
  118. IN[0] - task handle
  119. IN[1] - reserved
  120. IN[2] - reserved
  121. IN[3] - reserved
  122. IN[4] - reserved
  123. IN[5] - frame rate, 0 - 29.97f/s, 1 - 25f/s
  124. ReturnCode - One of the ERR_CAPTURE_... */
  125. #define CX18_CPU_SET_VIDEO_IN (CPU_CMD_MASK_CAPTURE | 0x0004)
  126. /* Description: Set video frame rate
  127. IN[0] - task handle. Handle of the task to start
  128. IN[1] - video bit rate mode
  129. IN[2] - video average rate
  130. IN[3] - video peak rate
  131. IN[4] - system mux rate
  132. ReturnCode - One of the ERR_CAPTURE_... */
  133. #define CX18_CPU_SET_VIDEO_RATE (CPU_CMD_MASK_CAPTURE | 0x0005)
  134. /* Description: Set video output resolution
  135. IN[0] - task handle
  136. IN[1] - horizontal size
  137. IN[2] - vertical size
  138. ReturnCode - One of the ERR_CAPTURE_... */
  139. #define CX18_CPU_SET_VIDEO_RESOLUTION (CPU_CMD_MASK_CAPTURE | 0x0006)
  140. /* Description: This command set filter parameters
  141. IN[0] - Task handle. Handle of the task
  142. IN[1] - type, 0 - temporal, 1 - spatial, 2 - median
  143. IN[2] - mode, temporal/spatial: 0 - disable, 1 - static, 2 - dynamic
  144. median: 0 = disable, 1 = horizontal, 2 = vertical,
  145. 3 = horizontal/vertical, 4 = diagonal
  146. IN[3] - strength, temporal 0 - 31, spatial 0 - 15
  147. ReturnCode - One of the ERR_CAPTURE_... */
  148. #define CX18_CPU_SET_FILTER_PARAM (CPU_CMD_MASK_CAPTURE | 0x0009)
  149. /* Description: This command set spatial filter type
  150. IN[0] - Task handle.
  151. IN[1] - luma type: 0 = disable, 1 = 1D horizontal only, 2 = 1D vertical only,
  152. 3 = 2D H/V separable, 4 = 2D symmetric non-separable
  153. IN[2] - chroma type: 0 - disable, 1 = 1D horizontal
  154. ReturnCode - One of the ERR_CAPTURE_... */
  155. #define CX18_CPU_SET_SPATIAL_FILTER_TYPE (CPU_CMD_MASK_CAPTURE | 0x000C)
  156. /* Description: This command set coring levels for median filter
  157. IN[0] - Task handle.
  158. IN[1] - luma_high
  159. IN[2] - luma_low
  160. IN[3] - chroma_high
  161. IN[4] - chroma_low
  162. ReturnCode - One of the ERR_CAPTURE_... */
  163. #define CX18_CPU_SET_MEDIAN_CORING (CPU_CMD_MASK_CAPTURE | 0x000E)
  164. /* Description: This command set the picture type mask for index file
  165. IN[0] - Task handle (ignored by firmware)
  166. IN[1] - 0 = disable index file output
  167. 1 = output I picture
  168. 2 = P picture
  169. 4 = B picture
  170. other = illegal */
  171. #define CX18_CPU_SET_INDEXTABLE (CPU_CMD_MASK_CAPTURE | 0x0010)
  172. /* Description: Set audio parameters
  173. IN[0] - task handle. Handle of the task to start
  174. IN[1] - audio parameter
  175. ReturnCode - One of the ERR_CAPTURE_... */
  176. #define CX18_CPU_SET_AUDIO_PARAMETERS (CPU_CMD_MASK_CAPTURE | 0x0011)
  177. /* Description: Set video mute
  178. IN[0] - task handle. Handle of the task to start
  179. IN[1] - bit31-24: muteYvalue
  180. bit23-16: muteUvalue
  181. bit15-8: muteVvalue
  182. bit0: 1:mute, 0: unmute
  183. ReturnCode - One of the ERR_CAPTURE_... */
  184. #define CX18_CPU_SET_VIDEO_MUTE (CPU_CMD_MASK_CAPTURE | 0x0013)
  185. /* Description: Set audio mute
  186. IN[0] - task handle. Handle of the task to start
  187. IN[1] - mute/unmute
  188. ReturnCode - One of the ERR_CAPTURE_... */
  189. #define CX18_CPU_SET_AUDIO_MUTE (CPU_CMD_MASK_CAPTURE | 0x0014)
  190. /* Description: Set stream output type
  191. IN[0] - task handle. Handle of the task to start
  192. IN[1] - subType
  193. SET_INITIAL_SCR 1
  194. SET_QUALITY_MODE 2
  195. SET_VIM_PROTECT_MODE 3
  196. SET_PTS_CORRECTION 4
  197. SET_USB_FLUSH_MODE 5
  198. SET_MERAQPAR_ENABLE 6
  199. SET_NAV_PACK_INSERTION 7
  200. SET_SCENE_CHANGE_ENABLE 8
  201. IN[2] - parameter 1
  202. IN[3] - parameter 2
  203. ReturnCode - One of the ERR_CAPTURE_... */
  204. #define CX18_CPU_SET_MISC_PARAMETERS (CPU_CMD_MASK_CAPTURE | 0x0015)
  205. /* Description: Set raw VBI parameters
  206. IN[0] - Task handle
  207. IN[1] - No. of input lines per field:
  208. bit[15:0]: field 1,
  209. bit[31:16]: field 2
  210. IN[2] - No. of input bytes per line
  211. IN[3] - No. of output frames per transfer
  212. IN[4] - start code
  213. IN[5] - stop code
  214. ReturnCode */
  215. #define CX18_CPU_SET_RAW_VBI_PARAM (CPU_CMD_MASK_CAPTURE | 0x0016)
  216. /* Description: Set capture line No.
  217. IN[0] - task handle. Handle of the task to start
  218. IN[1] - height1
  219. IN[2] - height2
  220. ReturnCode - One of the ERR_CAPTURE_... */
  221. #define CX18_CPU_SET_CAPTURE_LINE_NO (CPU_CMD_MASK_CAPTURE | 0x0017)
  222. /* Description: Set copyright
  223. IN[0] - task handle. Handle of the task to start
  224. IN[1] - copyright
  225. ReturnCode - One of the ERR_CAPTURE_... */
  226. #define CX18_CPU_SET_COPYRIGHT (CPU_CMD_MASK_CAPTURE | 0x0018)
  227. /* Description: Set audio PID
  228. IN[0] - task handle. Handle of the task to start
  229. IN[1] - PID
  230. ReturnCode - One of the ERR_CAPTURE_... */
  231. #define CX18_CPU_SET_AUDIO_PID (CPU_CMD_MASK_CAPTURE | 0x0019)
  232. /* Description: Set video PID
  233. IN[0] - task handle. Handle of the task to start
  234. IN[1] - PID
  235. ReturnCode - One of the ERR_CAPTURE_... */
  236. #define CX18_CPU_SET_VIDEO_PID (CPU_CMD_MASK_CAPTURE | 0x001A)
  237. /* Description: Set Vertical Crop Line
  238. IN[0] - task handle. Handle of the task to start
  239. IN[1] - Line
  240. ReturnCode - One of the ERR_CAPTURE_... */
  241. #define CX18_CPU_SET_VER_CROP_LINE (CPU_CMD_MASK_CAPTURE | 0x001B)
  242. /* Description: Set COP structure
  243. IN[0] - task handle. Handle of the task to start
  244. IN[1] - M
  245. IN[2] - N
  246. ReturnCode - One of the ERR_CAPTURE_... */
  247. #define CX18_CPU_SET_GOP_STRUCTURE (CPU_CMD_MASK_CAPTURE | 0x001C)
  248. /* Description: Set Scene Change Detection
  249. IN[0] - task handle. Handle of the task to start
  250. IN[1] - scene change
  251. ReturnCode - One of the ERR_CAPTURE_... */
  252. #define CX18_CPU_SET_SCENE_CHANGE_DETECTION (CPU_CMD_MASK_CAPTURE | 0x001D)
  253. /* Description: Set Aspect Ratio
  254. IN[0] - task handle. Handle of the task to start
  255. IN[1] - AspectRatio
  256. ReturnCode - One of the ERR_CAPTURE_... */
  257. #define CX18_CPU_SET_ASPECT_RATIO (CPU_CMD_MASK_CAPTURE | 0x001E)
  258. /* Description: Set Skip Input Frame
  259. IN[0] - task handle. Handle of the task to start
  260. IN[1] - skip input frames
  261. ReturnCode - One of the ERR_CAPTURE_... */
  262. #define CX18_CPU_SET_SKIP_INPUT_FRAME (CPU_CMD_MASK_CAPTURE | 0x001F)
  263. /* Description: Set sliced VBI parameters -
  264. Note This API will only apply to MPEG and Sliced VBI Channels
  265. IN[0] - Task handle
  266. IN[1] - output type, 0 - CC, 1 - Moji, 2 - Teletext
  267. IN[2] - start / stop line
  268. bit[15:0] start line number
  269. bit[31:16] stop line number
  270. IN[3] - number of output frames per interrupt
  271. IN[4] - VBI insertion mode
  272. bit 0: output user data, 1 - enable
  273. bit 1: output private stream, 1 - enable
  274. bit 2: mux option, 0 - in GOP, 1 - in picture
  275. bit[7:0] private stream ID
  276. IN[5] - insertion period while mux option is in picture
  277. ReturnCode - VBI data offset */
  278. #define CX18_CPU_SET_SLICED_VBI_PARAM (CPU_CMD_MASK_CAPTURE | 0x0020)
  279. /* Description: Set the user data place holder
  280. IN[0] - type of data (0 for user)
  281. IN[1] - Stuffing period
  282. IN[2] - ID data size in word (less than 10)
  283. IN[3] - Pointer to ID buffer */
  284. #define CX18_CPU_SET_USERDATA_PLACE_HOLDER (CPU_CMD_MASK_CAPTURE | 0x0021)
  285. /* Description:
  286. In[0] Task Handle
  287. return parameter:
  288. Out[0] Reserved
  289. Out[1] Video PTS bit[32:2] of last output video frame.
  290. Out[2] Video PTS bit[ 1:0] of last output video frame.
  291. Out[3] Hardware Video PTS counter bit[31:0],
  292. these bits get incremented on every 90kHz clock tick.
  293. Out[4] Hardware Video PTS counter bit32,
  294. these bits get incremented on every 90kHz clock tick.
  295. ReturnCode */
  296. #define CX18_CPU_GET_ENC_PTS (CPU_CMD_MASK_CAPTURE | 0x0022)
  297. /* Description: Set VFC parameters
  298. IN[0] - task handle
  299. IN[1] - VFC enable flag, 1 - enable, 0 - disable
  300. */
  301. #define CX18_CPU_SET_VFC_PARAM (CPU_CMD_MASK_CAPTURE | 0x0023)
  302. /* Below is the list of commands related to the data exchange */
  303. #define CPU_CMD_MASK_DE (CPU_CMD_MASK | 0x040000)
  304. /* Description: This command provides the physical base address of the local
  305. DDR as viewed by EPU
  306. IN[0] - Physical offset where EPU has the local DDR mapped
  307. ReturnCode - One of the ERR_DE_... */
  308. #define CPU_CMD_DE_SetBase (CPU_CMD_MASK_DE | 0x0001)
  309. /* Description: This command provides the offsets in the device memory where
  310. the 2 cx18_mdl_ack blocks reside
  311. IN[0] - Task handle. Handle of the task to start
  312. IN[1] - Offset of the first cx18_mdl_ack from the beginning of the
  313. local DDR.
  314. IN[2] - Offset of the second cx18_mdl_ack from the beginning of the
  315. local DDR.
  316. ReturnCode - One of the ERR_DE_... */
  317. #define CX18_CPU_DE_SET_MDL_ACK (CPU_CMD_MASK_DE | 0x0002)
  318. /* Description: This command provides the offset to a Memory Descriptor List
  319. IN[0] - Task handle. Handle of the task to start
  320. IN[1] - Offset of the MDL from the beginning of the local DDR.
  321. IN[2] - Number of cx18_mdl_ent structures in the array pointed to by IN[1]
  322. IN[3] - Buffer ID
  323. IN[4] - Total buffer length
  324. ReturnCode - One of the ERR_DE_... */
  325. #define CX18_CPU_DE_SET_MDL (CPU_CMD_MASK_DE | 0x0005)
  326. /* Description: This command requests return of all current Memory
  327. Descriptor Lists to the driver
  328. IN[0] - Task handle. Handle of the task to start
  329. ReturnCode - One of the ERR_DE_... */
  330. #define CX18_CPU_DE_RELEASE_MDL (CPU_CMD_MASK_DE | 0x0006)
  331. /* Description: This command signals the cpu that the dat buffer has been
  332. consumed and ready for re-use.
  333. IN[0] - Task handle. Handle of the task
  334. IN[1] - Offset of the data block from the beginning of the local DDR.
  335. IN[2] - Number of bytes in the data block
  336. ReturnCode - One of the ERR_DE_... */
  337. /* #define CX18_CPU_DE_RELEASE_BUFFER (CPU_CMD_MASK_DE | 0x0007) */
  338. /* No Error / Success */
  339. #define CNXT_OK 0x000000
  340. /* Received unknown command */
  341. #define CXERR_UNK_CMD 0x000001
  342. /* First parameter in the command is invalid */
  343. #define CXERR_INVALID_PARAM1 0x000002
  344. /* Second parameter in the command is invalid */
  345. #define CXERR_INVALID_PARAM2 0x000003
  346. /* Device interface is not open/found */
  347. #define CXERR_DEV_NOT_FOUND 0x000004
  348. /* Requested function is not implemented/available */
  349. #define CXERR_NOTSUPPORTED 0x000005
  350. /* Invalid pointer is provided */
  351. #define CXERR_BADPTR 0x000006
  352. /* Unable to allocate memory */
  353. #define CXERR_NOMEM 0x000007
  354. /* Object/Link not found */
  355. #define CXERR_LINK 0x000008
  356. /* Device busy, command cannot be executed */
  357. #define CXERR_BUSY 0x000009
  358. /* File/device/handle is not open. */
  359. #define CXERR_NOT_OPEN 0x00000A
  360. /* Value is out of range */
  361. #define CXERR_OUTOFRANGE 0x00000B
  362. /* Buffer overflow */
  363. #define CXERR_OVERFLOW 0x00000C
  364. /* Version mismatch */
  365. #define CXERR_BADVER 0x00000D
  366. /* Operation timed out */
  367. #define CXERR_TIMEOUT 0x00000E
  368. /* Operation aborted */
  369. #define CXERR_ABORT 0x00000F
  370. /* Specified I2C device not found for read/write */
  371. #define CXERR_I2CDEV_NOTFOUND 0x000010
  372. /* Error in I2C data xfer (but I2C device is present) */
  373. #define CXERR_I2CDEV_XFERERR 0x000011
  374. /* Chanel changing component not ready */
  375. #define CXERR_CHANNELNOTREADY 0x000012
  376. /* PPU (Presensation/Decoder) mail box is corrupted */
  377. #define CXERR_PPU_MB_CORRUPT 0x000013
  378. /* CPU (Capture/Encoder) mail box is corrupted */
  379. #define CXERR_CPU_MB_CORRUPT 0x000014
  380. /* APU (Audio) mail box is corrupted */
  381. #define CXERR_APU_MB_CORRUPT 0x000015
  382. /* Unable to open file for reading */
  383. #define CXERR_FILE_OPEN_READ 0x000016
  384. /* Unable to open file for writing */
  385. #define CXERR_FILE_OPEN_WRITE 0x000017
  386. /* Unable to find the I2C section specified */
  387. #define CXERR_I2C_BADSECTION 0x000018
  388. /* Error in I2C data xfer (but I2C device is present) */
  389. #define CXERR_I2CDEV_DATALOW 0x000019
  390. /* Error in I2C data xfer (but I2C device is present) */
  391. #define CXERR_I2CDEV_CLOCKLOW 0x00001A
  392. /* No Interrupt received from HW (for I2C access) */
  393. #define CXERR_NO_HW_I2C_INTR 0x00001B
  394. /* RPU is not ready to accept commands! */
  395. #define CXERR_RPU_NOT_READY 0x00001C
  396. /* RPU is not ready to accept commands! */
  397. #define CXERR_RPU_NO_ACK 0x00001D
  398. /* The are no buffers ready. Try again soon! */
  399. #define CXERR_NODATA_AGAIN 0x00001E
  400. /* The stream is stopping. Function not allowed now! */
  401. #define CXERR_STOPPING_STATUS 0x00001F
  402. /* Trying to access hardware when the power is turned OFF */
  403. #define CXERR_DEVPOWER_OFF 0x000020
  404. #endif /* CX23418_H */