Searched refs:sub_type (Results 1 – 4 of 4) sorted by relevance
48 …if (private_info->sub_type <= CHAR_DEV_STYPE_START || private_info->sub_type >= CHAR_DEV_STYPE_END) in __devfs_chardev_register()50 mutex_lock(&chardev_manage_info[private_info->sub_type].lock); in __devfs_chardev_register()54 strcpy(devname, chardev_name_prefix[private_info->sub_type]); in __devfs_chardev_register()55 char *ptr = devname + strlen(chardev_name_prefix[private_info->sub_type]); in __devfs_chardev_register()56 sprintk(ptr, "%d", chardev_manage_info[private_info->sub_type].count); in __devfs_chardev_register()66 ++chardev_manage_info[private_info->sub_type].count; in __devfs_chardev_register()67 mutex_unlock(&chardev_manage_info[private_info->sub_type].lock); in __devfs_chardev_register()
20 int devfs_register_device(uint16_t device_type, uint16_t sub_type, struct vfs_file_operations_t *fi…
43 uint16_t sub_type; // 设备子类型 member
223 int devfs_register_device(uint16_t device_type, uint16_t sub_type, struct vfs_file_operations_t *fi… in devfs_register_device() argument231 private_info->sub_type = sub_type; in devfs_register_device()