Lines Matching refs:mux_protected

63     } mux_protected;  member
87 } mux_protected; member
268 if (dev_obj->mux_protected.ep_in[i] != NULL) { in handle_pipe_halt_and_flush()
269 ESP_ERROR_CHECK(hcd_pipe_command(dev_obj->mux_protected.ep_in[i], HCD_PIPE_CMD_HALT)); in handle_pipe_halt_and_flush()
270 ESP_ERROR_CHECK(hcd_pipe_command(dev_obj->mux_protected.ep_in[i], HCD_PIPE_CMD_FLUSH)); in handle_pipe_halt_and_flush()
272 if (dev_obj->mux_protected.ep_out[i] != NULL) { in handle_pipe_halt_and_flush()
273 ESP_ERROR_CHECK(hcd_pipe_command(dev_obj->mux_protected.ep_out[i], HCD_PIPE_CMD_HALT)); in handle_pipe_halt_and_flush()
274 ESP_ERROR_CHECK(hcd_pipe_command(dev_obj->mux_protected.ep_out[i], HCD_PIPE_CMD_FLUSH)); in handle_pipe_halt_and_flush()
293 p_usbh_obj->mux_protected.num_device--; in handle_dev_free()
294 bool all_free = (p_usbh_obj->mux_protected.num_device == 0); in handle_dev_free()
367 if (p_usbh_obj->mux_protected.num_device > 0) { in usbh_uninstall()
485 *num_devs_ret = p_usbh_obj->mux_protected.num_device; in usbh_num_devs()
783 if (is_in && dev_obj->mux_protected.ep_in[addr - 1] == NULL) { //Is an IN EP in usbh_ep_alloc()
784 dev_obj->mux_protected.ep_in[addr - 1] = pipe_hdl; in usbh_ep_alloc()
786 } else if (dev_obj->mux_protected.ep_out[addr - 1] == NULL) { //Is an OUT EP in usbh_ep_alloc()
787 dev_obj->mux_protected.ep_out[addr - 1] = pipe_hdl; in usbh_ep_alloc()
821 if (dev_obj->mux_protected.ep_in[addr - 1] != NULL) { in usbh_ep_free()
822 pipe_hdl = dev_obj->mux_protected.ep_in[addr - 1]; in usbh_ep_free()
823 dev_obj->mux_protected.ep_in[addr - 1] = NULL; in usbh_ep_free()
830 if (dev_obj->mux_protected.ep_out[addr - 1] != NULL) { in usbh_ep_free()
831 pipe_hdl = dev_obj->mux_protected.ep_out[addr - 1]; in usbh_ep_free()
832 dev_obj->mux_protected.ep_out[addr - 1] = NULL; in usbh_ep_free()
864 pipe_hdl = dev_obj->mux_protected.ep_in[addr - 1]; in usbh_ep_get_context()
866 pipe_hdl = dev_obj->mux_protected.ep_out[addr - 1]; in usbh_ep_get_context()
1045 p_usbh_obj->mux_protected.num_device++; in usbh_hub_enum_done()