Lines Matching defs:devpath
87 char devpath[32];
104 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath)
114 if (!strcmp(entry->devpath, devpath)) {
122 strcpy(entry->devpath, devpath);
130 int smscore_registry_getmode(char *devpath)
134 entry = smscore_find_registry(devpath);
144 static enum sms_device_type_st smscore_registry_gettype(char *devpath)
148 entry = smscore_find_registry(devpath);
157 void smscore_registry_setmode(char *devpath, int mode)
161 entry = smscore_find_registry(devpath);
168 static void smscore_registry_settype(char *devpath,
173 entry = smscore_find_registry(devpath);
399 strcpy(dev->devpath, params->devpath);
401 smscore_registry_settype(dev->devpath, params->device_type);
492 coredev, smscore_registry_getmode(coredev->devpath));
823 smscore_registry_setmode(coredev->devpath, mode);
841 type = smscore_registry_gettype(coredev->devpath);
895 smscore_registry_setmode(coredev->devpath, mode);