Lines Matching defs:loading
38 * use small loading timeout for caching devices' firmware because all these
40 * ready for completing firmware loading now. The maximum size of firmware in
91 * There is a small window in which user can write to 'loading'
92 * between loading done/aborted and disappearance of 'loading'
214 int loading = 0;
218 loading = fw_sysfs_loading(fw_sysfs->fw_priv);
221 return sysfs_emit(buf, "%d\n", loading);
225 * firmware_loading_store() - set value in the 'loading' control file
228 * @buf: buffer to scan for loading control value
244 int loading = simple_strtol(buf, NULL, 10);
251 switch (loading) {
264 * Several loading requests may be pending on
266 * see the mapped 'buf->data' once the loading
292 dev_err(dev, "%s: unexpected value (%d)\n", __func__, loading);
303 static DEVICE_ATTR(loading, 0644, firmware_loading_show, firmware_loading_store);
493 * In charge of constructing a sysfs fallback interface for firmware loading.
501 /* fall back on userspace loading */
563 dev_dbg(device, "firmware: %s loading timed out\n",
628 * @opt_flags: options to control firmware loading behaviour, as defined by
633 * a fallback mechanism through userspace by exposing a sysfs loading
634 * interface. Userspace is in charge of loading the firmware through the sysfs
635 * loading interface. This sysfs fallback mechanism may be disabled completely