Searched refs:sysfs_path (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xorg-server/dist/hw/xfree86/fbdevhw/
H A Dfbdevhw.c335 char *sysfs_path = NULL; local in function:fbdev_open
338 if (asprintf(&sysfs_path, "/sys/class/graphics/%s/device/subsystem", node) < 0 ||
339 readlink(sysfs_path, buf, sizeof(buf) - 1) < 0 ||
341 free(sysfs_path);
345 free(sysfs_path);
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Dras_tests.c531 static char sysfs_path[PATH_SIZE]; variable in typeref:typename:char[]
539 snprintf(sysfs_path, PATH_SIZE, "/sys/class/drm/card%d/device/ras/", devices[card].id);
550 return sysfs_path;

Completed in 5 milliseconds