diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-29 21:19:26 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-29 21:19:26 +0000 |
commit | fd8ccf9c652556047dee58330dd8543dbf345d7b (patch) | |
tree | b9da76295132f5efbc18c34b9de3db80de664403 /package/lqtapi/src/mps/vmmc-alm.h | |
parent | 28ff8acfd1357992354357df119a56e683b52326 (diff) |
[lantiq]
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lqtapi/src/mps/vmmc-alm.h')
-rw-r--r-- | package/lqtapi/src/mps/vmmc-alm.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/package/lqtapi/src/mps/vmmc-alm.h b/package/lqtapi/src/mps/vmmc-alm.h deleted file mode 100644 index 4e59b6627..000000000 --- a/package/lqtapi/src/mps/vmmc-alm.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef __VMMC_ALM_H__ -#define __VMMC_ALM_H__ - -#include "vmmc-module.h" - -struct vmmc; -enum vmmc_alm_state { - VMMC_ALM_STATE_OFF = 0 << 16, - VMMC_ALM_STATE_ONHOOK = 1 << 16, - VMMC_ALM_STATE_RING = 3 << 16, - VMMC_ALM_STATE_ACTIVE = 2 << 16, -}; - -struct vmmc_alm { - struct vmmc *vmmc; - unsigned int id; - - enum vmmc_alm_state state; - - struct vmmc_module module; - - uint32_t cmd_cache[3]; -}; - -struct vmmc_alm_coef { - struct list_head list; - unsigned int offset; - size_t len; - uint32_t data[0]; -}; - -int vmmc_alm_init(struct vmmc_alm *alm, struct vmmc *vmmc, unsigned int id); - -int vmmc_alm_set_state(struct vmmc_alm *alm, enum vmmc_alm_state state); -enum vmmc_alm_state vmmc_alm_get_state(struct vmmc_alm *alm); - -int vmcc_alm_set_coefficents(struct vmmc_alm *alm, - const struct vmmc_alm_coef *coef_list); - -void vmmc_alm_hook_event_handler(struct vmmc *vmmc, uint32_t event, uint32_t data); - -#endif |