Lines Matching refs:class
151 struct usbd_class_node *class; in usbd_interface_default() local
154 class = usbd_class_get_by_config(uds_ctx, speed, new_cfg, i); in usbd_interface_default()
155 if (class == NULL) { in usbd_interface_default()
159 ret = usbd_interface_modify(uds_ctx, class, EP_OP_UP, i, 0); in usbd_interface_default()
172 struct usbd_class_node *class; in usbd_interface_set() local
176 class = usbd_class_get_by_iface(uds_ctx, iface); in usbd_interface_set()
177 if (class == NULL) { in usbd_interface_set()
192 ret = usbd_interface_modify(uds_ctx, class, EP_OP_TEST, iface, alt); in usbd_interface_set()
198 ret = usbd_interface_modify(uds_ctx, class, EP_OP_DOWN, iface, cur_alt); in usbd_interface_set()
204 ret = usbd_interface_modify(uds_ctx, class, EP_OP_UP, iface, alt); in usbd_interface_set()
210 usbd_class_update(class->c_data, iface, alt); in usbd_interface_set()