Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c36 static struct mlxbf_bootctl_name boot_names[] = { variable
152 for (i = 0; i < ARRAY_SIZE(boot_names); i++) in mlxbf_bootctl_reset_action_to_val()
153 if (sysfs_streq(boot_names[i].name, action)) in mlxbf_bootctl_reset_action_to_val()
154 return boot_names[i].value; in mlxbf_bootctl_reset_action_to_val()
164 for (i = 0; i < ARRAY_SIZE(boot_names); i++) in mlxbf_bootctl_action_to_string()
165 if (boot_names[i].value == action) in mlxbf_bootctl_action_to_string()
166 return boot_names[i].name; in mlxbf_bootctl_action_to_string()