D | usbd_interface.c | 150 struct usbd_class_node *class; in usbd_interface_default() local 153 class = usbd_class_get_by_config(uds_ctx, new_cfg, i); in usbd_interface_default() 154 if (class == NULL) { in usbd_interface_default() 158 ret = usbd_interface_modify(uds_ctx, class, EP_OP_UP, i, 0); in usbd_interface_default() 171 struct usbd_class_node *class; in usbd_interface_set() local 175 class = usbd_class_get_by_iface(uds_ctx, iface); in usbd_interface_set() 176 if (class == NULL) { in usbd_interface_set() 191 ret = usbd_interface_modify(uds_ctx, class, EP_OP_TEST, iface, alt); in usbd_interface_set() 197 ret = usbd_interface_modify(uds_ctx, class, EP_OP_DOWN, iface, cur_alt); in usbd_interface_set() 203 ret = usbd_interface_modify(uds_ctx, class, EP_OP_UP, iface, alt); in usbd_interface_set() [all …]
|