Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/usb/device_next/class/
Dusbd_uac2.c120 get_as_data_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_data_ep() argument
126 if ((as_idx >= 0) && (as_idx < cfg->num_ifaces) && in get_as_data_ep()
127 cfg->ep_indexes[as_idx]) { in get_as_data_ep()
128 desc = cfg->descriptors[cfg->ep_indexes[as_idx]]; in get_as_data_ep()
135 get_as_feedback_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_feedback_ep() argument
141 if ((as_idx < cfg->num_ifaces) && cfg->fb_indexes[as_idx]) { in get_as_feedback_ep()
142 desc = cfg->descriptors[cfg->fb_indexes[as_idx]]; in get_as_feedback_ep()
182 for (int as_idx = 0; as_idx < cfg->num_ifaces; as_idx++) { in terminal_to_as_interface() local
183 if (terminal == cfg->as_terminals[as_idx]) { in terminal_to_as_interface()
184 return as_idx; in terminal_to_as_interface()
[all …]