Lines Matching refs:devpath
410 char devpath[32]; member
427 static struct smscore_registry_entry_t *smscore_find_registry(char *devpath) in smscore_find_registry() argument
437 if (!strncmp(entry->devpath, devpath, sizeof(entry->devpath))) { in smscore_find_registry()
445 strscpy(entry->devpath, devpath, sizeof(entry->devpath)); in smscore_find_registry()
453 int smscore_registry_getmode(char *devpath) in smscore_registry_getmode() argument
457 entry = smscore_find_registry(devpath); in smscore_registry_getmode()
467 static enum sms_device_type_st smscore_registry_gettype(char *devpath) in smscore_registry_gettype() argument
471 entry = smscore_find_registry(devpath); in smscore_registry_gettype()
480 static void smscore_registry_setmode(char *devpath, int mode) in smscore_registry_setmode() argument
484 entry = smscore_find_registry(devpath); in smscore_registry_setmode()
491 static void smscore_registry_settype(char *devpath, in smscore_registry_settype() argument
496 entry = smscore_find_registry(devpath); in smscore_registry_settype()
730 strscpy(dev->devpath, params->devpath, sizeof(dev->devpath)); in smscore_register_device()
732 smscore_registry_settype(dev->devpath, params->device_type); in smscore_register_device()
876 int mode = smscore_registry_getmode(coredev->devpath); in smscore_start_device()
1104 type = smscore_registry_gettype(coredev->devpath); in smscore_get_fw_filename()
1340 smscore_registry_setmode(coredev->devpath, mode); in smscore_set_device_mode()
1375 smscore_registry_setmode(coredev->devpath, mode); in smscore_set_device_mode()