Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
amisound.c File Reference
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/module.h>
#include <asm/amigahw.h>

Go to the source code of this file.

Macros

#define DATA_SIZE   ARRAY_SIZE(sine_data)
 
#define custom   amiga_custom
 
#define MAX_PERIOD   (65535)
 

Functions

 EXPORT_SYMBOL (amiga_audio_min_period)
 
 EXPORT_SYMBOL (amiga_audio_period)
 
void __init amiga_init_sound (void)
 
void amiga_mksound (unsigned int hz, unsigned int ticks)
 

Variables

volatile unsigned short amiga_audio_min_period = 124
 
unsigned short amiga_audio_period = MAX_PERIOD
 

Macro Definition Documentation

#define custom   amiga_custom

Definition at line 26 of file amisound.c.

#define DATA_SIZE   ARRAY_SIZE(sine_data)

Definition at line 24 of file amisound.c.

#define MAX_PERIOD   (65535)

Definition at line 36 of file amisound.c.

Function Documentation

void __init amiga_init_sound ( void  )

Definition at line 48 of file amisound.c.

void amiga_mksound ( unsigned int  hz,
unsigned int  ticks 
)

Definition at line 71 of file amisound.c.

EXPORT_SYMBOL ( amiga_audio_min_period  )
EXPORT_SYMBOL ( amiga_audio_period  )

Variable Documentation

volatile unsigned short amiga_audio_min_period = 124

Definition at line 33 of file amisound.c.

unsigned short amiga_audio_period = MAX_PERIOD

Definition at line 43 of file amisound.c.