Lines Matching refs:fw
58 #define FW_INUSE(p) ((p)->file != NULL || (p)->fw.name != NULL)
61 * fw.name != NULL when an image is registered; file != NULL for
65 * firmware_register --> fw.name = image_name
67 * firmware_unregister --> fw.name = NULL
102 * 'fw' is the externally visible image information.
105 * Use PRIV_FW(fw) to get a pointer to the cointainer of fw.
108 struct firmware fw; /* externally visible information */
116 ((intptr_t)(x) - offsetof(struct priv_fw, fw)) )
159 if (fp->fw.name != NULL && strcasecmp(name, fp->fw.name) == 0)
197 frp->fw.name = imagename;
198 frp->fw.data = data;
199 frp->fw.datasize = datasize;
200 frp->fw.version = version;
207 return &frp->fw;
344 return &fp->fw;
438 if (fp->fw.name == NULL || fp->file == NULL ||
511 if (fp->fw.name != NULL) {
513 __func__, fp->fw.name,