Lines Matching refs:firmware

48 static bool fw_get_builtin_firmware(struct firmware *fw, const char *name)  in fw_get_builtin_firmware()
63 static bool fw_is_builtin_firmware(const struct firmware *fw) in fw_is_builtin_firmware()
76 static inline bool fw_get_builtin_firmware(struct firmware *fw, const char *name) in fw_get_builtin_firmware()
81 static inline bool fw_is_builtin_firmware(const struct firmware *fw) in fw_is_builtin_firmware()
376 static void firmware_free_data(const struct firmware *fw) in firmware_free_data()
387 static void fw_set_page_data(struct firmware_buf *buf, struct firmware *fw) in fw_set_page_data()
471 struct firmware *fw;
888 fw_create_instance(struct firmware *firmware, const char *fw_name, in fw_create_instance() argument
901 fw_priv->fw = firmware; in fw_create_instance()
966 static int fw_load_from_user_helper(struct firmware *firmware, in fw_load_from_user_helper() argument
972 fw_priv = fw_create_instance(firmware, name, device, opt_flags); in fw_load_from_user_helper()
976 fw_priv->buf = firmware->priv; in fw_load_from_user_helper()
998 fw_load_from_user_helper(struct firmware *firmware, const char *name, in fw_load_from_user_helper() argument
1039 _request_firmware_prepare(struct firmware **firmware_p, const char *name, in _request_firmware_prepare()
1042 struct firmware *firmware; in _request_firmware_prepare() local
1046 *firmware_p = firmware = kzalloc(sizeof(*firmware), GFP_KERNEL); in _request_firmware_prepare()
1047 if (!firmware) { in _request_firmware_prepare()
1053 if (fw_get_builtin_firmware(firmware, name)) { in _request_firmware_prepare()
1064 firmware->priv = buf; in _request_firmware_prepare()
1069 fw_set_page_data(buf, firmware); in _request_firmware_prepare()
1079 static int assign_firmware_buf(struct firmware *fw, struct device *device, in assign_firmware_buf()
1118 _request_firmware(const struct firmware **firmware_p, const char *name, in _request_firmware()
1121 struct firmware *fw; in _request_firmware()
1203 request_firmware(const struct firmware **firmware_p, const char *name, in request_firmware()
1228 int request_firmware_direct(const struct firmware **firmware_p, in request_firmware_direct()
1245 void release_firmware(const struct firmware *fw) in release_firmware()
1262 void (*cont)(const struct firmware *fw, void *context);
1269 const struct firmware *fw; in request_firmware_work_func()
1310 void (*cont)(const struct firmware *fw, void *context)) in request_firmware_nowait()
1363 const struct firmware *fw; in cache_firmware()
1402 struct firmware fw; in uncache_firmware()