Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
io_sm.c File Reference
#include <linux/types.h>
#include <linux/list.h>
#include <dspbridge/host_os.h>
#include <linux/workqueue.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/ntfy.h>
#include <dspbridge/sync.h>
#include <hw_defs.h>
#include <hw_mmu.h>
#include <dspbridge/dspdeh.h>
#include <dspbridge/dspio.h>
#include <dspbridge/dspioctl.h>
#include <dspbridge/wdt.h>
#include <_tiomap.h>
#include <tiomap_io.h>
#include <_tiomap_pwr.h>
#include <dspbridge/cod.h>
#include <dspbridge/node.h>
#include <dspbridge/dev.h>
#include <dspbridge/rms_sh.h>
#include <dspbridge/mgr.h>
#include <dspbridge/drv.h>
#include "_cmm.h"
#include "module_list.h"
#include <dspbridge/io_sm.h>
#include "_msg_sm.h"

Go to the source code of this file.

Data Structures

struct  io_mgr
 
struct  shm_symbol_val
 

Macros

#define OUTPUTNOTREADY   0xffff
 
#define NOTENABLED   0xffff /* Channel(s) not enabled */
 
#define EXTEND   "_EXT_END"
 
#define SWAP_WORD(x)   (x)
 
#define UL_PAGE_ALIGN_SIZE   0x10000 /* Page Align Size */
 
#define MAX_PM_REQS   32
 
#define MMU_FAULT_HEAD1   0xa5a5a5a5
 
#define MMU_FAULT_HEAD2   0x96969696
 
#define POLL_MAX   1000
 
#define MAX_MMU_DBGBUFF   10240
 

Functions

int bridge_io_create (struct io_mgr **io_man, struct dev_object *hdev_obj, const struct io_attrs *mgr_attrts)
 
int bridge_io_destroy (struct io_mgr *hio_mgr)
 
struct shm_symbol_val_get_shm_symbol_values (struct io_mgr *hio_mgr)
 
int bridge_io_on_loaded (struct io_mgr *hio_mgr)
 
u32 io_buf_size (struct io_mgr *hio_mgr)
 
void io_cancel_chnl (struct io_mgr *hio_mgr, u32 chnl)
 
void io_dpc (unsigned long ref_data)
 
int io_mbox_msg (struct notifier_block *self, unsigned long len, void *msg)
 
void io_request_chnl (struct io_mgr *io_manager, struct chnl_object *pchnl, u8 io_mode, u16 *mbx_val)
 
void iosm_schedule (struct io_mgr *io_manager)
 
int io_sh_msetting (struct io_mgr *hio_mgr, u8 desc, void *pargs)
 
int bridge_io_get_proc_load (struct io_mgr *hio_mgr, struct dsp_procloadstat *proc_lstat)
 

Macro Definition Documentation

#define EXTEND   "_EXT_END"

Definition at line 73 of file io_sm.c.

#define MAX_MMU_DBGBUFF   10240

Definition at line 83 of file io_sm.c.

#define MAX_PM_REQS   32

Definition at line 78 of file io_sm.c.

#define MMU_FAULT_HEAD1   0xa5a5a5a5

Definition at line 80 of file io_sm.c.

#define MMU_FAULT_HEAD2   0x96969696

Definition at line 81 of file io_sm.c.

#define NOTENABLED   0xffff /* Channel(s) not enabled */

Definition at line 71 of file io_sm.c.

#define OUTPUTNOTREADY   0xffff

Definition at line 70 of file io_sm.c.

#define POLL_MAX   1000

Definition at line 82 of file io_sm.c.

#define SWAP_WORD (   x)    (x)

Definition at line 75 of file io_sm.c.

#define UL_PAGE_ALIGN_SIZE   0x10000 /* Page Align Size */

Definition at line 76 of file io_sm.c.

Function Documentation

struct shm_symbol_val* _get_shm_symbol_values ( struct io_mgr hio_mgr)
read

Definition at line 269 of file io_sm.c.

int bridge_io_create ( struct io_mgr **  io_man,
struct dev_object hdev_obj,
const struct io_attrs mgr_attrts 
)

Definition at line 174 of file io_sm.c.

int bridge_io_destroy ( struct io_mgr hio_mgr)

Definition at line 249 of file io_sm.c.

int bridge_io_get_proc_load ( struct io_mgr hio_mgr,
struct dsp_procloadstat proc_lstat 
)

Definition at line 1628 of file io_sm.c.

int bridge_io_on_loaded ( struct io_mgr hio_mgr)

Definition at line 345 of file io_sm.c.

u32 io_buf_size ( struct io_mgr hio_mgr)

Definition at line 765 of file io_sm.c.

void io_cancel_chnl ( struct io_mgr hio_mgr,
u32  chnl 
)

Definition at line 777 of file io_sm.c.

void io_dpc ( unsigned long  ref_data)

Definition at line 843 of file io_sm.c.

int io_mbox_msg ( struct notifier_block self,
unsigned long  len,
void msg 
)

Definition at line 911 of file io_sm.c.

void io_request_chnl ( struct io_mgr io_manager,
struct chnl_object pchnl,
u8  io_mode,
u16 mbx_val 
)

Definition at line 944 of file io_sm.c.

int io_sh_msetting ( struct io_mgr hio_mgr,
u8  desc,
void pargs 
)

Definition at line 1565 of file io_sm.c.

void iosm_schedule ( struct io_mgr io_manager)

Definition at line 974 of file io_sm.c.