Home
last modified time | relevance | path

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

/third_party/NuttX/drivers/usbdev/gadget/
Dhicamera_control.c48 static struct uvc_camera_cmd g_cmd_map[CMD_MAX_NUM] = {0};
55 if (cmd->id >= CMD_MAX_NUM) in cmd_check()
57 usb_err("the cmd id is too big, make sure it less than %d\n", CMD_MAX_NUM); in cmd_check()
90 if (cmd_id >= CMD_MAX_NUM) in run_cmd_func()
120 (void)memset_s(g_cmd_map, (CMD_MAX_NUM * sizeof(struct uvc_camera_cmd)), in hi_camera_cmd_init()
121 0, (CMD_MAX_NUM * sizeof(struct uvc_camera_cmd))); in hi_camera_cmd_init()
166 for (i = 0; i < CMD_MAX_NUM; i++) in hi_camera_cmd_info_print()
Dhicamera_control.h46 #define CMD_MAX_NUM 32 macro