Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mal.c File Reference
#include <linux/delay.h>
#include <linux/slab.h>
#include "core.h"
#include <asm/dcr-regs.h>

Go to the source code of this file.

Functions

int __devinit mal_register_commac (struct mal_instance *mal, struct mal_commac *commac)
 
void mal_unregister_commac (struct mal_instance *mal, struct mal_commac *commac)
 
int mal_set_rcbs (struct mal_instance *mal, int channel, unsigned long size)
 
int mal_tx_bd_offset (struct mal_instance *mal, int channel)
 
int mal_rx_bd_offset (struct mal_instance *mal, int channel)
 
void mal_enable_tx_channel (struct mal_instance *mal, int channel)
 
void mal_disable_tx_channel (struct mal_instance *mal, int channel)
 
void mal_enable_rx_channel (struct mal_instance *mal, int channel)
 
void mal_disable_rx_channel (struct mal_instance *mal, int channel)
 
void mal_poll_add (struct mal_instance *mal, struct mal_commac *commac)
 
void mal_poll_del (struct mal_instance *mal, struct mal_commac *commac)
 
void mal_poll_disable (struct mal_instance *mal, struct mal_commac *commac)
 
void mal_poll_enable (struct mal_instance *mal, struct mal_commac *commac)
 
int mal_get_regs_len (struct mal_instance *mal)
 
voidmal_dump_regs (struct mal_instance *mal, void *buf)
 
int __init mal_init (void)
 
void mal_exit (void)
 

Function Documentation

void mal_disable_rx_channel ( struct mal_instance mal,
int  channel 
)

Definition at line 159 of file mal.c.

void mal_disable_tx_channel ( struct mal_instance mal,
int  channel 
)

Definition at line 130 of file mal.c.

void* mal_dump_regs ( struct mal_instance mal,
void buf 
)

Definition at line 486 of file mal.c.

void mal_enable_rx_channel ( struct mal_instance mal,
int  channel 
)

Definition at line 137 of file mal.c.

void mal_enable_tx_channel ( struct mal_instance mal,
int  channel 
)

Definition at line 116 of file mal.c.

void mal_exit ( void  )

Definition at line 806 of file mal.c.

int mal_get_regs_len ( struct mal_instance mal)

Definition at line 480 of file mal.c.

int __init mal_init ( void  )

Definition at line 801 of file mal.c.

void mal_poll_add ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 174 of file mal.c.

void mal_poll_del ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 190 of file mal.c.

void mal_poll_disable ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 372 of file mal.c.

void mal_poll_enable ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 382 of file mal.c.

int __devinit mal_register_commac ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 36 of file mal.c.

int mal_rx_bd_offset ( struct mal_instance mal,
int  channel 
)

Definition at line 110 of file mal.c.

int mal_set_rcbs ( struct mal_instance mal,
int  channel,
unsigned long  size 
)

Definition at line 85 of file mal.c.

int mal_tx_bd_offset ( struct mal_instance mal,
int  channel 
)

Definition at line 103 of file mal.c.

void mal_unregister_commac ( struct mal_instance mal,
struct mal_commac commac 
)

Definition at line 66 of file mal.c.