Searched refs:tty_dev_name (Results 1 – 2 of 2) sorted by relevance
57 char *tty_dev_name; in alloc_device_name() local70 tty_dev_name = rt_malloc(digits_len); in alloc_device_name()71 if (tty_dev_name) in alloc_device_name()72 rt_sprintf(tty_dev_name, "%s%s", TTY_NAME_PREFIX, serial_name + sizeof("uart") - 1); in alloc_device_name()79 tty_dev_name = rt_malloc(digits_len); in alloc_device_name()80 if (tty_dev_name) in alloc_device_name()81 rt_sprintf(tty_dev_name, "%s%u", TTY_NAME_PREFIX, devid); in alloc_device_name()83 return tty_dev_name; in alloc_device_name()
26 char *tty_dev_name; in alloc_device_name() local31 tty_dev_name = rt_malloc(name_buf_len); in alloc_device_name()32 if (tty_dev_name) in alloc_device_name()33 sprintf(tty_dev_name, "%s%s", TTY_NAME_PREFIX, name); in alloc_device_name()34 return tty_dev_name; in alloc_device_name()
Completed in 4 milliseconds