Home
last modified time | relevance | path

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

/external/autotest/client/profilers/powertop/src/
Dwireless.c55 static char powersave_path[PATH_MAX]; variable
143 if (strlen(powersave_path)<2) in need_wireless_suggest_new()
145 if (access(powersave_path, W_OK)) in need_wireless_suggest_new()
151 file = fopen(powersave_path, "r"); in need_wireless_suggest_new()
178 strcpy(powersave_path, pathname); in find_4965()
190 strcpy(powersave_path, pathname); in find_4965()
214 powersave_path[0] = 0; in find_wireless_nic()
268 sprintf(powersave_path,"/sys/bus/pci/devices/%s/power_level", driver.bus_info); in find_wireless_nic()
281 file = fopen(powersave_path, "w"); in activate_wireless_suggestion_new()
316 "This will sacrifice network performance slightly to save power."), powersave_path); in suggest_wireless_powersave()