Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
via.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <asm/bootinfo.h>
#include <asm/macintosh.h>
#include <asm/macints.h>
#include <asm/mac_via.h>
#include <asm/mac_psc.h>
#include <asm/mac_oss.h>

Go to the source code of this file.

Macros

#define TICK_SIZE   10000
 
#define MAC_CLOCK_TICK   (783300/HZ) /* ticks per HZ */
 
#define MAC_CLOCK_LOW   (MAC_CLOCK_TICK&0xFF)
 
#define MAC_CLOCK_HIGH   (MAC_CLOCK_TICK>>8)
 

Functions

 EXPORT_SYMBOL (via_alt_mapping)
 
void via_debug_dump (void)
 
void __init via_init (void)
 
void __init via_init_clock (irq_handler_t func)
 
unsigned long mac_gettimeoffset (void)
 
void via_flush_cache (void)
 
int via_get_cache_disable (void)
 
void __init via_nubus_init (void)
 
void via_nubus_irq_startup (int irq)
 
void via_nubus_irq_shutdown (int irq)
 
void via1_irq (unsigned int irq, struct irq_desc *desc)
 
void via_nubus_irq (unsigned int irq, struct irq_desc *desc)
 
void __init via_register_interrupts (void)
 
void via_irq_enable (int irq)
 
void via_irq_disable (int irq)
 
void via1_set_head (int head)
 
 EXPORT_SYMBOL (via1_set_head)
 
int via2_scsi_drq_pending (void)
 
 EXPORT_SYMBOL (via2_scsi_drq_pending)
 

Variables

volatile __u8via1
 
volatile __u8via2
 
int rbv_present
 
int via_alt_mapping
 

Macro Definition Documentation

#define MAC_CLOCK_HIGH   (MAC_CLOCK_TICK>>8)

Definition at line 64 of file via.c.

#define MAC_CLOCK_LOW   (MAC_CLOCK_TICK&0xFF)

Definition at line 63 of file via.c.

#define MAC_CLOCK_TICK   (783300/HZ) /* ticks per HZ */

Definition at line 62 of file via.c.

#define TICK_SIZE   10000

Definition at line 61 of file via.c.

Function Documentation

EXPORT_SYMBOL ( via_alt_mapping  )
EXPORT_SYMBOL ( via1_set_head  )
EXPORT_SYMBOL ( via2_scsi_drq_pending  )
unsigned long mac_gettimeoffset ( void  )

Definition at line 330 of file via.c.

void via1_irq ( unsigned int  irq,
struct irq_desc desc 
)

Definition at line 450 of file via.c.

void via1_set_head ( int  head)

Definition at line 609 of file via.c.

int via2_scsi_drq_pending ( void  )

Definition at line 618 of file via.c.

void via_debug_dump ( void  )

Definition at line 301 of file via.c.

void via_flush_cache ( void  )

Definition at line 352 of file via.c.

int via_get_cache_disable ( void  )

Definition at line 362 of file via.c.

void __init via_init ( void  )

Definition at line 123 of file via.c.

void __init via_init_clock ( irq_handler_t  func)

Definition at line 285 of file via.c.

void via_irq_disable ( int  irq)

Definition at line 582 of file via.c.

void via_irq_enable ( int  irq)

Definition at line 550 of file via.c.

void __init via_nubus_init ( void  )

Definition at line 377 of file via.c.

void via_nubus_irq ( unsigned int  irq,
struct irq_desc desc 
)

Definition at line 497 of file via.c.

void via_nubus_irq_shutdown ( int  irq)

Definition at line 431 of file via.c.

void via_nubus_irq_startup ( int  irq)

Definition at line 409 of file via.c.

void __init via_register_interrupts ( void  )

Definition at line 536 of file via.c.

Variable Documentation

int rbv_present

Definition at line 41 of file via.c.

volatile __u8* via1

Definition at line 40 of file via.c.

volatile __u8 * via2

Definition at line 40 of file via.c.

int via_alt_mapping

Definition at line 42 of file via.c.