Lines Matching defs:config
35 # include <config.h>
2952 unsigned char config[64];
2955 snprintf(path, PATH_MAX, "/sys/class/drm/%s/device/config", d_name);
2960 ret = read(fd, config, sizeof(config));
2965 device->vendor_id = config[0] | (config[1] << 8);
2966 device->device_id = config[2] | (config[3] << 8);
2967 device->revision_id = config[8];
2968 device->subvendor_id = config[44] | (config[45] << 8);
2969 device->subdevice_id = config[46] | (config[47] << 8);