aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106_proc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 08:55:40 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:19:01 -0500
commite4a3d145455159955d6ac1df976b2ed2a135b858 (patch)
tree71a0a4f0a71d07d153d32d88430f21ac4efcdde7 /sound/pci/ca0106/ca0106_proc.c
parent2fd16874aa6322e8b61879a78f3b485999506833 (diff)
[ALSA] Remove xxx_t typedefs: PCI CA0106
Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ca0106/ca0106_proc.c')
-rw-r--r--sound/pci/ca0106/ca0106_proc.c60
1 files changed, 30 insertions, 30 deletions
diff --git a/sound/pci/ca0106/ca0106_proc.c b/sound/pci/ca0106/ca0106_proc.c
index 1c9cc821d1b9..94b622599386 100644
--- a/sound/pci/ca0106/ca0106_proc.c
+++ b/sound/pci/ca0106/ca0106_proc.c
@@ -97,7 +97,7 @@ static struct snd_ca0106_category_str snd_ca0106_con_category[] = {
97}; 97};
98 98
99 99
100static void snd_ca0106_proc_dump_iec958( snd_info_buffer_t *buffer, u32 value) 100static void snd_ca0106_proc_dump_iec958( struct snd_info_buffer *buffer, u32 value)
101{ 101{
102 int i; 102 int i;
103 u32 status[4]; 103 u32 status[4];
@@ -271,10 +271,10 @@ static void snd_ca0106_proc_dump_iec958( snd_info_buffer_t *buffer, u32 value)
271 } 271 }
272} 272}
273 273
274static void snd_ca0106_proc_iec958(snd_info_entry_t *entry, 274static void snd_ca0106_proc_iec958(struct snd_info_entry *entry,
275 snd_info_buffer_t * buffer) 275 struct snd_info_buffer *buffer)
276{ 276{
277 ca0106_t *emu = entry->private_data; 277 struct snd_ca0106 *emu = entry->private_data;
278 u32 value; 278 u32 value;
279 279
280 value = snd_ca0106_ptr_read(emu, SAMPLE_RATE_TRACKER_STATUS, 0); 280 value = snd_ca0106_ptr_read(emu, SAMPLE_RATE_TRACKER_STATUS, 0);
@@ -293,10 +293,10 @@ static void snd_ca0106_proc_iec958(snd_info_entry_t *entry,
293 snd_iprintf(buffer, "\n"); 293 snd_iprintf(buffer, "\n");
294} 294}
295 295
296static void snd_ca0106_proc_reg_write32(snd_info_entry_t *entry, 296static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry,
297 snd_info_buffer_t * buffer) 297 struct snd_info_buffer *buffer)
298{ 298{
299 ca0106_t *emu = entry->private_data; 299 struct snd_ca0106 *emu = entry->private_data;
300 unsigned long flags; 300 unsigned long flags;
301 char line[64]; 301 char line[64];
302 u32 reg, val; 302 u32 reg, val;
@@ -311,10 +311,10 @@ static void snd_ca0106_proc_reg_write32(snd_info_entry_t *entry,
311 } 311 }
312} 312}
313 313
314static void snd_ca0106_proc_reg_read32(snd_info_entry_t *entry, 314static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry,
315 snd_info_buffer_t * buffer) 315 struct snd_info_buffer *buffer)
316{ 316{
317 ca0106_t *emu = entry->private_data; 317 struct snd_ca0106 *emu = entry->private_data;
318 unsigned long value; 318 unsigned long value;
319 unsigned long flags; 319 unsigned long flags;
320 int i; 320 int i;
@@ -327,10 +327,10 @@ static void snd_ca0106_proc_reg_read32(snd_info_entry_t *entry,
327 } 327 }
328} 328}
329 329
330static void snd_ca0106_proc_reg_read16(snd_info_entry_t *entry, 330static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry,
331 snd_info_buffer_t * buffer) 331 struct snd_info_buffer *buffer)
332{ 332{
333 ca0106_t *emu = entry->private_data; 333 struct snd_ca0106 *emu = entry->private_data;
334 unsigned int value; 334 unsigned int value;
335 unsigned long flags; 335 unsigned long flags;
336 int i; 336 int i;
@@ -343,10 +343,10 @@ static void snd_ca0106_proc_reg_read16(snd_info_entry_t *entry,
343 } 343 }
344} 344}
345 345
346static void snd_ca0106_proc_reg_read8(snd_info_entry_t *entry, 346static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry,
347 snd_info_buffer_t * buffer) 347 struct snd_info_buffer *buffer)
348{ 348{
349 ca0106_t *emu = entry->private_data; 349 struct snd_ca0106 *emu = entry->private_data;
350 unsigned int value; 350 unsigned int value;
351 unsigned long flags; 351 unsigned long flags;
352 int i; 352 int i;
@@ -359,10 +359,10 @@ static void snd_ca0106_proc_reg_read8(snd_info_entry_t *entry,
359 } 359 }
360} 360}
361 361
362static void snd_ca0106_proc_reg_read1(snd_info_entry_t *entry, 362static void snd_ca0106_proc_reg_read1(struct snd_info_entry *entry,
363 snd_info_buffer_t * buffer) 363 struct snd_info_buffer *buffer)
364{ 364{
365 ca0106_t *emu = entry->private_data; 365 struct snd_ca0106 *emu = entry->private_data;
366 unsigned long value; 366 unsigned long value;
367 int i,j; 367 int i,j;
368 368
@@ -377,10 +377,10 @@ static void snd_ca0106_proc_reg_read1(snd_info_entry_t *entry,
377 } 377 }
378} 378}
379 379
380static void snd_ca0106_proc_reg_read2(snd_info_entry_t *entry, 380static void snd_ca0106_proc_reg_read2(struct snd_info_entry *entry,
381 snd_info_buffer_t * buffer) 381 struct snd_info_buffer *buffer)
382{ 382{
383 ca0106_t *emu = entry->private_data; 383 struct snd_ca0106 *emu = entry->private_data;
384 unsigned long value; 384 unsigned long value;
385 int i,j; 385 int i,j;
386 386
@@ -395,10 +395,10 @@ static void snd_ca0106_proc_reg_read2(snd_info_entry_t *entry,
395 } 395 }
396} 396}
397 397
398static void snd_ca0106_proc_reg_write(snd_info_entry_t *entry, 398static void snd_ca0106_proc_reg_write(struct snd_info_entry *entry,
399 snd_info_buffer_t * buffer) 399 struct snd_info_buffer *buffer)
400{ 400{
401 ca0106_t *emu = entry->private_data; 401 struct snd_ca0106 *emu = entry->private_data;
402 char line[64]; 402 char line[64];
403 unsigned int reg, channel_id , val; 403 unsigned int reg, channel_id , val;
404 while (!snd_info_get_line(buffer, line, sizeof(line))) { 404 while (!snd_info_get_line(buffer, line, sizeof(line))) {
@@ -409,10 +409,10 @@ static void snd_ca0106_proc_reg_write(snd_info_entry_t *entry,
409 } 409 }
410} 410}
411 411
412static void snd_ca0106_proc_i2c_write(snd_info_entry_t *entry, 412static void snd_ca0106_proc_i2c_write(struct snd_info_entry *entry,
413 snd_info_buffer_t * buffer) 413 struct snd_info_buffer *buffer)
414{ 414{
415 ca0106_t *emu = entry->private_data; 415 struct snd_ca0106 *emu = entry->private_data;
416 char line[64]; 416 char line[64];
417 unsigned int reg, val; 417 unsigned int reg, val;
418 while (!snd_info_get_line(buffer, line, sizeof(line))) { 418 while (!snd_info_get_line(buffer, line, sizeof(line))) {
@@ -424,9 +424,9 @@ static void snd_ca0106_proc_i2c_write(snd_info_entry_t *entry,
424 } 424 }
425} 425}
426 426
427int __devinit snd_ca0106_proc_init(ca0106_t * emu) 427int __devinit snd_ca0106_proc_init(struct snd_ca0106 * emu)
428{ 428{
429 snd_info_entry_t *entry; 429 struct snd_info_entry *entry;
430 430
431 if(! snd_card_proc_new(emu->card, "iec958", &entry)) 431 if(! snd_card_proc_new(emu->card, "iec958", &entry))
432 snd_info_set_text_ops(entry, emu, 1024, snd_ca0106_proc_iec958); 432 snd_info_set_text_ops(entry, emu, 1024, snd_ca0106_proc_iec958);