Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dsysfs.c53 __be64 sysadmin_ag_val; in show_admin_alias_guid() local
55 sysadmin_ag_val = mlx4_get_admin_guid(mdev->dev, in show_admin_alias_guid()
59 return sysfs_emit(buf, "%llx\n", be64_to_cpu(sysadmin_ag_val)); in show_admin_alias_guid()
78 u64 sysadmin_ag_val; in store_admin_alias_guid() local
88 sscanf(buf, "%llx", &sysadmin_ag_val); in store_admin_alias_guid()
92 cpu_to_be64(sysadmin_ag_val); in store_admin_alias_guid()
97 mlx4_set_admin_guid(mdev->dev, cpu_to_be64(sysadmin_ag_val), in store_admin_alias_guid()