Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <asm/dma.h>
#include <asm/bfin_sport.h>
Go to the source code of this file.
Data Structures | |
struct | sport_device |
struct | sport_param |
Macros | |
#define | DESC_ELEMENT_COUNT 9 |
#define DESC_ELEMENT_COUNT 9 |
Definition at line 40 of file bf5xx-sport.h.
int sport_config_rx | ( | struct sport_device * | sport, |
unsigned int | rcr1, | ||
unsigned int | rcr2, | ||
unsigned int | clkdiv, | ||
unsigned int | fsdiv | ||
) |
Definition at line 93 of file bf5xx-sport.c.
int sport_config_rx_dma | ( | struct sport_device * | sport, |
void * | buf, | ||
int | fragcount, | ||
size_t | fragsize_bytes | ||
) |
Definition at line 389 of file bf5xx-sport.c.
int sport_config_tx | ( | struct sport_device * | sport, |
unsigned int | tcr1, | ||
unsigned int | tcr2, | ||
unsigned int | clkdiv, | ||
unsigned int | fsdiv | ||
) |
Definition at line 110 of file bf5xx-sport.c.
int sport_config_tx_dma | ( | struct sport_device * | sport, |
void * | buf, | ||
int | fragcount, | ||
size_t | fragsize_bytes | ||
) |
Definition at line 454 of file bf5xx-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_decfrag | ( | struct sport_device * | sport, |
int * | frag, | ||
int | tx | ||
) |
Definition at line 613 of file bf5xx-sport.c.
void sport_done | ( | struct sport_device * | sport | ) |
Definition at line 971 of file bf5xx-sport.c.
void sport_incfrag | ( | struct sport_device * | sport, |
int * | frag, | ||
int | tx | ||
) |
Definition at line 602 of file bf5xx-sport.c.
|
read |
Definition at line 847 of file bf5xx-sport.c.
int sport_rx_start | ( | struct sport_device * | sport | ) |
Definition at line 245 of file bf5xx-sport.c.
int sport_rx_stop | ( | struct sport_device * | sport | ) |
Definition at line 274 of file bf5xx-sport.c.
Definition at line 1010 of file bf5xx-sport.c.
int sport_set_err_callback | ( | struct sport_device * | sport, |
void(*)(void *) | err_callback, | ||
void * | err_data | ||
) |
Definition at line 789 of file bf5xx-sport.c.
Definition at line 48 of file bf5xx-sport.c.
int 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_tx_callback | ( | struct sport_device * | sport, |
void(*)(void *) | tx_callback, | ||
void * | tx_data | ||
) |
Definition at line 778 of file bf5xx-sport.c.
int sport_tx_start | ( | struct sport_device * | sport | ) |
Definition at line 326 of file bf5xx-sport.c.
int sport_tx_stop | ( | struct sport_device * | sport | ) |
Definition at line 356 of file bf5xx-sport.c.