mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Armando Uribe](/assets/img/avatar_default.png)
Remove defined constants not being used. Signed-off-by: Armando Uribe <x0095078@ti.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
60 lines
1.9 KiB
C
60 lines
1.9 KiB
C
/*
|
|
* dspdrv.h
|
|
*
|
|
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
|
|
*
|
|
* This is the Stream Interface for the DSp API.
|
|
* All Device operations are performed via DeviceIOControl.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#if !defined _DSPDRV_H_
|
|
#define _DSPDRV_H_
|
|
|
|
/*
|
|
* ======== dsp_deinit ========
|
|
* Purpose:
|
|
* This function is called by Device Manager to de-initialize a device.
|
|
* This function is not called by applications.
|
|
* Parameters:
|
|
* device_context:Handle to the device context. The XXX_Init function
|
|
* creates and returns this identifier.
|
|
* Returns:
|
|
* TRUE indicates the device successfully de-initialized. Otherwise it
|
|
* returns FALSE.
|
|
* Requires:
|
|
* device_context!= NULL. For a built in device this should never
|
|
* get called.
|
|
* Ensures:
|
|
*/
|
|
extern bool dsp_deinit(u32 device_context);
|
|
|
|
/*
|
|
* ======== dsp_init ========
|
|
* Purpose:
|
|
* This function is called by Device Manager to initialize a device.
|
|
* This function is not called by applications
|
|
* Parameters:
|
|
* dw_context: Specifies a pointer to a string containing the registry
|
|
* path to the active key for the stream interface driver.
|
|
* HKEY_LOCAL_MACHINE\Drivers\Active
|
|
* Returns:
|
|
* Returns a handle to the device context created. This is the our actual
|
|
* Device Object representing the DSP Device instance.
|
|
* Requires:
|
|
* Ensures:
|
|
* Succeeded: device context > 0
|
|
* Failed: device Context = 0
|
|
*/
|
|
extern u32 dsp_init(u32 *init_status);
|
|
|
|
#endif
|