Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/major.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
#include <asm/atarihw.h>
#include <asm/traps.h>
#include <asm/dsp56k.h>
Go to the source code of this file.
Data Structures | |
struct | dsp56k_device |
Macros | |
#define | DSP56K_DEV_56001 0 /* The only device so far */ |
#define | TIMEOUT 10 /* Host port timeout in number of tries */ |
#define | MAXIO 2048 /* Maximum number of words before sleep */ |
#define | DSP56K_MAX_BINARY_LENGTH (3*64*1024) |
#define | DSP56K_TX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_TREQ |
#define | DSP56K_RX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_RREQ |
#define | DSP56K_TX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_TREQ |
#define | DSP56K_RX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_RREQ |
#define | DSP56K_TRANSMIT (dsp56k_host_interface.isr & DSP56K_ISR_TXDE) |
#define | DSP56K_RECEIVE (dsp56k_host_interface.isr & DSP56K_ISR_RXDF) |
#define | handshake(count, maxio, timeout, ENABLE, f) |
#define | tx_wait(n) |
#define | rx_wait(n) |
Functions | |
module_init (dsp56k_init_driver) | |
module_exit (dsp56k_cleanup_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_FIRMWARE ("dsp56k/bootstrap.bin") | |
#define DSP56K_RECEIVE (dsp56k_host_interface.isr & DSP56K_ISR_RXDF) |
#define DSP56K_RX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_RREQ |
#define DSP56K_RX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_RREQ |
#define DSP56K_TRANSMIT (dsp56k_host_interface.isr & DSP56K_ISR_TXDE) |
#define DSP56K_TX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_TREQ |
#define DSP56K_TX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_TREQ |
#define MAXIO 2048 /* Maximum number of words before sleep */ |
#define rx_wait | ( | n | ) |
#define tx_wait | ( | n | ) |
module_exit | ( | dsp56k_cleanup_driver | ) |
MODULE_FIRMWARE | ( | "dsp56k/bootstrap.bin" | ) |
module_init | ( | dsp56k_init_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |