72 process data. */ |
72 process data. */ |
73 uint16_t working_counter; /**< Last working counter value. */ |
73 uint16_t working_counter; /**< Last working counter value. */ |
74 unsigned int working_counter_changes; /**< Working counter changes |
74 unsigned int working_counter_changes; /**< Working counter changes |
75 since last notification. */ |
75 since last notification. */ |
76 unsigned long notify_jiffies; /**< Time of last notification. */ |
76 unsigned long notify_jiffies; /**< Time of last notification. */ |
|
77 struct list_head fmmu_configs; /**< FMMU configurations contained. */ |
77 }; |
78 }; |
78 |
79 |
79 /*****************************************************************************/ |
80 /*****************************************************************************/ |
80 |
81 |
81 int ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int); |
82 int ec_domain_init(ec_domain_t *, ec_master_t *, unsigned int); |
82 void ec_domain_destroy(ec_domain_t *); |
83 void ec_domain_destroy(ec_domain_t *); |
83 |
84 |
84 void ec_domain_add_fmmu_config(ec_domain_t *, ec_fmmu_config_t *); |
85 void ec_domain_add_fmmu_config(ec_domain_t *, ec_fmmu_config_t *); |
85 int ec_domain_finish(ec_domain_t *, uint32_t); |
86 int ec_domain_finish(ec_domain_t *, uint32_t); |
86 |
87 |
|
88 unsigned int ec_domain_fmmu_count(const ec_domain_t *); |
|
89 const ec_fmmu_config_t *ec_domain_find_fmmu(const ec_domain_t *, unsigned int); |
|
90 |
87 /*****************************************************************************/ |
91 /*****************************************************************************/ |
88 |
92 |
89 #endif |
93 #endif |