Lines Matching refs:datum
52 foreach my $datum ( @$data ) {
53 next unless exists $structures->{$datum->{name}};
54 $structure = $structures->{$datum->{name}};
61 $datum->{fields} = $fields;
67 foreach my $datum ( @$data ) {
69 $datum->{name}, hex ( $datum->{offset} );
70 if ( exists $datum->{fields} ) {
73 printf "struct %s_pb {\n", $datum->{name};
74 foreach my $field ( @{$datum->{fields}} ) {
76 die "Inconsistent LSB/RMASK in $datum->{name} before $field->{name}\n"
83 die "Missing RMASK in $datum->{name}.$field->{name}\n"
98 die "Inconsistent LSB/MSB/RMASK in $datum->{name}.$field->{name}\n"
105 die "Inconsistent LSB/RMASK in $datum->{name} final field\n"
111 $datum->{name}, $datum->{name};
113 printf "/* Default value: %s */\n", $datum->{default}
114 if defined $datum->{default};