Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ste_modem_rproc.c File Reference
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/remoteproc.h>
#include <linux/ste_modem_shm.h>
#include "remoteproc_internal.h"

Go to the source code of this file.

Data Structures

struct  sproc
 
struct  ste_toc_entry
 
struct  ste_toc
 

Macros

#define SPROC_FW_SIZE   (50 * 4096)
 
#define SPROC_MAX_TOC_ENTRIES   32
 
#define SPROC_MAX_NOTIFY_ID   14
 
#define SPROC_RESOURCE_NAME   "rsc-table"
 
#define SPROC_MODEM_NAME   "ste-modem"
 
#define SPROC_MODEM_FIRMWARE   SPROC_MODEM_NAME "-fw.bin"
 
#define sproc_dbg(sproc, fmt,...)   dev_dbg(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__)
 
#define sproc_err(sproc, fmt,...)   dev_err(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__)
 

Functions

 module_platform_driver (sproc_driver)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DESCRIPTION ("STE Modem driver using the Remote Processor Framework")
 

Variables

struct rproc_fw_ops sproc_fw_ops
 
struct ste_modem_dev_cb sproc_dev_cb
 

Macro Definition Documentation

#define sproc_dbg (   sproc,
  fmt,
  ... 
)    dev_dbg(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__)

Definition at line 20 of file ste_modem_rproc.c.

#define sproc_err (   sproc,
  fmt,
  ... 
)    dev_err(&sproc->mdev->pdev.dev, fmt, ##__VA_ARGS__)

Definition at line 22 of file ste_modem_rproc.c.

#define SPROC_FW_SIZE   (50 * 4096)

Definition at line 13 of file ste_modem_rproc.c.

#define SPROC_MAX_NOTIFY_ID   14

Definition at line 15 of file ste_modem_rproc.c.

#define SPROC_MAX_TOC_ENTRIES   32

Definition at line 14 of file ste_modem_rproc.c.

#define SPROC_MODEM_FIRMWARE   SPROC_MODEM_NAME "-fw.bin"

Definition at line 18 of file ste_modem_rproc.c.

#define SPROC_MODEM_NAME   "ste-modem"

Definition at line 17 of file ste_modem_rproc.c.

#define SPROC_RESOURCE_NAME   "rsc-table"

Definition at line 16 of file ste_modem_rproc.c.

Function Documentation

MODULE_DESCRIPTION ( "STE Modem driver using the Remote Processor Framework"  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( sproc_driver  )

Variable Documentation

struct ste_modem_dev_cb sproc_dev_cb
Initial value:
= {
.kick = sproc_kick_callback,
}

Definition at line 181 of file ste_modem_rproc.c.

struct rproc_fw_ops sproc_fw_ops
Initial value:
= {
.load = sproc_load_segments,
.find_rsc_table = sproc_find_rsc_table,
}

Definition at line 153 of file ste_modem_rproc.c.