Lines Matching refs:printf
48 printf("%-18s 0x%08x %s\n", # reg, dword, desc); \
194 /* printf("%-18s %8s %s\n\n", "register name", "raw value", "description"); */
259 printf("\nDetails:\n\n");
262 printf("AUD_VID_DID vendor id\t\t\t0x%x\n", dword >> 16);
263 printf("AUD_VID_DID device id\t\t\t0x%x\n", dword & 0xffff);
266 printf("AUD_RID major revision\t\t\t0x%lx\n", BITS(dword, 23, 20));
267 printf("AUD_RID minor revision\t\t\t0x%lx\n", BITS(dword, 19, 16));
268 printf("AUD_RID revision id\t\t\t0x%lx\n", BITS(dword, 15, 8));
269 printf("AUD_RID stepping id\t\t\t0x%lx\n", BITS(dword, 7, 0));
272 printf("SDVOB enable\t\t\t\t%u\n", !!(dword & SDVO_ENABLE));
273 printf("SDVOB HDMI encoding\t\t\t%u\n", !!(dword & SDVO_ENCODING_HDMI));
274 printf("SDVOB SDVO encoding\t\t\t%u\n", !!(dword & SDVO_ENCODING_SDVO));
275 printf("SDVOB null packets\t\t\t%u\n", !!(dword & SDVO_NULL_PACKETS_DURING_VSYNC));
276 printf("SDVOB audio enabled\t\t\t%u\n", !!(dword & SDVO_AUDIO_ENABLE));
279 printf("SDVOC enable\t\t\t\t%u\n", !!(dword & SDVO_ENABLE));
280 printf("SDVOC HDMI encoding\t\t\t%u\n", !!(dword & SDVO_ENCODING_HDMI));
281 printf("SDVOC SDVO encoding\t\t\t%u\n", !!(dword & SDVO_ENCODING_SDVO));
282 printf("SDVOC null packets\t\t\t%u\n", !!(dword & SDVO_NULL_PACKETS_DURING_VSYNC));
283 printf("SDVOC audio enabled\t\t\t%u\n", !!(dword & SDVO_AUDIO_ENABLE));
286 printf("PORT_HOTPLUG_EN DisplayPort/HDMI port B\t%ld\n", BIT(dword, 29)),
287 printf("PORT_HOTPLUG_EN DisplayPort/HDMI port C\t%ld\n", BIT(dword, 28)),
288 printf("PORT_HOTPLUG_EN DisplayPort port D\t%ld\n", BIT(dword, 27)),
289 printf("PORT_HOTPLUG_EN SDVOB\t\t\t%ld\n", BIT(dword, 26)),
290 printf("PORT_HOTPLUG_EN SDVOC\t\t\t%ld\n", BIT(dword, 25)),
291 printf("PORT_HOTPLUG_EN audio\t\t\t%ld\n", BIT(dword, 24)),
292 printf("PORT_HOTPLUG_EN TV\t\t\t%ld\n", BIT(dword, 23)),
293 printf("PORT_HOTPLUG_EN CRT\t\t\t%ld\n", BIT(dword, 9)),
296 printf("VIDEO_DIP_CTL enable graphics DIP\t%ld\n", BIT(dword, 31)),
297 printf("VIDEO_DIP_CTL port select\t\t[0x%lx] %s\n",
299 printf("VIDEO_DIP_CTL DIP buffer trans active\t%lu\n", BIT(dword, 28));
300 printf("VIDEO_DIP_CTL AVI DIP enabled\t\t%lu\n", BIT(dword, 21));
301 printf("VIDEO_DIP_CTL vendor DIP enabled\t%lu\n", BIT(dword, 22));
302 printf("VIDEO_DIP_CTL SPD DIP enabled\t\t%lu\n", BIT(dword, 24));
303 printf("VIDEO_DIP_CTL DIP buffer index\t\t[0x%lx] %s\n",
305 printf("VIDEO_DIP_CTL DIP trans freq\t\t[0x%lx] %s\n",
307 printf("VIDEO_DIP_CTL DIP buffer size\t\t%lu\n", BITS(dword, 11, 8));
308 printf("VIDEO_DIP_CTL DIP address\t\t%lu\n", BITS(dword, 3, 0));
311 printf("AUD_CONFIG pixel clock\t\t\t[0x%lx] %s\n", BITS(dword, 19, 16),
313 printf("AUD_CONFIG fabrication enabled\t\t%lu\n", BITS(dword, 2, 2));
314 printf("AUD_CONFIG professional use allowed\t%lu\n", BIT(dword, 1));
315 printf("AUD_CONFIG fuse enabled\t\t\t%lu\n", BIT(dword, 0));
318 printf("AUD_DEBUG function reset\t\t%lu\n", BIT(dword, 0));
321 printf("AUD_SUBN_CNT starting node number\t0x%lx\n", BITS(dword, 23, 16));
322 printf("AUD_SUBN_CNT total number of nodes\t0x%lx\n", BITS(dword, 7, 0));
325 printf("AUD_SUBN_CNT2 starting node number\t0x%lx\n", BITS(dword, 24, 16));
326 printf("AUD_SUBN_CNT2 total number of nodes\t0x%lx\n", BITS(dword, 7, 0));
329 printf("AUD_FUNC_GRP unsol capable\t\t%lu\n", BIT(dword, 8));
330 printf("AUD_FUNC_GRP node type\t\t\t0x%lx\n", BITS(dword, 7, 0));
333 printf("AUD_GRP_CAP beep 0\t\t\t%lu\n", BIT(dword, 16));
334 printf("AUD_GRP_CAP input delay\t\t\t%lu\n", BITS(dword, 11, 8));
335 printf("AUD_GRP_CAP output delay\t\t%lu\n", BITS(dword, 3, 0));
338 printf("AUD_PWRST device power state\t\t%s\n",
340 printf("AUD_PWRST device power state setting\t%s\n",
344 printf("AUD_SUPPWR support D0\t\t\t%lu\n", BIT(dword, 0));
345 printf("AUD_SUPPWR support D1\t\t\t%lu\n", BIT(dword, 1));
346 printf("AUD_SUPPWR support D2\t\t\t%lu\n", BIT(dword, 2));
347 printf("AUD_SUPPWR support D3\t\t\t%lu\n", BIT(dword, 3));
350 printf("AUD_OUT_CWCAP widget type\t\t0x%lx\n", BITS(dword, 23, 20));
351 printf("AUD_OUT_CWCAP sample delay\t\t0x%lx\n", BITS(dword, 19, 16));
352 printf("AUD_OUT_CWCAP channel count\t\t%lu\n",
354 printf("AUD_OUT_CWCAP L-R swap\t\t\t%lu\n", BIT(dword, 11));
355 printf("AUD_OUT_CWCAP power control\t\t%lu\n", BIT(dword, 10));
356 printf("AUD_OUT_CWCAP digital\t\t\t%lu\n", BIT(dword, 9));
357 printf("AUD_OUT_CWCAP conn list\t\t\t%lu\n", BIT(dword, 8));
358 printf("AUD_OUT_CWCAP unsol\t\t\t%lu\n", BIT(dword, 7));
359 printf("AUD_OUT_CWCAP mute\t\t\t%lu\n", BIT(dword, 5));
360 printf("AUD_OUT_CWCAP format override\t\t%lu\n", BIT(dword, 4));
361 printf("AUD_OUT_CWCAP amp param override\t%lu\n", BIT(dword, 3));
362 printf("AUD_OUT_CWCAP out amp present\t\t%lu\n", BIT(dword, 2));
363 printf("AUD_OUT_CWCAP in amp present\t\t%lu\n", BIT(dword, 1));
366 printf("AUD_OUT_DIG_CNVT SPDIF category\t\t0x%lx\n", BITS(dword, 14, 8));
367 printf("AUD_OUT_DIG_CNVT SPDIF level\t\t%lu\n", BIT(dword, 7));
368 printf("AUD_OUT_DIG_CNVT professional\t\t%lu\n", BIT(dword, 6));
369 printf("AUD_OUT_DIG_CNVT non PCM\t\t%lu\n", BIT(dword, 5));
370 printf("AUD_OUT_DIG_CNVT copyright asserted\t%lu\n", BIT(dword, 4));
371 printf("AUD_OUT_DIG_CNVT filter preemphasis\t%lu\n", BIT(dword, 3));
372 printf("AUD_OUT_DIG_CNVT validity config\t%lu\n", BIT(dword, 2));
373 printf("AUD_OUT_DIG_CNVT validity flag\t\t%lu\n", BIT(dword, 1));
374 printf("AUD_OUT_DIG_CNVT digital enable\t\t%lu\n", BIT(dword, 0));
377 printf("AUD_OUT_CH_STR stream id\t\t0x%lx\n", BITS(dword, 7, 4));
378 printf("AUD_OUT_CH_STR lowest channel\t\t0x%lx\n", BITS(dword, 3, 0));
381 printf("AUD_OUT_STR_DESC stream channels\t0x%lx\n", BITS(dword, 3, 0));
384 printf("AUD_PINW_CAP widget type\t\t0x%lx\n", BITS(dword, 23, 20));
385 printf("AUD_PINW_CAP sample delay\t\t0x%lx\n", BITS(dword, 19, 16));
386 printf("AUD_PINW_CAP channel count\t\t0x%lx\n",
388 printf("AUD_PINW_CAP HDCP\t\t\t%lu\n", BIT(dword, 12));
389 printf("AUD_PINW_CAP L-R swap\t\t\t%lu\n", BIT(dword, 11));
390 printf("AUD_PINW_CAP power control\t\t%lu\n", BIT(dword, 10));
391 printf("AUD_PINW_CAP digital\t\t\t%lu\n", BIT(dword, 9));
392 printf("AUD_PINW_CAP conn list\t\t\t%lu\n", BIT(dword, 8));
393 printf("AUD_PINW_CAP unsol\t\t\t%lu\n", BIT(dword, 7));
394 printf("AUD_PINW_CAP mute\t\t\t%lu\n", BIT(dword, 5));
395 printf("AUD_PINW_CAP format override\t\t%lu\n", BIT(dword, 4));
396 printf("AUD_PINW_CAP amp param override\t\t%lu\n", BIT(dword, 3));
397 printf("AUD_PINW_CAP out amp present\t\t%lu\n", BIT(dword, 2));
398 printf("AUD_PINW_CAP in amp present\t\t%lu\n", BIT(dword, 1));
402 printf("AUD_PIN_CAP EAPD\t\t\t%lu\n", BIT(dword, 16));
403 printf("AUD_PIN_CAP HDMI\t\t\t%lu\n", BIT(dword, 7));
404 printf("AUD_PIN_CAP output\t\t\t%lu\n", BIT(dword, 4));
405 printf("AUD_PIN_CAP presence detect\t\t%lu\n", BIT(dword, 2));
408 printf("AUD_PINW_CNTR mute status\t\t%lu\n", BIT(dword, 8));
409 printf("AUD_PINW_CNTR out enable\t\t%lu\n", BIT(dword, 6));
410 printf("AUD_PINW_CNTR amp mute status\t\t%lu\n", BIT(dword, 8));
411 printf("AUD_PINW_CNTR amp mute status\t\t%lu\n", BIT(dword, 8));
412 printf("AUD_PINW_CNTR stream type\t\t[0x%lx] %s\n",
417 printf("AUD_PINW_UNSOLRESP enable unsol resp\t%lu\n", BIT(dword, 31));
420 printf("AUD_CNTL_ST DIP audio enabled\t\t%lu\n", BIT(dword, 21));
421 printf("AUD_CNTL_ST DIP ACP enabled\t\t%lu\n", BIT(dword, 22));
422 printf("AUD_CNTL_ST DIP ISRCx enabled\t\t%lu\n", BIT(dword, 23));
423 printf("AUD_CNTL_ST DIP port select\t\t[0x%lx] %s\n",
425 printf("AUD_CNTL_ST DIP buffer index\t\t[0x%lx] %s\n",
427 printf("AUD_CNTL_ST DIP trans freq\t\t[0x%lx] %s\n",
429 printf("AUD_CNTL_ST DIP address\t\t\t%lu\n", BITS(dword, 3, 0));
430 printf("AUD_CNTL_ST CP ready\t\t\t%lu\n", BIT(dword, 15));
431 printf("AUD_CNTL_ST ELD valid\t\t\t%lu\n", BIT(dword, 14));
432 printf("AUD_CNTL_ST ELD ack\t\t\t%lu\n", BIT(dword, 4));
433 printf("AUD_CNTL_ST ELD bufsize\t\t\t%lu\n", BITS(dword, 13, 9));
434 printf("AUD_CNTL_ST ELD address\t\t\t%lu\n", BITS(dword, 8, 5));
437 printf("AUD_HDMIW_STATUS CDCLK/DOTCLK underrun\t%lu\n", BIT(dword, 31));
438 printf("AUD_HDMIW_STATUS CDCLK/DOTCLK overrun\t%lu\n", BIT(dword, 30));
439 printf("AUD_HDMIW_STATUS BCLK/CDCLK underrun\t%lu\n", BIT(dword, 29));
440 printf("AUD_HDMIW_STATUS BCLK/CDCLK overrun\t%lu\n", BIT(dword, 28));
443 printf("AUD_CONV_CHCNT HDMI HBR enabled\t\t%lu\n", BITS(dword, 15, 14));
444 printf("AUD_CONV_CHCNT HDMI channel count\t%lu\n", BITS(dword, 11, 8) + 1);
446 printf("AUD_CONV_CHCNT HDMI channel mapping:\n");
450 printf("\t\t\t\t\t[0x%x] %u => %lu \n", dword, i, BITS(dword, 7, 4));