Searched refs:sysfspath (Results 1 – 2 of 2) sorted by relevance
162 static int check_interface(char *sysfspath) in check_interface() argument165 int len = strlen(sysfspath); in check_interface()174 ret = has_3_ep(sysfspath); in check_interface()179 dir = opendir(sysfspath); in check_interface()183 strcpy(dirbuf, sysfspath); in check_interface()233 static int check_sysfs(char *sysfspath) in check_sysfs() argument236 int len = strlen(sysfspath); in check_sysfs()243 dir = opendir(sysfspath); in check_sysfs()247 strcpy(dirbuf, sysfspath); in check_sysfs()
71 sysfspath = utils.read_one_line(self.WRITE_SYSFS_PATH)73 if not sysfspath:77 power = utils.read_one_line(sysfspath + '/' +