Lines Matching refs:firmware

40 #include <sys/firmware.h>
50 * Loadable firmware support. See sys/sys/firmware.h and firmware(9)
53 * 'struct firmware' is the user-visible part of the firmware table.
108 struct firmware fw; /* externally visible information */
112 * PRIV_FW returns the pointer to the container of struct firmware *x.
135 * This mutex protects accesses to the firmware table.
138 MTX_SYSINIT(firmware, &firmware_mtx, "firmware table", MTX_DEF);
168 * Register a firmware image with the specified name. The
173 const struct firmware *
175 unsigned int version, const struct firmware *parent)
196 printf("%s: cannot register image %s, firmware table full!\n",
210 printf("firmware: '%s' version %u: %zu bytes loaded at %p\n",
216 * Unregister/remove a firmware image. If there are outstanding
233 * firmware images.
275 printf("%s: could not load firmware image, error %d\n",
285 printf("%s: firmware image loaded, "
297 * Lookup and potentially load the specified firmware image.
298 * If the firmware is not found in the registry, try to load a kernel
300 * If the firmware is located, a reference is returned. The caller must
303 const struct firmware *
322 "load firmware image %s\n", __func__, imagename);
354 * Release a reference to a firmware image returned by firmware_get.
358 * If this is the last reference to the firmware image, and this is an
363 firmware_put(const struct firmware *p, int flags)
494 "firmware taskq");
532 "firmware",
536 DECLARE_MODULE(firmware, firmware_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
537 MODULE_VERSION(firmware, 1);