Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
iop.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/interrupt.h>
#include <asm/bootinfo.h>
#include <asm/macintosh.h>
#include <asm/macints.h>
#include <asm/mac_iop.h>

Go to the source code of this file.

Data Structures

struct  listener
 

Functions

irqreturn_t iop_ism_irq (int, void *)
 
void __init iop_preinit (void)
 
void __init iop_init (void)
 
void __init iop_register_interrupts (void)
 
int iop_listen (uint iop_num, uint chan, void(*handler)(struct iop_msg *), const char *devname)
 
void iop_complete_message (struct iop_msg *msg)
 
int iop_send_message (uint iop_num, uint chan, void *privdata, uint msg_len, __u8 *msg_data, void(*handler)(struct iop_msg *))
 
void iop_upload_code (uint iop_num, __u8 *code_start, uint code_len, __u16 shared_ram_start)
 
void iop_download_code (uint iop_num, __u8 *code_start, uint code_len, __u16 shared_ram_start)
 
__u8iop_compare_code (uint iop_num, __u8 *code_start, uint code_len, __u16 shared_ram_start)
 

Variables

int iop_scc_present
 
int iop_ism_present
 

Function Documentation

__u8* iop_compare_code ( uint  iop_num,
__u8 code_start,
uint  code_len,
__u16  shared_ram_start 
)

Definition at line 552 of file iop.c.

void iop_complete_message ( struct iop_msg msg)

Definition at line 347 of file iop.c.

void iop_download_code ( uint  iop_num,
__u8 code_start,
uint  code_len,
__u16  shared_ram_start 
)

Definition at line 534 of file iop.c.

void __init iop_init ( void  )

Definition at line 267 of file iop.c.

irqreturn_t iop_ism_irq ( int  irq,
void dev_id 
)

Definition at line 572 of file iop.c.

int iop_listen ( uint  iop_num,
uint  chan,
void(*)(struct iop_msg *)  handler,
const char devname 
)

Definition at line 329 of file iop.c.

void __init iop_preinit ( void  )

Definition at line 235 of file iop.c.

void __init iop_register_interrupts ( void  )

Definition at line 301 of file iop.c.

int iop_send_message ( uint  iop_num,
uint  chan,
void privdata,
uint  msg_len,
__u8 msg_data,
void(*)(struct iop_msg *)  handler 
)

Definition at line 478 of file iop.c.

void iop_upload_code ( uint  iop_num,
__u8 code_start,
uint  code_len,
__u16  shared_ram_start 
)

Definition at line 518 of file iop.c.

Variable Documentation

int iop_ism_present

Definition at line 123 of file iop.c.

int iop_scc_present

Definition at line 123 of file iop.c.