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()
362 static void firmware_free_data(const struct firmware *fw) in firmware_free_data()
373 static void fw_set_page_data(struct firmware_buf *buf, struct firmware *fw) in fw_set_page_data()
452 struct firmware *fw;
869 fw_create_instance(struct firmware *firmware, const char *fw_name, in fw_create_instance() argument
882 fw_priv->fw = firmware; in fw_create_instance()
947 static int fw_load_from_user_helper(struct firmware *firmware, in fw_load_from_user_helper() argument
953 fw_priv = fw_create_instance(firmware, name, device, opt_flags); in fw_load_from_user_helper()
957 fw_priv->buf = firmware->priv; in fw_load_from_user_helper()
979 fw_load_from_user_helper(struct firmware *firmware, const char *name, in fw_load_from_user_helper() argument
1020 _request_firmware_prepare(struct firmware **firmware_p, const char *name, in _request_firmware_prepare()
1023 struct firmware *firmware; in _request_firmware_prepare() local
1027 *firmware_p = firmware = kzalloc(sizeof(*firmware), GFP_KERNEL); in _request_firmware_prepare()
1028 if (!firmware) { in _request_firmware_prepare()
1034 if (fw_get_builtin_firmware(firmware, name)) { in _request_firmware_prepare()
1045 firmware->priv = buf; in _request_firmware_prepare()
1050 fw_set_page_data(buf, firmware); in _request_firmware_prepare()
1060 static int assign_firmware_buf(struct firmware *fw, struct device *device, in assign_firmware_buf()
1099 _request_firmware(const struct firmware **firmware_p, const char *name, in _request_firmware()
1102 struct firmware *fw; in _request_firmware()
1184 request_firmware(const struct firmware **firmware_p, const char *name, in request_firmware()
1209 int request_firmware_direct(const struct firmware **firmware_p, in request_firmware_direct()
1226 void release_firmware(const struct firmware *fw) in release_firmware()
1243 void (*cont)(const struct firmware *fw, void *context);
1250 const struct firmware *fw; in request_firmware_work_func()
1290 void (*cont)(const struct firmware *fw, void *context)) in request_firmware_nowait()
1338 const struct firmware *fw; in cache_firmware()
1377 struct firmware fw; in uncache_firmware()