Searched refs:hyp_attr (Results 1 – 1 of 1) sorted by relevance
573 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_show() local574 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_show()575 if (hyp_attr->show) in hyp_sysfs_show()576 return hyp_attr->show(hyp_attr, buffer); in hyp_sysfs_show()585 struct hyp_sysfs_attr *hyp_attr; in hyp_sysfs_store() local586 hyp_attr = container_of(attr, struct hyp_sysfs_attr, attr); in hyp_sysfs_store()587 if (hyp_attr->store) in hyp_sysfs_store()588 return hyp_attr->store(hyp_attr, buffer, len); in hyp_sysfs_store()