D | fallback.c | 215 int loading = 0; in firmware_loading_show() local 219 loading = fw_sysfs_loading(fw_sysfs->fw_priv); in firmware_loading_show() 222 return sysfs_emit(buf, "%d\n", loading); in firmware_loading_show() 245 int loading = simple_strtol(buf, NULL, 10); in firmware_loading_store() local 252 switch (loading) { in firmware_loading_store() 294 dev_err(dev, "%s: unexpected value (%d)\n", __func__, loading); in firmware_loading_store() 305 static DEVICE_ATTR(loading, 0644, firmware_loading_show, firmware_loading_store);
|