Lines Matching refs:token
7 * - Simple activation of a token
53 static int find_token(__u16 token, __u16 *location, __u16 *value)
61 ret = sprintf(value_sysfs, "%s/%04x_value", token_sysfs, token);
75 ret = sprintf(location_sysfs, "%s/%04x_location", token_sysfs, token);
109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer)
115 ret = find_token(token, &location, &value);
117 printf("unable to find token %04x\n", token);
124 __u16 token)
130 ret = find_token(token, &location, &value);
132 printf("unable to find token %04x\n", token);
190 printf("UEFI Capsule enabled token is: %d\n", ret);
192 printf("UEFI Capsule disabled token is: %d\n", ret);
194 /* activate UEFI capsule token if disabled */
196 printf("Enabling UEFI capsule token");