Searched refs:ch_read (Results 1 – 2 of 2) sorted by relevance
| /devicemodel/hw/mmio/ |
| A D | core.c | 173 size_t ch_read; in get_more_acpi_dev_info() local 181 ch_read = fread(line, 1, sizeof(line), fp); in get_more_acpi_dev_info() 182 if (!ch_read) in get_more_acpi_dev_info() 186 memcpy(ops->modalias, line, ch_read); in get_more_acpi_dev_info()
|
| /devicemodel/hw/platform/tpm/ |
| A D | tpm.c | 47 size_t ch_read; in read_sysfs_tpm2_table() local 54 ch_read = fread(&tpm2, 1, sizeof(tpm2), fp); in read_sysfs_tpm2_table() 58 if (!ch_read) in read_sysfs_tpm2_table() 65 memcpy(tpm2_out, &tpm2, ch_read); in read_sysfs_tpm2_table()
|
Completed in 5 milliseconds