Home
last modified time | relevance | path

Searched hist:"1 ce5ab7c" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/power/cpupower/lib/
H A Dcpupower.c1ce5ab7c Mon Jun 19 14:05:00 CDT 2023 Wyes Karny <wyes.karny@amd.com> cpupower: Add is_valid_path API

Add is_valid_path API to check whether the sysfs file is present or not.

Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Tested-by: Perry Yuan <Perry.Yuan@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
H A Dcpupower_intern.h1ce5ab7c Mon Jun 19 14:05:00 CDT 2023 Wyes Karny <wyes.karny@amd.com> cpupower: Add is_valid_path API

Add is_valid_path API to check whether the sysfs file is present or not.

Suggested-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Tested-by: Perry Yuan <Perry.Yuan@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>