Lines Matching full:chip
19 // Use of these plugins should be limited to avoid maintaining chip specific
27 // - The plugin instance for plugins that may be defined for a chip that has
29 // - The chip containing the root cause attention.
33 std::function<void(unsigned int, const libhei::Chip&, ServiceData&)>;
35 // These are provided as know chip types for plugin definitions.
72 /** A nested map that contains the function for each chip type and plugin
80 * @param i_type The chip type associated with the plugin.
104 * @param i_type The chip type associated with the plugin.
136 #define __PLUGIN_DEFINE(CHIP, NAME, FUNC) \ argument
137 class __PLUGIN_MAKE(Plugin_, CHIP, NAME) \
140 __PLUGIN_MAKE(Plugin_, CHIP, NAME) \
143 PluginMap::getSingleton().add(CHIP, #NAME, &FUNC); \
146 __PLUGIN_MAKE(Plugin_, CHIP, NAME) __PLUGIN_MAKE(g_Plugin_, CHIP, NAME)
148 #define PLUGIN_DEFINE(CHIP, NAME) __PLUGIN_DEFINE(CHIP, NAME, CHIP::NAME) argument
150 #define PLUGIN_DEFINE_NS(CHIP, NS, NAME) __PLUGIN_DEFINE(CHIP, NAME, NS::NAME) argument
157 // void foo(...) { /* definition for chip A */ }
162 // void foo(...) { /* definition for chip B */ }
175 // void foo(...) { /* definition for chip A */ }
181 // void foo(...) { /* definition again for chip A */ }