Home
last modified time | relevance | path

Searched refs:fw_sysfs (Results 1 – 4 of 4) sorted by relevance

/linux/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.c125 static struct fw_sysfs *fw_sysfs; in fw_upload_is_visible() local
127 fw_sysfs = to_fw_sysfs(kobj_to_dev(kobj)); in fw_upload_is_visible()
129 if (fw_sysfs->fw_upload_priv || attr == &dev_attr_loading.attr) in fw_upload_is_visible()
162 struct fw_sysfs *fw_sysfs; in fw_upload_main() local
170 fw_sysfs = (struct fw_sysfs *)fwl->priv; in fw_upload_main()
171 fw_dev = &fw_sysfs->dev; in fw_upload_main()
215 fw_free_paged_buf(fw_sysfs in fw_upload_main()
226 fw_upload_start(struct fw_sysfs * fw_sysfs) fw_upload_start() argument
268 fw_upload_free(struct fw_sysfs * fw_sysfs) fw_upload_free() argument
299 struct fw_sysfs *fw_sysfs; firmware_upload_register() local
388 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) argument
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.c69 * @fw_sysfs: firmware sysfs information for the firmware to load
74 static int fw_load_sysfs_fallback(struct fw_sysfs *fw_sysfs, long timeout) in fw_load_sysfs_fallback() argument
77 struct device *f_dev = &fw_sysfs->dev; in fw_load_sysfs_fallback()
78 struct fw_priv *fw_priv = fw_sysfs->fw_priv; in fw_load_sysfs_fallback()
105 kobject_uevent(&fw_sysfs->dev.kobj, KOBJ_ADD); in fw_load_sysfs_fallback()
113 fw_load_abort(fw_sysfs); in fw_load_sysfs_fallback()
134 struct fw_sysfs *fw_sysfs; in fw_load_from_user_helper() local
155 fw_sysfs in fw_load_from_user_helper()
[all...]