![Rene Sapiens](/assets/img/avatar_default.png)
hungarian notation will be removed from the elements inside structures, the next varibles will be renamed: Original: Replacement: hnext next hnode node hprev prev hroot root hstream stream pbuf buf pcb_arg cb_arg pdspheap_list dspheap_list pmsg msg ps_name name pstr_create_phase_fxn str_create_phase_fxn pstr_delete_phase_fxn str_delete_phase_fxn pstr_dev_name str_dev_name pstr_event_name str_event_name pstr_execute_phase_fxn str_execute_phase_fxn pstr_i_alg_name str_i_alg_name udma_chnl_id dma_chnl_id un_bufs_in_strm bufs_in_strm usm_buf_size sm_buf_size Signed-off-by: Rene Sapiens <rene.sapiens@ti.com> Signed-off-by: Armando Uribe <x0095078@ti.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
/*
|
|
* strmdefs.h
|
|
*
|
|
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
|
|
*
|
|
* Global STRM constants and types.
|
|
*
|
|
* Copyright (C) 2005-2006 Texas Instruments, Inc.
|
|
*
|
|
* This package is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
*/
|
|
|
|
#ifndef STRMDEFS_
|
|
#define STRMDEFS_
|
|
|
|
struct strm_mgr;
|
|
|
|
struct strm_object;
|
|
|
|
struct strm_attr {
|
|
void *user_event;
|
|
char *str_event_name;
|
|
void *virt_base; /* Process virtual base address of
|
|
* mapped SM */
|
|
u32 virt_size; /* Size of virtual space in bytes */
|
|
struct dsp_streamattrin *stream_attr_in;
|
|
};
|
|
|
|
struct stream_info {
|
|
enum dsp_strmmode strm_mode; /* transport mode of
|
|
* stream(DMA, ZEROCOPY..) */
|
|
u32 segment_id; /* Segment strm allocs from. 0 is local mem */
|
|
void *virt_base; /* " " Stream'process virt base */
|
|
struct dsp_streaminfo *user_strm; /* User's stream information
|
|
* returned */
|
|
};
|
|
|
|
#endif /* STRMDEFS_ */
|