Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
bf6xx-sport.h File Reference
#include <linux/platform_device.h>
#include <asm/bfin_sport3.h>

Go to the source code of this file.

Data Structures

struct  sport_device
 
struct  sport_params
 

Functions

struct sport_devicesport_create (struct platform_device *pdev)
 
void sport_delete (struct sport_device *sport)
 
int sport_set_tx_params (struct sport_device *sport, struct sport_params *params)
 
int sport_set_rx_params (struct sport_device *sport, struct sport_params *params)
 
void sport_tx_start (struct sport_device *sport)
 
void sport_rx_start (struct sport_device *sport)
 
void sport_tx_stop (struct sport_device *sport)
 
void sport_rx_stop (struct sport_device *sport)
 
void sport_set_tx_callback (struct sport_device *sport, void(*tx_callback)(void *), void *tx_data)
 
void sport_set_rx_callback (struct sport_device *sport, void(*rx_callback)(void *), void *rx_data)
 
int sport_config_tx_dma (struct sport_device *sport, void *buf, int fragcount, size_t fragsize)
 
int sport_config_rx_dma (struct sport_device *sport, void *buf, int fragcount, size_t fragsize)
 
unsigned long sport_curr_offset_tx (struct sport_device *sport)
 
unsigned long sport_curr_offset_rx (struct sport_device *sport)
 

Function Documentation

int sport_config_rx_dma ( struct sport_device sport,
void buf,
int  fragcount,
size_t  fragsize 
)

Definition at line 389 of file bf5xx-sport.c.

int sport_config_tx_dma ( struct sport_device sport,
void buf,
int  fragcount,
size_t  fragsize 
)

Definition at line 454 of file bf5xx-sport.c.

struct sport_device* sport_create ( struct platform_device pdev)
read

Definition at line 384 of file bf6xx-sport.c.

unsigned long sport_curr_offset_rx ( struct sport_device sport)

Definition at line 586 of file bf5xx-sport.c.

unsigned long sport_curr_offset_tx ( struct sport_device sport)

Definition at line 594 of file bf5xx-sport.c.

void sport_delete ( struct sport_device sport)

Definition at line 414 of file bf6xx-sport.c.

void sport_rx_start ( struct sport_device sport)

Definition at line 245 of file bf5xx-sport.c.

void sport_rx_stop ( struct sport_device sport)

Definition at line 274 of file bf5xx-sport.c.

void sport_set_rx_callback ( struct sport_device sport,
void(*)(void *)  rx_callback,
void rx_data 
)

Definition at line 767 of file bf5xx-sport.c.

int sport_set_rx_params ( struct sport_device sport,
struct sport_params params 
)

Definition at line 45 of file bf6xx-sport.c.

void sport_set_tx_callback ( struct sport_device sport,
void(*)(void *)  tx_callback,
void tx_data 
)

Definition at line 778 of file bf5xx-sport.c.

int sport_set_tx_params ( struct sport_device sport,
struct sport_params params 
)

Definition at line 33 of file bf6xx-sport.c.

void sport_tx_start ( struct sport_device sport)

Definition at line 326 of file bf5xx-sport.c.

void sport_tx_stop ( struct sport_device sport)

Definition at line 356 of file bf5xx-sport.c.