Lines Matching refs:device
10 * Support for user-space to initiate a firmware upload to a device.
26 [FW_UPLOAD_ERR_BUSY] = "device-busy",
32 static const char *fw_upload_progress(struct device *dev,
45 static const char *fw_upload_error(struct device *dev,
60 status_show(struct device *dev, struct device_attribute *attr, char *buf)
69 error_show(struct device *dev, struct device_attribute *attr, char *buf)
91 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr,
112 static ssize_t remaining_size_show(struct device *dev,
164 struct device *fw_dev;
228 struct device *fw_dev = &fw_sysfs->dev;
278 * @module: kernel module of this device
279 * @parent: parent device instantiating firmware upload
280 * @name: firmware name to be associated with this device
285 * sysfs files for this device will be found at /sys/class/firmware/@name.
291 firmware_upload_register(struct module *module, struct device *parent,
300 struct device *fw_dev;
400 /* Ensure lower-level device-driver is finished */