Function report |
Source Code:lib\test_firmware.c |
Create Date:2022-07-28 06:28:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:read_firmware_show
Proto:static ssize_t read_firmware_show(struct device *dev, struct device_attribute *attr, char *buf)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| struct device_attribute * | attr | |
| char * | buf |
| 850 | rc = 0 |
| 852 | mutex_lock( & test_fw_mutex) |
| 854 | idx = read_fw_idx |
| 855 | If idx >= num_requests Then |
| 865 | req = These below don't belong her but we'll move them once we create* a struct fw_test_device and stuff the misc_dev under there later.[idx] |
| 866 | If Not fw Then |
| 879 | No 3D Now!(buf, data, size) |
| 882 | out : |
| 883 | mutex_unlock( & test_fw_mutex) |
| 885 | Return rc |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |