Home
last modified time | relevance | path

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

/drivers/acpi/
Dsysfs.c417 struct acpi_data_attr *data_attr; in acpi_data_show() local
421 data_attr = container_of(bin_attr, struct acpi_data_attr, attr); in acpi_data_show()
422 size = data_attr->attr.size; in acpi_data_show()
433 base = acpi_os_map_iomem(data_attr->addr, size); in acpi_data_show()
444 static int acpi_bert_data_init(void *th, struct acpi_data_attr *data_attr) in acpi_bert_data_init() argument
450 kfree(data_attr); in acpi_bert_data_init()
453 data_attr->addr = bert->address; in acpi_bert_data_init()
454 data_attr->attr.size = bert->region_length; in acpi_bert_data_init()
455 data_attr->attr.attr.name = "BERT"; in acpi_bert_data_init()
457 return sysfs_create_bin_file(tables_data_kobj, &data_attr->attr); in acpi_bert_data_init()
[all …]
/drivers/s390/char/
Dsclp_sd.c88 struct bin_attribute data_attr; member
515 sysfs_bin_attr_init(&sd_file->data_attr); in sclp_sd_file_create()
516 sd_file->data_attr.attr.name = "data"; in sclp_sd_file_create()
517 sd_file->data_attr.attr.mode = 0444; in sclp_sd_file_create()
518 sd_file->data_attr.read = data_read; in sclp_sd_file_create()
520 rc = sysfs_create_bin_file(&sd_file->kobj, &sd_file->data_attr); in sclp_sd_file_create()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c617 static const struct bin_attribute data_attr = { variable
672 hdcp_work[0].attr = data_attr; in hdcp_create_workqueue()