Lines Matching defs:token
921 struct calling_interface_token *token;
924 token = dell_smbios_find_token(BRIGHTNESS_TOKEN);
925 if (!token)
929 token->location, bd->props.brightness, 0, 0);
943 struct calling_interface_token *token;
946 token = dell_smbios_find_token(BRIGHTNESS_TOKEN);
947 if (!token)
950 dell_fill_request(&buffer, token->location, 0, 0, 0);
1381 struct calling_interface_token *token;
1387 token = dell_smbios_find_token(kbd_tokens[bit]);
1388 if (!token)
1391 dell_fill_request(&buffer, token->location, token->value, 0, 0);
1400 struct calling_interface_token *token;
1407 token = dell_smbios_find_token(kbd_tokens[bit]);
1408 if (!token)
1411 dell_fill_request(&buffer, token->location, 0, 0, 0);
1418 return (val == token->value);
1450 /* NOTE: Old models without KBD_LED_AC_TOKEN token supports only one
2157 struct calling_interface_token *token;
2161 token = dell_smbios_find_token(GLOBAL_MIC_MUTE_DISABLE);
2163 token = dell_smbios_find_token(GLOBAL_MIC_MUTE_ENABLE);
2165 if (!token)
2168 dell_fill_request(&buffer, token->location, token->value, 0, 0);
2185 struct calling_interface_token *token;
2189 token = dell_smbios_find_token(GLOBAL_MUTE_DISABLE);
2191 token = dell_smbios_find_token(GLOBAL_MUTE_ENABLE);
2193 if (!token)
2196 dell_fill_request(&buffer, token->location, token->value, 0, 0);
2211 struct calling_interface_token *token;
2272 token = dell_smbios_find_token(BRIGHTNESS_TOKEN);
2273 if (token) {
2276 dell_fill_request(&buffer, token->location, 0, 0, 0);