Home
last modified time | relevance | path

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

/external/autotest/client/profilers/powertop/src/
Dwireless.c54 static char rfkill_path[PATH_MAX]; variable
61 if (strlen(rfkill_path)<2) in rfkill_enabled()
63 if (access(rfkill_path, W_OK)) in rfkill_enabled()
66 file = fopen(rfkill_path, "r"); in rfkill_enabled()
81 if (strlen(rfkill_path)<2) in check_unused_wiresless_up()
83 if (access(rfkill_path, W_OK)) in check_unused_wiresless_up()
86 file = fopen(rfkill_path, "r"); in check_unused_wiresless_up()
213 rfkill_path[0] = 0; in find_wireless_nic()
267 sprintf(rfkill_path,"/sys/bus/pci/devices/%s/rfkill/rfkill0/state", driver.bus_info); in find_wireless_nic()
291 file = fopen(rfkill_path, "w"); in activate_rfkill_suggestion()
[all …]