mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-23 09:56:02 +00:00
intel_audio_dump: adjust code alignment
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com> Reviewed-by: Haihao Xiang <haihao.xiang@intel.com>
This commit is contained in:
parent
86d15e080d
commit
fa8c75028e
@ -1554,6 +1554,7 @@ static void dump_aud_pipe_conv_cfg(void)
|
||||
printf("AUD_PIPE_CONV_CFG Convertor_1_Stream_ID\t\t%lu\n", BITS(dword, 7, 4));
|
||||
printf("AUD_PIPE_CONV_CFG Convertor_2_Stream_ID\t\t%lu\n", BITS(dword, 11, 8));
|
||||
printf("AUD_PIPE_CONV_CFG Convertor_3_Stream_ID\t\t%lu\n", BITS(dword, 15, 12));
|
||||
|
||||
printf("AUD_PIPE_CONV_CFG Port_B_Out_Enable\t\t\t%lu\n", BIT(dword, 16));
|
||||
printf("AUD_PIPE_CONV_CFG Port_C_Out_Enable\t\t\t%lu\n", BIT(dword, 17));
|
||||
printf("AUD_PIPE_CONV_CFG Port_D_Out_Enable\t\t\t%lu\n", BIT(dword, 18));
|
||||
@ -1576,14 +1577,14 @@ static void dump_aud_dig_cnvt(int index)
|
||||
}
|
||||
|
||||
printf("%s V\t\t\t\t\t%lu\n", prefix, BIT(dword, 1));
|
||||
printf("%s VCFG\t\t\t\t\t%lu\n", prefix, BIT(dword, 2));
|
||||
printf("%s VCFG\t\t\t\t%lu\n", prefix, BIT(dword, 2));
|
||||
printf("%s PRE\t\t\t\t\t%lu\n", prefix, BIT(dword, 3));
|
||||
printf("%s Copy\t\t\t\t\t%lu\n", prefix, BIT(dword, 4));
|
||||
printf("%s Copy\t\t\t\t%lu\n", prefix, BIT(dword, 4));
|
||||
printf("%s NonAudio\t\t\t\t%lu\n", prefix, BIT(dword, 5));
|
||||
printf("%s PRO\t\t\t\t\t%lu\n", prefix, BIT(dword, 6));
|
||||
printf("%s Level\t\t\t\t\t%lu\n", prefix, BIT(dword, 7));
|
||||
printf("%s Category_Code\t\t\t\t%lu\n", prefix, BITS(dword, 14, 8));
|
||||
printf("%s Lowest_Channel_Number\t\t\t%lu\n", prefix, BITS(dword, 19, 16));
|
||||
printf("%s Level\t\t\t\t%lu\n", prefix, BIT(dword, 7));
|
||||
printf("%s Category_Code\t\t\t%lu\n", prefix, BITS(dword, 14, 8));
|
||||
printf("%s Lowest_Channel_Number\t\t%lu\n", prefix, BITS(dword, 19, 16));
|
||||
printf("%s Stream_ID\t\t\t\t%lu\n", prefix, BITS(dword, 23, 20));
|
||||
}
|
||||
|
||||
@ -1601,13 +1602,13 @@ static void dump_aud_str_desc(int index)
|
||||
sprintf(prefix, "AUD_C%c_STR_DESC ", '1' + index - CONVERTER_1);
|
||||
}
|
||||
|
||||
printf("%s Number_of_Channels_in_a_Stream\t\t%lu\n", prefix, 1 + BITS(dword, 3, 0));
|
||||
printf("%s Number_of_Channels_in_a_Stream\t%lu\n", prefix, BITS(dword, 3, 0) + 1);
|
||||
printf("%s Bits_per_Sample\t\t\t[%#lx] %s\n", prefix, BITS(dword, 6, 4),
|
||||
OPNAME(bits_per_sample, BITS(dword, 6, 4)));
|
||||
|
||||
printf("%s Sample_Base_Rate_Divisor\t\t[%#lx] %s\n", prefix, BITS(dword, 10, 8),
|
||||
OPNAME(sample_base_rate_divisor, BITS(dword, 10, 8)));
|
||||
printf("%s Sample_Base_Rate_Mult\t\t\t[%#lx] %s\n", prefix, BITS(dword, 13, 11),
|
||||
printf("%s Sample_Base_Rate_Mult\t\t[%#lx] %s\n", prefix, BITS(dword, 13, 11),
|
||||
OPNAME(sample_base_rate_mult, BITS(dword, 13, 11)));
|
||||
printf("%s Sample_Base_Rate\t\t\t[%#lx] %s\t", prefix, BIT(dword, 14),
|
||||
OPNAME(sample_base_rate, BIT(dword, 14)));
|
||||
@ -1647,8 +1648,8 @@ static void dump_aud_connect_list(void)
|
||||
dword = INREG(aud_reg_base + AUD_PINW_CONNLNG_LIST);
|
||||
sprintf(prefix, "AUD_PINW_CONNLNG_LIST");
|
||||
|
||||
printf("%s Connect_List_Length\t%lu\n", prefix, BITS(dword, 6, 0));
|
||||
printf("%s Form \t\t[%#lx] %s\n", prefix, BIT(dword, 7),
|
||||
printf("%s Connect_List_Length\t\t%lu\n", prefix, BITS(dword, 6, 0));
|
||||
printf("%s Form \t\t\t\t[%#lx] %s\n", prefix, BIT(dword, 7),
|
||||
OPNAME(connect_list_form, BIT(dword, 7)));
|
||||
printf("%s Connect_List_Entry\t\t%lu, %lu\n", prefix, BITS(dword, 15, 8), BITS(dword, 23, 16));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user