Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_uac2.c123 get_as_data_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_data_ep() argument
136 if ((as_idx >= 0) && (as_idx < cfg->num_ifaces) && in get_as_data_ep()
137 cfg->ep_indexes[as_idx] && descriptors) { in get_as_data_ep()
138 desc = descriptors[cfg->ep_indexes[as_idx]]; in get_as_data_ep()
145 get_as_feedback_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_feedback_ep() argument
158 if ((as_idx < cfg->num_ifaces) && cfg->fb_indexes[as_idx] && in get_as_feedback_ep()
160 desc = descriptors[cfg->fb_indexes[as_idx]]; in get_as_feedback_ep()
200 for (int as_idx = 0; as_idx < cfg->num_ifaces; as_idx++) { in terminal_to_as_interface() local
201 if (terminal == cfg->as_terminals[as_idx]) { in terminal_to_as_interface()
202 return as_idx; in terminal_to_as_interface()
[all …]