Home
last modified time | relevance | path

Searched refs:ch9_data (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.h21 return (uds_ctx->ch9_data.state == USBD_STATE_DEFAULT) ? true : false; in usbd_state_is_default()
33 return (uds_ctx->ch9_data.state == USBD_STATE_ADDRESS) ? true : false; in usbd_state_is_address()
45 return (uds_ctx->ch9_data.state == USBD_STATE_CONFIGURED) ? true : false; in usbd_state_is_configured()
57 return uds_ctx->ch9_data.configuration; in usbd_get_config_value()
69 uds_ctx->ch9_data.configuration = value; in usbd_set_config_value()
89 *alt = uds_ctx->ch9_data.alternate[iface]; in usbd_get_alt_value()
111 uds_ctx->ch9_data.alternate[iface] = alt; in usbd_set_alt_value()
126 return &uds_ctx->ch9_data.setup; in usbd_get_setup_pkt()
Dusbd_endpoint.c162 struct usbd_ch9_data *ch9_data = &uds_ctx->ch9_data; in usbd_ep_set_halt() local
171 usbd_ep_bm_set(&ch9_data->ep_halt, ep); in usbd_ep_set_halt()
178 struct usbd_ch9_data *ch9_data = &uds_ctx->ch9_data; in usbd_ep_clear_halt() local
187 usbd_ep_bm_clear(&ch9_data->ep_halt, ep); in usbd_ep_clear_halt()
194 struct usbd_ch9_data *ch9_data = &uds_ctx->ch9_data; in usbd_ep_is_halted() local
196 return usbd_ep_bm_is_set(&ch9_data->ep_halt, ep); in usbd_ep_is_halted()
Dusbd_ch9.c49 uds_ctx->ch9_data.ctrl_type = type; in ch9_set_ctrl_type()
54 return uds_ctx->ch9_data.ctrl_type; in ch9_get_ctrl_type()
79 uds_ctx->ch9_data.post_status = false; in post_status_stage()
114 uds_ctx->ch9_data.post_status = true; in sreq_set_address()
118 uds_ctx->ch9_data.state = USBD_STATE_DEFAULT; in sreq_set_address()
120 uds_ctx->ch9_data.state = USBD_STATE_ADDRESS; in sreq_set_address()
170 uds_ctx->ch9_data.state = USBD_STATE_ADDRESS; in sreq_set_configuration()
172 uds_ctx->ch9_data.state = USBD_STATE_CONFIGURED; in sreq_set_configuration()
299 uds_ctx->ch9_data.post_status = true; in set_feature_test_mode()
1022 uds_ctx->ch9_data.state); in handle_setup_request()
[all …]
Dusbd_core.c128 uds_ctx->ch9_data.state = USBD_STATE_DEFAULT; in event_handler_bus_reset()
Dusbd_config.c86 memset(&uds_ctx->ch9_data.alternate, 0, in usbd_config_reset()
Dusbd_device.c238 memset(&uds_ctx->ch9_data, 0, sizeof(struct usbd_ch9_data)); in usbd_init()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h291 struct usbd_ch9_data ch9_data; member