4 #include "vmmc-module.h"
8 VMMC_ALM_STATE_OFF
= 0 << 16,
9 VMMC_ALM_STATE_ONHOOK
= 1 << 16,
10 VMMC_ALM_STATE_RING
= 3 << 16,
11 VMMC_ALM_STATE_ACTIVE
= 2 << 16,
18 enum vmmc_alm_state state
;
20 struct vmmc_module module
;
22 uint32_t cmd_cache
[3];
25 struct vmmc_alm_coef
{
26 struct list_head list
;
32 int vmmc_alm_init(struct vmmc_alm
*alm
, struct vmmc
*vmmc
, unsigned int id
);
34 int vmmc_alm_set_state(struct vmmc_alm
*alm
, enum vmmc_alm_state state
);
35 enum vmmc_alm_state
vmmc_alm_get_state(struct vmmc_alm
*alm
);
37 int vmcc_alm_set_coefficents(struct vmmc_alm
*alm
,
38 const struct vmmc_alm_coef
*coef_list
);
40 void vmmc_alm_hook_event_handler(struct vmmc
*vmmc
, uint32_t event
, uint32_t data
);
This page took 0.04068 seconds and 5 git commands to generate.