Searched refs:as_idx (Results 1 – 1 of 1) sorted by relevance
120 get_as_data_ep(struct usbd_class_data *const c_data, int as_idx) in get_as_data_ep() argument126 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() argument141 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() local183 if (terminal == cfg->as_terminals[as_idx]) { in terminal_to_as_interface()184 return as_idx; in terminal_to_as_interface()[all …]