/linux-6.1.9/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.py | 17 def define_flag_field(event_name, field_name, delim): argument 18 flag_fields[event_name][field_name]['delim'] = delim 20 def define_flag_value(event_name, field_name, value, field_str): argument 21 flag_fields[event_name][field_name]['values'][value] = field_str 23 def define_symbolic_field(event_name, field_name): argument 27 def define_symbolic_value(event_name, field_name, value, field_str): argument 28 symbolic_fields[event_name][field_name]['values'][value] = field_str 30 def flag_str(event_name, field_name, value): argument 33 if flag_fields[event_name][field_name]: 35 for idx in sorted(flag_fields[event_name][field_name]['values']): [all …]
|
/linux-6.1.9/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.pm | 63 my ($event_name, $field_name, $value) = @_; 67 if ($flag_fields{$event_name}{$field_name}) { 69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) { 71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 75 if ($print_delim && $flag_fields{$event_name}{$field_name}{'delim'}) { 76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} "; 78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 90 my ($event_name, $field_name, $delim) = @_; 92 $flag_fields{$event_name}{$field_name}{"delim"} = $delim; 97 my ($event_name, $field_name, $value, $field_str) = @_; [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
D | hw_factory_dcn21.c | 60 #define SF_HPD(reg_name, field_name, post_fix)\ argument 61 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 67 #define SF(reg_name, field_name, post_fix)\ argument 68 .field_name = reg_name ## __ ## field_name ## post_fix 99 #define SF_DDC(reg_name, field_name, post_fix)\ argument 100 .field_name = reg_name ## __ ## field_name ## post_fix 139 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 140 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
D | hw_factory_dcn20.c | 62 #define SF_HPD(reg_name, field_name, post_fix)\ argument 63 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 69 #define SF(reg_name, field_name, post_fix)\ argument 70 .field_name = reg_name ## __ ## field_name ## post_fix 102 #define SF_DDC(reg_name, field_name, post_fix)\ argument 103 .field_name = reg_name ## __ ## field_name ## post_fix 156 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 157 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn30/ |
D | hw_factory_dcn30.c | 69 #define SF_HPD(reg_name, field_name, post_fix)\ argument 70 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 76 #define SF(reg_name, field_name, post_fix)\ argument 77 .field_name = reg_name ## __ ## field_name ## post_fix 109 #define SF_DDC(reg_name, field_name, post_fix)\ argument 110 .field_name = reg_name ## __ ## field_name ## post_fix 163 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 164 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn315/ |
D | hw_factory_dcn315.c | 66 #define SF_HPD(reg_name, field_name, post_fix)\ argument 67 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 73 #define SF(reg_name, field_name, post_fix)\ argument 74 .field_name = reg_name ## __ ## field_name ## post_fix 105 #define SF_DDC(reg_name, field_name, post_fix)\ argument 106 .field_name = reg_name ## __ ## field_name ## post_fix 157 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 158 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn32/ |
D | hw_factory_dcn32.c | 62 #define SF_HPD(reg_name, field_name, post_fix)\ argument 63 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 69 #define SF(reg_name, field_name, post_fix)\ argument 70 .field_name = reg_name ## __ ## field_name ## post_fix 101 #define SF_DDC(reg_name, field_name, post_fix)\ argument 102 .field_name = reg_name ## __ ## field_name ## post_fix 167 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 168 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dce120/ |
D | hw_factory_dce120.c | 46 #define SF_HPD(reg_name, field_name, post_fix)\ argument 47 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 50 #define SF_HPD(reg_name, field_name, post_fix)\ argument 51 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 96 #define SF_DDC(reg_name, field_name, post_fix)\ argument 97 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
D | hw_factory_dcn10.c | 47 #define SF_HPD(reg_name, field_name, post_fix)\ argument 48 .field_name = HPD0_ ## reg_name ## __ ## field_name ## post_fix 92 #define SF_DDC(reg_name, field_name, post_fix)\ argument 93 .field_name = reg_name ## __ ## field_name ## post_fix 128 #define SF_GENERIC(reg_name, field_name, post_fix)\ argument 129 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_hubbub.c | 37 #define FN(reg_name, field_name) \ argument 38 hubbub1->shifts->field_name, hubbub1->masks->field_name 47 #define FN(reg_name, field_name) \ argument 48 hubbub1->shifts->field_name, hubbub1->masks->field_name
|
D | dcn301_hwseq.c | 39 #define FN(reg_name, field_name) \ argument 40 hws->shifts->field_name, hws->masks->field_name
|
D | dcn301_dccg.c | 37 #define FN(reg_name, field_name) \ argument 38 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hubbub.c | 40 #define FN(reg_name, field_name) \ argument 41 hubbub1->shifts->field_name, hubbub1->masks->field_name 50 #define FN(reg_name, field_name) \ argument 51 hubbub1->shifts->field_name, hubbub1->masks->field_name
|
D | dcn201_opp.h | 33 #define OPP_SF(reg_name, field_name, post_fix)\ argument 34 .field_name = reg_name ## __ ## field_name ## post_fix
|
D | dcn201_opp.c | 34 #define FN(reg_name, field_name) \ argument 35 oppn201->opp_shift->field_name, oppn201->opp_mask->field_name
|
D | dcn201_dccg.c | 38 #define FN(reg_name, field_name) \ argument 39 dccg_dcn->dccg_shift->field_name, dccg_dcn->dccg_mask->field_name
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/dce110/ |
D | hw_factory_dce110.c | 42 #define SF_HPD(reg_name, field_name, post_fix)\ argument 43 .field_name = reg_name ## __ ## field_name ## post_fix 79 #define SF_DDC(reg_name, field_name, post_fix)\ argument 80 .field_name = reg_name ## __ ## field_name ## post_fix
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_hwseq.c | 23 #define FN(reg_name, field_name) \ argument 24 hws->shifts->field_name, hws->masks->field_name
|
/linux-6.1.9/drivers/clk/bcm/ |
D | clk-kona-setup.c | 171 static bool bit_posn_valid(u32 bit_posn, const char *field_name, in bit_posn_valid() argument 178 field_name, clock_name, bit_posn, limit); in bit_posn_valid() 191 static bool bitfield_valid(u32 shift, u32 width, const char *field_name, in bitfield_valid() argument 198 field_name, clock_name); in bitfield_valid() 203 field_name, clock_name, shift, width, limit); in bitfield_valid() 245 static bool gate_valid(struct bcm_clk_gate *gate, const char *field_name, in gate_valid() argument 283 static bool sel_valid(struct bcm_clk_sel *sel, const char *field_name, in sel_valid() argument 286 if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name)) in sel_valid() 327 static bool div_valid(struct bcm_clk_div *div, const char *field_name, in div_valid() argument 334 field_name, clock_name); in div_valid() [all …]
|
/linux-6.1.9/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 77 const char *field_name, in define_symbolic_value() argument 91 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_value() 106 const char *field_name) in define_symbolic_values() argument 108 define_symbolic_value(ev_name, field_name, field->value, field->str); in define_symbolic_values() 110 define_symbolic_values(field->next, ev_name, field_name); in define_symbolic_values() 114 const char *field_name) in define_symbolic_field() argument 123 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_field() 135 const char *field_name, in define_flag_value() argument 149 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_flag_value() 164 const char *field_name) in define_flag_values() argument [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser_helper.c | 54 #define FN(reg_name, field_name) \ argument 55 ATOM_ ## field_name ## _SHIFT, ATOM_ ## field_name
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dccg.h | 51 #define DCCG_SF(reg_name, field_name, post_fix)\ argument 52 .field_name = reg_name ## __ ## field_name ## post_fix 54 #define DCCG_SFI(reg_name, field_name, field_prefix, inst, post_fix)\ argument 55 ….field_prefix ## _ ## field_name[inst] = reg_name ## __ ## field_prefix ## inst ## _ ## field_name… 57 #define DCCG_SFII(block, reg_name, field_prefix, field_name, inst, post_fix)\ argument 58 ….field_prefix ## _ ## field_name[inst] = block ## inst ## _ ## reg_name ## __ ## field_prefix ## i…
|
D | dcn20_vmid.c | 38 #define FN(reg_name, field_name) \ argument 39 vmid->shifts->field_name, vmid->masks->field_name
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_ipp.c | 34 #define FN(reg_name, field_name) \ argument 35 ippn10->ipp_shift->field_name, ippn10->ipp_mask->field_name
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_vpg.c | 39 #define FN(reg_name, field_name) \ argument 40 vpg31->vpg_shift->field_name, vpg31->vpg_mask->field_name
|