Home
last modified time | relevance | path

Searched refs:sysfs_buf (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c1065 struct etr_buf *etr_buf = drvdata->sysfs_buf; in tmc_etr_get_sysfs_trace()
1097 if (WARN_ON(drvdata->sysfs_buf != etr_buf)) { in tmc_etr_sync_sysfs_buf()
1098 tmc_etr_free_sysfs_buf(drvdata->sysfs_buf); in tmc_etr_sync_sysfs_buf()
1099 drvdata->sysfs_buf = NULL; in tmc_etr_sync_sysfs_buf()
1145 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_enable_etr_sink_sysfs() local
1156 sysfs_buf = READ_ONCE(drvdata->sysfs_buf); in tmc_enable_etr_sink_sysfs()
1157 if (!sysfs_buf || (sysfs_buf->size != drvdata->size)) { in tmc_enable_etr_sink_sysfs()
1188 sysfs_buf = READ_ONCE(drvdata->sysfs_buf); in tmc_enable_etr_sink_sysfs()
1189 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_enable_etr_sink_sysfs()
1190 free_buf = sysfs_buf; in tmc_enable_etr_sink_sysfs()
[all …]
Dcoresight-tmc.h208 struct etr_buf *sysfs_buf; member
/Linux-v5.10/drivers/scsi/ufs/
Dufs-sysfs.c212 u8 *sysfs_buf, in ufs_sysfs_read_desc_param() argument
229 ret = sprintf(sysfs_buf, "0x%02X\n", *desc_buf); in ufs_sysfs_read_desc_param()
232 ret = sprintf(sysfs_buf, "0x%04X\n", in ufs_sysfs_read_desc_param()
236 ret = sprintf(sysfs_buf, "0x%08X\n", in ufs_sysfs_read_desc_param()
240 ret = sprintf(sysfs_buf, "0x%016llX\n", in ufs_sysfs_read_desc_param()