Re: [PATCH 4/5] coresight-tnoc: add node to configure flag type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/02/2025 08:40, Yuanfang Zhang wrote:
> +
> +static ssize_t flag_type_show(struct device *dev,
> +			      struct device_attribute *attr,
> +			      char *buf)
> +{
> +	struct trace_noc_drvdata *drvdata = dev_get_drvdata(dev->parent);
> +
> +	return sysfs_emit(buf, "%u\n", drvdata->flag_type);
> +}
> +static DEVICE_ATTR_RW(flag_type);
> +
>  static struct attribute *trace_noc_attrs[] = {
>  	&dev_attr_flush_req.attr,
>  	&dev_attr_flush_status.attr,
> +	&dev_attr_flag_type.attr,

Where is the ABI documentation?

Best regards,
Krzysztof




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux