Home
last modified time | relevance | path

Searched refs:cmd_func (Results 1 – 2 of 2) sorted by relevance

/components/legacy/usb/usbdevice/class/
A Dwinusb.c158 static ufunction_t cmd_func = RT_NULL; variable
163 if(cmd_func != RT_NULL) in _ep0_cmd_handler()
165 winusb_device = (winusb_device_t)cmd_func->user_data; in _ep0_cmd_handler()
166 cmd_func = RT_NULL; in _ep0_cmd_handler()
178 cmd_func = func; in _ep0_cmd_read()
/components/finsh/
A Dmsh.c233 cmd_function_t cmd_func = RT_NULL; in msh_get_cmd() local
242 cmd_func = (cmd_function_t)index->func; in msh_get_cmd()
247 return cmd_func; in msh_get_cmd()
327 cmd_function_t cmd_func; in _msh_exec_cmd() local
339 cmd_func = msh_get_cmd(cmd, cmd0_size); in _msh_exec_cmd()
340 if (cmd_func == RT_NULL) in _msh_exec_cmd()
350 *retp = cmd_func(argc, argv); in _msh_exec_cmd()

Completed in 4 milliseconds