Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c1048 struct etr_buf *etr_buf = drvdata->sysfs_buf; in tmc_etr_get_sysfs_trace()
1080 if (WARN_ON(drvdata->sysfs_buf != etr_buf)) { in tmc_etr_sync_sysfs_buf()
1081 tmc_etr_free_sysfs_buf(drvdata->sysfs_buf); in tmc_etr_sync_sysfs_buf()
1082 drvdata->sysfs_buf = NULL; in tmc_etr_sync_sysfs_buf()
1128 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_enable_etr_sink_sysfs() local
1139 sysfs_buf = READ_ONCE(drvdata->sysfs_buf); in tmc_enable_etr_sink_sysfs()
1140 if (!sysfs_buf || (sysfs_buf->size != drvdata->size)) { in tmc_enable_etr_sink_sysfs()
1171 sysfs_buf = READ_ONCE(drvdata->sysfs_buf); in tmc_enable_etr_sink_sysfs()
1172 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_enable_etr_sink_sysfs()
1173 free_buf = sysfs_buf; in tmc_enable_etr_sink_sysfs()
[all …]
Dcoresight-tmc.h208 struct etr_buf *sysfs_buf; member
/Linux-v5.4/drivers/scsi/ufs/
Dufs-sysfs.c221 u8 *sysfs_buf, in ufs_sysfs_read_desc_param() argument
236 ret = sprintf(sysfs_buf, "0x%02X\n", *desc_buf); in ufs_sysfs_read_desc_param()
239 ret = sprintf(sysfs_buf, "0x%04X\n", in ufs_sysfs_read_desc_param()
243 ret = sprintf(sysfs_buf, "0x%08X\n", in ufs_sysfs_read_desc_param()
247 ret = sprintf(sysfs_buf, "0x%016llX\n", in ufs_sysfs_read_desc_param()