Lines Matching refs:plugin

376 			    gettext("Unable to allocate %d bytes for plugin "
452 gettext("ERROR: v2 plugin (%s) "
460 "Identification plugin %s defined "
489 tmpelem->plugin = tmpplug;
514 * verification plugin, and attaches the designated fwimg's fd to
610 gettext("\nUnable to open verification plugin "
611 "%s. Looking for %s-GENERIC plugin instead.\n"),
624 "verification plugin %s/%s-%s.so or "
625 "generic plugin %s.\nUnable to verify "
649 "plugin."), filename);
665 "plugin %s\n"), filename);
674 "verification plugin\n",
692 * function to do so. The verification plugin should provide
779 * Each plugin's identify routine must allocated storage
782 * Each plugin's identify routine must return
814 self = plugins->plugin;
815 rv = plugins->plugin->fw_identify(startidx);
860 * If any plugin's fw_devinfo() function returns
864 * exception known at this point is the tavor plugin.
866 rv += curdev->plugin->fw_devinfo(curdev);
889 * fw_writefw() function of the appropriate plugin.
966 "about to flash using plugin %s\n",
967 curdev->plugin->filename);
968 rv = curdev->plugin->fw_writefw(curdev,
1004 * that the filename exists, then palm things off to the relevant plugin.
1018 rv = curdev->plugin->fw_readfw(curdev, filename);
1120 * call the plugin closure routines
1124 if (thisdev->plugin->fw_cleanup != NULL) {
1129 thisdev->plugin->fw_cleanup(thisdev);
1139 thisdev->plugin = NULL;
1150 free(thisplug->plugin->filename);
1151 free(thisplug->plugin->drvname);
1154 thisplug->plugin->filename = NULL;
1155 thisplug->plugin->drvname = NULL;
1156 thisplug->plugin->fw_readfw = NULL;
1157 thisplug->plugin->fw_writefw = NULL;
1158 thisplug->plugin->fw_identify = NULL;
1159 thisplug->plugin->fw_devinfo = NULL;
1160 thisplug->plugin->fw_cleanup = NULL;
1161 (void) dlclose(thisplug->plugin->handle);
1162 thisplug->plugin->handle = NULL;
1163 free(thisplug->plugin);
1164 thisplug->plugin = NULL;