Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_firmware.c Create Date:2022-07-28 06:28:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reset_store

Proto:static ssize_t reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)

Type:ssize_t

Parameter:

TypeParameterName
struct device *dev
struct device_attribute *attr
const char *buf
size_tcount
203  mutex_lock( & test_fw_mutex)
205  __test_firmware_config_free()
207  ret = __test_firmware_config_init()
208  If ret < 0 Then
209  ret = -ENOMEM
210  pr_err("could not alloc settings for config trigger: %d\n", ret)
212  Go to out
215  pr_info("reset\n")
216  ret = count
218  out :
219  mutex_unlock( & test_fw_mutex)
221  Return ret