Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/mpc52xx.h>
#include "sram.h"
#include "bestcomm_priv.h"
#include "bestcomm.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "bestcomm-core" |
Functions | |
EXPORT_SYMBOL_GPL (bcom_eng) | |
struct bcom_task * | bcom_task_alloc (int bd_count, int bd_size, int priv_size) |
EXPORT_SYMBOL_GPL (bcom_task_alloc) | |
void | bcom_task_free (struct bcom_task *tsk) |
EXPORT_SYMBOL_GPL (bcom_task_free) | |
int | bcom_load_image (int task, u32 *task_image) |
EXPORT_SYMBOL_GPL (bcom_load_image) | |
void | bcom_set_initiator (int task, int initiator) |
EXPORT_SYMBOL_GPL (bcom_set_initiator) | |
void | bcom_enable (struct bcom_task *tsk) |
EXPORT_SYMBOL_GPL (bcom_enable) | |
void | bcom_disable (struct bcom_task *tsk) |
EXPORT_SYMBOL_GPL (bcom_disable) | |
MODULE_DEVICE_TABLE (of, mpc52xx_bcom_of_match) | |
subsys_initcall (mpc52xx_bcom_init) | |
module_exit (mpc52xx_bcom_exit) | |
MODULE_DESCRIPTION ("Freescale MPC52xx BestComm DMA") | |
MODULE_AUTHOR ("Sylvain Munaut <tnt@246tNt.com>") | |
MODULE_AUTHOR ("Andrey Volkov <[email protected]>") | |
MODULE_AUTHOR ("Dale Farnsworth <[email protected]>") | |
MODULE_LICENSE ("GPL v2") | |
Variables | |
struct bcom_engine * | bcom_eng = NULL |
#define DRIVER_NAME "bestcomm-core" |
Definition at line 30 of file bestcomm.c.
bcom_disable - Disable a BestComm task : The BestComm task structure
This function disable a given task, making sure it's not executed by the BestComm engine.
Definition at line 243 of file bestcomm.c.
bcom_enable - Enable a BestComm task : The BestComm task structure
This function makes sure the given task is enabled and can be run by the BestComm engine as needed
Definition at line 236 of file bestcomm.c.
Definition at line 139 of file bestcomm.c.
Definition at line 204 of file bestcomm.c.
Definition at line 50 of file bestcomm.c.
Definition at line 121 of file bestcomm.c.
EXPORT_SYMBOL_GPL | ( | bcom_eng | ) |
EXPORT_SYMBOL_GPL | ( | bcom_task_alloc | ) |
EXPORT_SYMBOL_GPL | ( | bcom_task_free | ) |
EXPORT_SYMBOL_GPL | ( | bcom_load_image | ) |
EXPORT_SYMBOL_GPL | ( | bcom_set_initiator | ) |
EXPORT_SYMBOL_GPL | ( | bcom_enable | ) |
EXPORT_SYMBOL_GPL | ( | bcom_disable | ) |
MODULE_AUTHOR | ( | "Sylvain Munaut <tnt@246tNt.com>" | ) |
MODULE_AUTHOR | ( | "Andrey Volkov <[email protected]>" | ) |
MODULE_AUTHOR | ( | "Dale Farnsworth <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Freescale MPC52xx BestComm DMA" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
mpc52xx_bcom_of_match | |||
) |
module_exit | ( | mpc52xx_bcom_exit | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
subsys_initcall | ( | mpc52xx_bcom_init | ) |
struct bcom_engine* bcom_eng = NULL |
Definition at line 40 of file bestcomm.c.