Lines Matching refs:action_flags
54 uint32_t action_flags; member
195 static bool _dev_set_actions(device_t *dev_obj, uint32_t action_flags) in _dev_set_actions() argument
197 if (action_flags == 0) { in _dev_set_actions()
206 dev_obj->dynamic.action_flags |= action_flags; in _dev_set_actions()
217 uint32_t action_flags; in default_pipe_callback() local
222 action_flags = DEV_FLAG_ACTION_DEFAULT_PIPE_DEQUEUE; in default_pipe_callback()
228 action_flags = DEV_FLAG_ACTION_DEFAULT_PIPE_FLUSH | in default_pipe_callback()
239 … action_flags = DEV_FLAG_ACTION_DEFAULT_PIPE_DEQUEUE | DEV_FLAG_ACTION_DEFAULT_PIPE_CLEAR; in default_pipe_callback()
247 action_flags = 0; in default_pipe_callback()
252 bool call_notif_cb = _dev_set_actions(dev_obj, action_flags); in default_pipe_callback()
402 uint32_t action_flags = dev_obj->dynamic.action_flags; in usbh_process() local
403 dev_obj->dynamic.action_flags = 0; in usbh_process()
410 ESP_LOGD(USBH_TAG, "Processing actions 0x%x", action_flags); in usbh_process()
412 assert(!(action_flags & DEV_FLAG_ACTION_FREE) || action_flags == DEV_FLAG_ACTION_FREE); in usbh_process()
414 if (action_flags & DEV_FLAG_ACTION_PIPE_HALT_AND_FLUSH) { in usbh_process()
417 if (action_flags & DEV_FLAG_ACTION_DEFAULT_PIPE_FLUSH) { in usbh_process()
421 if (action_flags & DEV_FLAG_ACTION_DEFAULT_PIPE_DEQUEUE) { in usbh_process()
435 if (action_flags & DEV_FLAG_ACTION_DEFAULT_PIPE_CLEAR) { in usbh_process()
439 if (action_flags & DEV_FLAG_ACTION_SEND_GONE_EVENT) { in usbh_process()
451 if (action_flags & (DEV_FLAG_ACTION_FREE | DEV_FLAG_ACTION_FREE_AND_RECOVER)) { in usbh_process()
460 if (action_flags & DEV_FLAG_ACTION_FREE_AND_RECOVER) { in usbh_process()
463 } else if (action_flags & DEV_FLAG_ACTION_PORT_DISABLE) { in usbh_process()
467 } else if (action_flags & DEV_FLAG_ACTION_SEND_NEW) { in usbh_process()