Home
last modified time | relevance | path

Searched refs:deviceName (Results 1 - 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/common/
H A Dvirtual_serial.c51 STATIC VOID SerialTypeSet(const CHAR *deviceName) in SerialTypeSet() argument
53 if (!strncmp(deviceName, SERIAL_UARTDEV, strlen(SERIAL_UARTDEV))) { in SerialTypeSet()
55 } else if (!strncmp(deviceName, SERIAL_TTYGS0, strlen(SERIAL_TTYGS0))) { in SerialTypeSet()
210 INT32 virtual_serial_init(const CHAR *deviceName) in virtual_serial_init() argument
215 if (deviceName == NULL) { in virtual_serial_init()
220 SerialTypeSet(deviceName); in virtual_serial_init()
223 ret = VnodeLookup(deviceName, &vnode, V_DUMMY); in virtual_serial_init()
238 PRINTK("virtual_serial_init %s open is NULL\n", deviceName); in virtual_serial_init()
H A Dconsole.c223 STATIC CONSOLE_CB *OsGetConsoleByDevice(const CHAR *deviceName) in OsGetConsoleByDevice() argument
229 ret = VnodeLookup(deviceName, &vnode, 0); in OsGetConsoleByDevice()
246 STATIC INT32 OsGetConsoleID(const CHAR *deviceName) in OsGetConsoleID() argument
248 if ((deviceName != NULL) && in OsGetConsoleID()
249 (strlen(deviceName) == strlen(SERIAL)) && in OsGetConsoleID()
250 (!strncmp(deviceName, SERIAL, strlen(SERIAL)))) { in OsGetConsoleID()
254 else if ((deviceName != NULL) && in OsGetConsoleID()
255 (strlen(deviceName) == strlen(TELNET)) && in OsGetConsoleID()
256 (!strncmp(deviceName, TELNET, strlen(TELNET)))) { in OsGetConsoleID()
977 STATIC VOID OsConsoleTermiosInit(CONSOLE_CB *consoleCB, const CHAR *deviceName) in OsConsoleTermiosInit() argument
1036 OsConsoleDevInit(CONSOLE_CB *consoleCB, const CHAR *deviceName) OsConsoleDevInit() argument
1215 OsConsoleCreate(UINT32 consoleID, const CHAR *deviceName) OsConsoleCreate() argument
1291 system_console_init(const CHAR *deviceName) system_console_init() argument
1337 system_console_deinit(const CHAR *deviceName) system_console_deinit() argument
[all...]
H A Dconsole.h103 extern INT32 system_console_init(const CHAR *deviceName);
104 extern INT32 system_console_deinit(const CHAR *deviceName);
H A Dvirtual_serial.h55 extern INT32 virtual_serial_init(const CHAR *deviceName);

Completed in 3 milliseconds