Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
macio-adb.c File Reference
#include <stdarg.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <asm/prom.h>
#include <linux/adb.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/hydra.h>
#include <asm/irq.h>
#include <linux/init.h>
#include <linux/ioport.h>

Go to the source code of this file.

Data Structures

struct  preg
 
struct  adb_regs
 

Macros

#define DFB   1 /* data from bus */
 
#define TAG   2 /* transfer access grant */
 
#define HMB   0x0f /* how many bytes */
 
#define APD   0x10 /* auto-poll data */
 
#define NRE   1 /* no response error */
 
#define DLE   2 /* data lost error */
 
#define TAR   1 /* transfer access request */
 
#define DTB   2 /* data to bus */
 
#define CRE   4 /* command response expected */
 
#define ADB_RST   8 /* ADB reset */
 
#define APE   1 /* autopoll enable */
 

Variables

struct adb_driver macio_adb_driver
 

Macro Definition Documentation

#define ADB_RST   8 /* ADB reset */

Definition at line 54 of file macio-adb.c.

#define APD   0x10 /* auto-poll data */

Definition at line 44 of file macio-adb.c.

#define APE   1 /* autopoll enable */

Definition at line 57 of file macio-adb.c.

#define CRE   4 /* command response expected */

Definition at line 53 of file macio-adb.c.

#define DFB   1 /* data from bus */

Definition at line 39 of file macio-adb.c.

#define DLE   2 /* data lost error */

Definition at line 48 of file macio-adb.c.

#define DTB   2 /* data to bus */

Definition at line 52 of file macio-adb.c.

#define HMB   0x0f /* how many bytes */

Definition at line 43 of file macio-adb.c.

#define NRE   1 /* no response error */

Definition at line 47 of file macio-adb.c.

#define TAG   2 /* transfer access grant */

Definition at line 40 of file macio-adb.c.

#define TAR   1 /* transfer access request */

Definition at line 51 of file macio-adb.c.

Variable Documentation

struct adb_driver macio_adb_driver
Initial value:
= {
"MACIO",
macio_probe,
macio_init,
macio_send_request,
macio_adb_autopoll,
macio_adb_poll,
macio_adb_reset_bus
}

Definition at line 71 of file macio-adb.c.