sound/ppc/tumbler_volume.h

Source file repositories/reference/linux-study-clean/sound/ppc/tumbler_volume.h

File Facts

System
Linux kernel
Corpus path
sound/ppc/tumbler_volume.h
Extension
.h
Size
6752 bytes
Lines
252
Domain
Driver Families
Bucket
sound/ppc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

static const unsigned int master_volume_table[] = {
	0x00000015, 0x00000016,	0x00000017,
	0x00000019, 0x0000001a,	0x0000001c,
	0x0000001d, 0x0000001f,	0x00000021,
	0x00000023, 0x00000025,	0x00000027,
	0x00000029, 0x0000002c,	0x0000002e,
	0x00000031, 0x00000034,	0x00000037,
	0x0000003a, 0x0000003e,	0x00000042,
	0x00000045, 0x0000004a,	0x0000004e,
	0x00000053, 0x00000057,	0x0000005d,
	0x00000062, 0x00000068,	0x0000006e,
	0x00000075, 0x0000007b,	0x00000083,
	0x0000008b, 0x00000093,	0x0000009b,
	0x000000a5, 0x000000ae,	0x000000b9,
	0x000000c4, 0x000000cf,	0x000000dc,
	0x000000e9, 0x000000f6,	0x00000105,
	0x00000114, 0x00000125,	0x00000136,
	0x00000148, 0x0000015c,	0x00000171,
	0x00000186, 0x0000019e,	0x000001b6,
	0x000001d0, 0x000001eb,	0x00000209,
	0x00000227, 0x00000248,	0x0000026b,
	0x0000028f, 0x000002b6,	0x000002df,
	0x0000030b, 0x00000339,	0x0000036a,
	0x0000039e, 0x000003d5,	0x0000040f,
	0x0000044c, 0x0000048d,	0x000004d2,
	0x0000051c, 0x00000569,	0x000005bb,
	0x00000612, 0x0000066e,	0x000006d0,
	0x00000737, 0x000007a5,	0x00000818,
	0x00000893, 0x00000915,	0x0000099f,
	0x00000a31, 0x00000acc,	0x00000b6f,
	0x00000c1d, 0x00000cd5,	0x00000d97,
	0x00000e65, 0x00000f40,	0x00001027,
	0x0000111c, 0x00001220,	0x00001333,
	0x00001456, 0x0000158a,	0x000016d1,
	0x0000182b, 0x0000199a,	0x00001b1e,
	0x00001cb9, 0x00001e6d,	0x0000203a,
	0x00002223, 0x00002429,	0x0000264e,
	0x00002893, 0x00002afa,	0x00002d86,
	0x00003039, 0x00003314,	0x0000361b,
	0x00003950, 0x00003cb5,	0x0000404e,
	0x0000441d, 0x00004827,	0x00004c6d,
	0x000050f4, 0x000055c0,	0x00005ad5,
	0x00006037, 0x000065ea,	0x00006bf4,
	0x0000725a, 0x00007920,	0x0000804e,
	0x000087e8, 0x00008ff6,	0x0000987d,
	0x0000a186, 0x0000ab19,	0x0000b53c,
	0x0000bff9, 0x0000cb59,	0x0000d766,
	0x0000e429, 0x0000f1ae,	0x00010000,
	0x00010f2b, 0x00011f3d,	0x00013042,
	0x00014249, 0x00015562,	0x0001699c,
	0x00017f09, 0x000195bc,	0x0001adc6,
	0x0001c73d, 0x0001e237,	0x0001feca,
	0x00021d0e, 0x00023d1d,	0x00025f12,
	0x0002830b, 0x0002a925,	0x0002d182,
	0x0002fc42, 0x0003298b,	0x00035983,
	0x00038c53, 0x0003c225,	0x0003fb28,
	0x0004378b, 0x00047783,	0x0004bb44,
	0x0005030a, 0x00054f10,	0x00059f98,
	0x0005f4e5, 0x00064f40,	0x0006aef6,
	0x00071457, 0x00077fbb,	0x0007f17b,
};

/* treble table for TAS3001c */
/* 0 = -18 dB, 72 = 18 dB in 0.5 dB step */
static const unsigned int treble_volume_table[] = {
	0x96, 0x95, 0x94,
	0x93, 0x92, 0x91,
	0x90, 0x8f, 0x8e,
	0x8d, 0x8c, 0x8b,
	0x8a, 0x89, 0x88,
	0x87, 0x86, 0x85,
	0x84, 0x83, 0x82,
	0x81, 0x80, 0x7f,
	0x7e, 0x7d, 0x7c,
	0x7b, 0x7a, 0x79,
	0x78, 0x77, 0x76,
	0x75, 0x74, 0x73,
	0x72, 0x71, 0x70,
	0x6e, 0x6d, 0x6c,
	0x6b, 0x69, 0x68,
	0x66, 0x65, 0x63,
	0x62, 0x60, 0x5e,
	0x5c, 0x5a, 0x57,
	0x55, 0x52, 0x4f,
	0x4c, 0x49, 0x45,
	0x42, 0x3e, 0x3a,
	0x36, 0x32, 0x2d,
	0x28, 0x22, 0x1c,
	0x16, 0x10, 0x09,
	0x01,

Annotation

Implementation Notes