Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
control.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/macio.h>
#include <asm/pmac_feature.h>
#include <asm/pmac_pfunc.h>
#include <asm/keylargo.h>
#include "i2sbus.h"

Go to the source code of this file.

Functions

int i2sbus_control_init (struct macio_dev *dev, struct i2sbus_control **c)
 
void i2sbus_control_destroy (struct i2sbus_control *c)
 
int i2sbus_control_add_dev (struct i2sbus_control *c, struct i2sbus_dev *i2sdev)
 
void i2sbus_control_remove_dev (struct i2sbus_control *c, struct i2sbus_dev *i2sdev)
 
int i2sbus_control_enable (struct i2sbus_control *c, struct i2sbus_dev *i2sdev)
 
int i2sbus_control_cell (struct i2sbus_control *c, struct i2sbus_dev *i2sdev, int enable)
 
int i2sbus_control_clock (struct i2sbus_control *c, struct i2sbus_dev *i2sdev, int enable)
 

Function Documentation

int i2sbus_control_add_dev ( struct i2sbus_control c,
struct i2sbus_dev i2sdev 
)

Definition at line 40 of file control.c.

int i2sbus_control_cell ( struct i2sbus_control c,
struct i2sbus_dev i2sdev,
int  enable 
)

Definition at line 110 of file control.c.

int i2sbus_control_clock ( struct i2sbus_control c,
struct i2sbus_dev i2sdev,
int  enable 
)

Definition at line 153 of file control.c.

void i2sbus_control_destroy ( struct i2sbus_control c)

Definition at line 34 of file control.c.

int i2sbus_control_enable ( struct i2sbus_control c,
struct i2sbus_dev i2sdev 
)

Definition at line 83 of file control.c.

int i2sbus_control_init ( struct macio_dev *  dev,
struct i2sbus_control **  c 
)

Definition at line 22 of file control.c.

void i2sbus_control_remove_dev ( struct i2sbus_control c,
struct i2sbus_dev i2sdev 
)

Definition at line 74 of file control.c.