Lines Matching +full:0 +full:x10000003
13 #define PS3AV_VERSION 0x205 /* version of ps3av command */
15 #define PS3AV_CID_AV_INIT 0x00000001
16 #define PS3AV_CID_AV_FIN 0x00000002
17 #define PS3AV_CID_AV_GET_HW_CONF 0x00000003
18 #define PS3AV_CID_AV_GET_MONITOR_INFO 0x00000004
19 #define PS3AV_CID_AV_ENABLE_EVENT 0x00000006
20 #define PS3AV_CID_AV_DISABLE_EVENT 0x00000007
21 #define PS3AV_CID_AV_TV_MUTE 0x0000000a
23 #define PS3AV_CID_AV_VIDEO_CS 0x00010001
24 #define PS3AV_CID_AV_VIDEO_MUTE 0x00010002
25 #define PS3AV_CID_AV_VIDEO_DISABLE_SIG 0x00010003
26 #define PS3AV_CID_AV_AUDIO_PARAM 0x00020001
27 #define PS3AV_CID_AV_AUDIO_MUTE 0x00020002
28 #define PS3AV_CID_AV_HDMI_MODE 0x00040001
30 #define PS3AV_CID_VIDEO_INIT 0x01000001
31 #define PS3AV_CID_VIDEO_MODE 0x01000002
32 #define PS3AV_CID_VIDEO_FORMAT 0x01000004
33 #define PS3AV_CID_VIDEO_PITCH 0x01000005
35 #define PS3AV_CID_AUDIO_INIT 0x02000001
36 #define PS3AV_CID_AUDIO_MODE 0x02000002
37 #define PS3AV_CID_AUDIO_MUTE 0x02000003
38 #define PS3AV_CID_AUDIO_ACTIVE 0x02000004
39 #define PS3AV_CID_AUDIO_INACTIVE 0x02000005
40 #define PS3AV_CID_AUDIO_SPDIF_BIT 0x02000006
41 #define PS3AV_CID_AUDIO_CTRL 0x02000007
43 #define PS3AV_CID_EVENT_UNPLUGGED 0x10000001
44 #define PS3AV_CID_EVENT_PLUGGED 0x10000002
45 #define PS3AV_CID_EVENT_HDCP_DONE 0x10000003
46 #define PS3AV_CID_EVENT_HDCP_FAIL 0x10000004
47 #define PS3AV_CID_EVENT_HDCP_AUTH 0x10000005
48 #define PS3AV_CID_EVENT_HDCP_ERROR 0x10000006
50 #define PS3AV_CID_AVB_PARAM 0x04000001
61 #define PS3AV_AVB_NUM_AUDIO 0 /* not supported */
68 #define PS3AV_CMD_EVENT_BIT_UNPLUGGED (1 << 0)
77 #define PS3AV_CMD_MUTE_OFF 0x0000
78 #define PS3AV_CMD_MUTE_ON 0x0001
80 #define PS3AV_CMD_AVPORT_HDMI_0 0x0000
81 #define PS3AV_CMD_AVPORT_HDMI_1 0x0001
82 #define PS3AV_CMD_AVPORT_AVMULTI_0 0x0010
83 #define PS3AV_CMD_AVPORT_SPDIF_0 0x0020
84 #define PS3AV_CMD_AVPORT_SPDIF_1 0x0021
88 #define PS3AV_CMD_AV_MCLK_128 0x0000
89 #define PS3AV_CMD_AV_MCLK_256 0x0001
90 #define PS3AV_CMD_AV_MCLK_512 0x0003
92 #define PS3AV_CMD_AV_INPUTLEN_16 0x02
93 #define PS3AV_CMD_AV_INPUTLEN_20 0x0a
94 #define PS3AV_CMD_AV_INPUTLEN_24 0x0b
96 #define PS3AV_CMD_AV_LAYOUT_32 (1 << 0)
104 #define PS3AV_CMD_AV_HDMI_MODE_NORMAL 0xff
105 #define PS3AV_CMD_AV_HDMI_HDCP_OFF 0x01
106 #define PS3AV_CMD_AV_HDMI_EDID_PASS 0x80
107 #define PS3AV_CMD_AV_HDMI_DVI 0x40
111 #define PS3AV_CMD_VIDEO_HEAD_A 0x0000
112 #define PS3AV_CMD_VIDEO_HEAD_B 0x0001
114 #define PS3AV_CMD_VIDEO_CS_NONE 0x0000
115 #define PS3AV_CMD_VIDEO_CS_RGB_8 0x0001
116 #define PS3AV_CMD_VIDEO_CS_YUV444_8 0x0002
117 #define PS3AV_CMD_VIDEO_CS_YUV422_8 0x0003
118 #define PS3AV_CMD_VIDEO_CS_XVYCC_8 0x0004
119 #define PS3AV_CMD_VIDEO_CS_RGB_10 0x0005
120 #define PS3AV_CMD_VIDEO_CS_YUV444_10 0x0006
121 #define PS3AV_CMD_VIDEO_CS_YUV422_10 0x0007
122 #define PS3AV_CMD_VIDEO_CS_XVYCC_10 0x0008
123 #define PS3AV_CMD_VIDEO_CS_RGB_12 0x0009
124 #define PS3AV_CMD_VIDEO_CS_YUV444_12 0x000a
125 #define PS3AV_CMD_VIDEO_CS_YUV422_12 0x000b
126 #define PS3AV_CMD_VIDEO_CS_XVYCC_12 0x000c
128 #define PS3AV_CMD_VIDEO_VID_NONE 0x0000
129 #define PS3AV_CMD_VIDEO_VID_480I 0x0001
130 #define PS3AV_CMD_VIDEO_VID_576I 0x0003
131 #define PS3AV_CMD_VIDEO_VID_480P 0x0005
132 #define PS3AV_CMD_VIDEO_VID_576P 0x0006
133 #define PS3AV_CMD_VIDEO_VID_1080I_60HZ 0x0007
134 #define PS3AV_CMD_VIDEO_VID_1080I_50HZ 0x0008
135 #define PS3AV_CMD_VIDEO_VID_720P_60HZ 0x0009
136 #define PS3AV_CMD_VIDEO_VID_720P_50HZ 0x000a
137 #define PS3AV_CMD_VIDEO_VID_1080P_60HZ 0x000b
138 #define PS3AV_CMD_VIDEO_VID_1080P_50HZ 0x000c
139 #define PS3AV_CMD_VIDEO_VID_WXGA 0x000d
140 #define PS3AV_CMD_VIDEO_VID_SXGA 0x000e
141 #define PS3AV_CMD_VIDEO_VID_WUXGA 0x000f
142 #define PS3AV_CMD_VIDEO_VID_480I_A 0x0010
144 #define PS3AV_CMD_VIDEO_FORMAT_BLACK 0x0000
145 #define PS3AV_CMD_VIDEO_FORMAT_ARGB_8BIT 0x0007
147 #define PS3AV_CMD_VIDEO_ORDER_RGB 0x0000
148 #define PS3AV_CMD_VIDEO_ORDER_BGR 0x0001
150 #define PS3AV_CMD_VIDEO_FMT_X8R8G8B8 0x0000
152 #define PS3AV_CMD_VIDEO_OUT_FORMAT_RGB_12BIT 0x0000
154 #define PS3AV_CMD_VIDEO_CL_CNV_ENABLE_LUT 0x0000
155 #define PS3AV_CMD_VIDEO_CL_CNV_DISABLE_LUT 0x0010
157 #define PS3AV_CMD_VIDEO_SYNC_VSYNC 0x0001
158 #define PS3AV_CMD_VIDEO_SYNC_CSYNC 0x0004
159 #define PS3AV_CMD_VIDEO_SYNC_HSYNC 0x0010
163 #define PS3AV_CMD_AUDIO_NUM_OF_CH_2 0x0000
164 #define PS3AV_CMD_AUDIO_NUM_OF_CH_3 0x0001
165 #define PS3AV_CMD_AUDIO_NUM_OF_CH_4 0x0002
166 #define PS3AV_CMD_AUDIO_NUM_OF_CH_5 0x0003
167 #define PS3AV_CMD_AUDIO_NUM_OF_CH_6 0x0004
168 #define PS3AV_CMD_AUDIO_NUM_OF_CH_7 0x0005
169 #define PS3AV_CMD_AUDIO_NUM_OF_CH_8 0x0006
171 #define PS3AV_CMD_AUDIO_FS_32K 0x0001
172 #define PS3AV_CMD_AUDIO_FS_44K 0x0002
173 #define PS3AV_CMD_AUDIO_FS_48K 0x0003
174 #define PS3AV_CMD_AUDIO_FS_88K 0x0004
175 #define PS3AV_CMD_AUDIO_FS_96K 0x0005
176 #define PS3AV_CMD_AUDIO_FS_176K 0x0006
177 #define PS3AV_CMD_AUDIO_FS_192K 0x0007
179 #define PS3AV_CMD_AUDIO_WORD_BITS_16 0x0001
180 #define PS3AV_CMD_AUDIO_WORD_BITS_20 0x0002
181 #define PS3AV_CMD_AUDIO_WORD_BITS_24 0x0003
183 #define PS3AV_CMD_AUDIO_FORMAT_PCM 0x0001
184 #define PS3AV_CMD_AUDIO_FORMAT_BITSTREAM 0x00ff
186 #define PS3AV_CMD_AUDIO_SOURCE_SERIAL 0x0000
187 #define PS3AV_CMD_AUDIO_SOURCE_SPDIF 0x0001
189 #define PS3AV_CMD_AUDIO_SWAP_0 0x0000
190 #define PS3AV_CMD_AUDIO_SWAP_1 0x0000
192 #define PS3AV_CMD_AUDIO_MAP_OUTPUT_0 0x0000
193 #define PS3AV_CMD_AUDIO_MAP_OUTPUT_1 0x0001
194 #define PS3AV_CMD_AUDIO_MAP_OUTPUT_2 0x0002
195 #define PS3AV_CMD_AUDIO_MAP_OUTPUT_3 0x0003
197 #define PS3AV_CMD_AUDIO_LAYOUT_2CH 0x0000
198 #define PS3AV_CMD_AUDIO_LAYOUT_6CH 0x000b /* LREClr */
199 #define PS3AV_CMD_AUDIO_LAYOUT_8CH 0x001f /* LREClrXY */
201 #define PS3AV_CMD_AUDIO_DOWNMIX_PERMITTED 0x0000
202 #define PS3AV_CMD_AUDIO_DOWNMIX_PROHIBITED 0x0001
205 #define PS3AV_CMD_AUDIO_PORT_HDMI_0 ( 1 << 0 )
212 #define PS3AV_CMD_AUDIO_CTRL_ID_DAC_RESET 0x0000
213 #define PS3AV_CMD_AUDIO_CTRL_ID_DAC_DE_EMPHASIS 0x0001
214 #define PS3AV_CMD_AUDIO_CTRL_ID_AVCLK 0x0002
215 /* audio_ctrl_data[0] reset */
216 #define PS3AV_CMD_AUDIO_CTRL_RESET_NEGATE 0x0000
217 #define PS3AV_CMD_AUDIO_CTRL_RESET_ASSERT 0x0001
218 /* audio_ctrl_data[0] de-emphasis */
219 #define PS3AV_CMD_AUDIO_CTRL_DE_EMPHASIS_OFF 0x0000
220 #define PS3AV_CMD_AUDIO_CTRL_DE_EMPHASIS_ON 0x0001
221 /* audio_ctrl_data[0] avclk */
222 #define PS3AV_CMD_AUDIO_CTRL_AVCLK_22 0x0000
223 #define PS3AV_CMD_AUDIO_CTRL_AVCLK_18 0x0001
227 #define PS3AV_CMD_AV_VID_480I 0x0000
228 #define PS3AV_CMD_AV_VID_480P 0x0001
229 #define PS3AV_CMD_AV_VID_720P_60HZ 0x0002
230 #define PS3AV_CMD_AV_VID_1080I_60HZ 0x0003
231 #define PS3AV_CMD_AV_VID_1080P_60HZ 0x0004
232 #define PS3AV_CMD_AV_VID_576I 0x0005
233 #define PS3AV_CMD_AV_VID_576P 0x0006
234 #define PS3AV_CMD_AV_VID_720P_50HZ 0x0007
235 #define PS3AV_CMD_AV_VID_1080I_50HZ 0x0008
236 #define PS3AV_CMD_AV_VID_1080P_50HZ 0x0009
237 #define PS3AV_CMD_AV_VID_WXGA 0x000a
238 #define PS3AV_CMD_AV_VID_SXGA 0x000b
239 #define PS3AV_CMD_AV_VID_WUXGA 0x000c
242 #define PS3AV_CMD_AV_CS_RGB_8 0x0000
243 #define PS3AV_CMD_AV_CS_YUV444_8 0x0001
244 #define PS3AV_CMD_AV_CS_YUV422_8 0x0002
245 #define PS3AV_CMD_AV_CS_XVYCC_8 0x0003
246 #define PS3AV_CMD_AV_CS_RGB_10 0x0004
247 #define PS3AV_CMD_AV_CS_YUV444_10 0x0005
248 #define PS3AV_CMD_AV_CS_YUV422_10 0x0006
249 #define PS3AV_CMD_AV_CS_XVYCC_10 0x0007
250 #define PS3AV_CMD_AV_CS_RGB_12 0x0008
251 #define PS3AV_CMD_AV_CS_YUV444_12 0x0009
252 #define PS3AV_CMD_AV_CS_YUV422_12 0x000a
253 #define PS3AV_CMD_AV_CS_XVYCC_12 0x000b
254 #define PS3AV_CMD_AV_CS_8 0x0000
255 #define PS3AV_CMD_AV_CS_10 0x0001
256 #define PS3AV_CMD_AV_CS_12 0x0002
258 #define PS3AV_CMD_AV_DITHER_OFF 0x0000
259 #define PS3AV_CMD_AV_DITHER_ON 0x0001
260 #define PS3AV_CMD_AV_DITHER_8BIT 0x0000
261 #define PS3AV_CMD_AV_DITHER_10BIT 0x0002
262 #define PS3AV_CMD_AV_DITHER_12BIT 0x0004
264 #define PS3AV_CMD_AV_SUPER_WHITE_OFF 0x0000
265 #define PS3AV_CMD_AV_SUPER_WHITE_ON 0x0001
267 #define PS3AV_CMD_AV_ASPECT_16_9 0x0000
268 #define PS3AV_CMD_AV_ASPECT_4_3 0x0001
270 #define PS3AV_CMD_VIDEO_CS_RGB 0x0001
271 #define PS3AV_CMD_VIDEO_CS_YUV422 0x0002
272 #define PS3AV_CMD_VIDEO_CS_YUV444 0x0003
275 #define PS3AV_RESBIT_720x480P 0x0003 /* 0x0001 | 0x0002 */
276 #define PS3AV_RESBIT_720x576P 0x0003 /* 0x0001 | 0x0002 */
277 #define PS3AV_RESBIT_1280x720P 0x0004
278 #define PS3AV_RESBIT_1920x1080I 0x0008
279 #define PS3AV_RESBIT_1920x1080P 0x4000
290 #define PS3AV_RESBIT_VGA 0x0001
291 #define PS3AV_RESBIT_WXGA 0x0002
292 #define PS3AV_RESBIT_SXGA 0x0004
293 #define PS3AV_RESBIT_WUXGA 0x0008
304 PS3AV_MODE_AUTO = 0,
320 #define PS3AV_MODE_MASK 0x000F
321 #define PS3AV_MODE_HDCP_OFF 0x1000 /* Retail PS3 product doesn't support this */
322 #define PS3AV_MODE_DITHER 0x0800
323 #define PS3AV_MODE_COLOR 0x0400
324 #define PS3AV_MODE_WHITE 0x0200
325 #define PS3AV_MODE_FULL 0x0080
326 #define PS3AV_MODE_DVI 0x0040
327 #define PS3AV_MODE_RGB 0x0020
335 #define PS3AV_REGION_60 0x01
336 #define PS3AV_REGION_50 0x02
337 #define PS3AV_REGION_RGB 0x10
427 struct ps3av_info_audio audio[0]; /* 0 or more audio blocks */
673 #define PS3AV_STATUS_SUCCESS 0x0000 /* success */
674 #define PS3AV_STATUS_RECEIVE_VUART_ERROR 0x0001 /* receive vuart error */
675 #define PS3AV_STATUS_SYSCON_COMMUNICATE_FAIL 0x0002 /* syscon communication error */
676 #define PS3AV_STATUS_INVALID_COMMAND 0x0003 /* obsolete invalid CID */
677 #define PS3AV_STATUS_INVALID_PORT 0x0004 /* invalid port number */
678 #define PS3AV_STATUS_INVALID_VID 0x0005 /* invalid video format */
679 #define PS3AV_STATUS_INVALID_COLOR_SPACE 0x0006 /* invalid video colose space */
680 #define PS3AV_STATUS_INVALID_FS 0x0007 /* invalid audio sampling freq */
681 #define PS3AV_STATUS_INVALID_AUDIO_CH 0x0008 /* invalid audio channel number */
682 #define PS3AV_STATUS_UNSUPPORTED_VERSION 0x0009 /* version mismatch */
683 #define PS3AV_STATUS_INVALID_SAMPLE_SIZE 0x000a /* invalid audio sample bit size */
684 #define PS3AV_STATUS_FAILURE 0x000b /* other failures */
685 #define PS3AV_STATUS_UNSUPPORTED_COMMAND 0x000c /* unsupported cid */
686 #define PS3AV_STATUS_BUFFER_OVERFLOW 0x000d /* write buffer overflow */
687 #define PS3AV_STATUS_INVALID_VIDEO_PARAM 0x000e /* invalid video param */
688 #define PS3AV_STATUS_NO_SEL 0x000f /* not exist selector */
689 #define PS3AV_STATUS_INVALID_AV_PARAM 0x0010 /* invalid backend param */
690 #define PS3AV_STATUS_INVALID_AUDIO_PARAM 0x0011 /* invalid audio param */
691 #define PS3AV_STATUS_UNSUPPORTED_HDMI_MODE 0x0012 /* unsupported hdmi mode */
692 #define PS3AV_STATUS_NO_SYNC_HEAD 0x0013 /* sync head failed */