Home
last modified time | relevance | path

Searched refs:fw_sysfs (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/base/firmware_loader/
H A Dsysfs.c67 static int do_firmware_uevent(const struct fw_sysfs *fw_sysfs, struct kobj_uevent_env *env) in do_firmware_uevent() argument
69 if (add_uevent_var(env, "FIRMWARE=%s", fw_sysfs->fw_priv->fw_name)) in do_firmware_uevent()
73 if (add_uevent_var(env, "ASYNC=%d", fw_sysfs->nowait)) in do_firmware_uevent()
81 const struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); in firmware_uevent() local
85 if (fw_sysfs->fw_priv) in firmware_uevent()
86 err = do_firmware_uevent(fw_sysfs, env); in firmware_uevent()
94 struct fw_sysfs *fw_sysfs in fw_dev_release() local
129 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_loading_show() local
157 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_loading_store() local
266 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_data_read() local
295 fw_realloc_pages(struct fw_sysfs *fw_sysfs, int min_size) fw_realloc_pages() argument
323 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_data_write() local
399 struct fw_sysfs *fw_sysfs; fw_create_instance() local
[all...]
H A Dsysfs_upload.c124 static struct fw_sysfs *fw_sysfs; in fw_upload_is_visible() local
126 fw_sysfs = to_fw_sysfs(kobj_to_dev(kobj)); in fw_upload_is_visible()
128 if (fw_sysfs->fw_upload_priv || attr == &dev_attr_loading.attr) in fw_upload_is_visible()
161 struct fw_sysfs *fw_sysfs; in fw_upload_main() local
169 fw_sysfs = (struct fw_sysfs *)fwl->priv; in fw_upload_main()
170 fw_dev = &fw_sysfs->dev; in fw_upload_main()
214 fw_free_paged_buf(fw_sysfs in fw_upload_main()
225 fw_upload_start(struct fw_sysfs *fw_sysfs) fw_upload_start() argument
267 fw_upload_free(struct fw_sysfs *fw_sysfs) fw_upload_free() argument
298 struct fw_sysfs *fw_sysfs; firmware_upload_register() local
387 struct fw_sysfs *fw_sysfs = fw_upload->priv; firmware_upload_unregister() local
[all...]
H A Dsysfs.h76 struct fw_sysfs { struct
83 #define to_fw_sysfs(__dev) container_of_const(__dev, struct fw_sysfs, dev)
87 static inline void fw_load_abort(struct fw_sysfs *fw_sysfs) in fw_load_abort() argument
89 struct fw_priv *fw_priv = fw_sysfs->fw_priv; in fw_load_abort()
94 struct fw_sysfs *
104 int fw_upload_start(struct fw_sysfs *fw_sysfs);
105 void fw_upload_free(struct fw_sysfs *fw_sysfs);
108 fw_upload_start(struct fw_sysfs *fw_sysfs) fw_upload_start() argument
113 fw_upload_free(struct fw_sysfs *fw_sysfs) fw_upload_free() argument
[all...]
H A Dfallback.c65 * @fw_sysfs: firmware sysfs information for the firmware to load
70 static int fw_load_sysfs_fallback(struct fw_sysfs *fw_sysfs, long timeout) in fw_load_sysfs_fallback() argument
73 struct device *f_dev = &fw_sysfs->dev; in fw_load_sysfs_fallback()
74 struct fw_priv *fw_priv = fw_sysfs->fw_priv; in fw_load_sysfs_fallback()
101 kobject_uevent(&fw_sysfs->dev.kobj, KOBJ_ADD); in fw_load_sysfs_fallback()
109 fw_load_abort(fw_sysfs); in fw_load_sysfs_fallback()
130 struct fw_sysfs *fw_sysfs; in fw_load_from_user_helper() local
151 fw_sysfs in fw_load_from_user_helper()
[all...]
/kernel/linux/linux-5.10/drivers/base/firmware_loader/
H A Dfallback.c76 struct fw_sysfs { struct
83 static struct fw_sysfs *to_fw_sysfs(struct device *dev) in to_fw_sysfs()
85 return container_of(dev, struct fw_sysfs, dev); in to_fw_sysfs()
100 static void fw_load_abort(struct fw_sysfs *fw_sysfs) in fw_load_abort() argument
102 struct fw_priv *fw_priv = fw_sysfs->fw_priv; in fw_load_abort()
164 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); in fw_dev_release() local
166 kfree(fw_sysfs); in fw_dev_release()
169 static int do_firmware_uevent(struct fw_sysfs *fw_sysf argument
183 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_uevent() local
213 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_loading_show() local
241 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_loading_store() local
342 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_data_read() local
371 fw_realloc_pages(struct fw_sysfs *fw_sysfs, int min_size) fw_realloc_pages() argument
399 struct fw_sysfs *fw_sysfs = to_fw_sysfs(dev); firmware_data_write() local
466 struct fw_sysfs *fw_sysfs; fw_create_instance() local
495 fw_load_sysfs_fallback(struct fw_sysfs *fw_sysfs, long timeout) fw_load_sysfs_fallback() argument
555 struct fw_sysfs *fw_sysfs; fw_load_from_user_helper() local
[all...]

Completed in 3 milliseconds