Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c33 static struct mlxbf_bootctl_name boot_names[] = { variable
70 for (i = 0; i < ARRAY_SIZE(boot_names); i++) in mlxbf_bootctl_reset_action_to_val()
71 if (sysfs_streq(boot_names[i].name, action)) in mlxbf_bootctl_reset_action_to_val()
72 return boot_names[i].value; in mlxbf_bootctl_reset_action_to_val()
82 for (i = 0; i < ARRAY_SIZE(boot_names); i++) in mlxbf_bootctl_action_to_string()
83 if (boot_names[i].value == action) in mlxbf_bootctl_action_to_string()
84 return boot_names[i].name; in mlxbf_bootctl_action_to_string()
/kernel/linux/linux-6.6/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()

Completed in 3 milliseconds