Lines Matching refs:setup
179 bi->setup = 1; in udc_ep_buf_set_setup()
603 bi->setup = 0; in udc_ep_enqueue()
861 struct net_buf *const setup, in udc_ctrl_alloc_data() argument
864 size_t size = udc_data_stage_length(setup); in udc_ctrl_alloc_data()
868 buf = udc_ctrl_alloc_stage(dev, setup, ep, size); in udc_ctrl_alloc_data()
903 net_buf_frag_add(data->setup, dout); in udc_ctrl_submit_s_out_status()
910 return udc_submit_ep_event(dev, data->setup, ret); in udc_ctrl_submit_s_out_status()
924 buf = udc_ctrl_alloc_data(dev, data->setup, USB_CONTROL_EP_IN); in udc_ctrl_submit_s_in_status()
929 return udc_submit_ep_event(dev, data->setup, ret); in udc_ctrl_submit_s_in_status()
939 buf = udc_ctrl_alloc_status(dev, data->setup, USB_CONTROL_EP_IN); in udc_ctrl_submit_s_status()
944 return udc_submit_ep_event(dev, data->setup, ret); in udc_ctrl_submit_s_status()
994 struct usb_setup_packet *setup = (void *)buf->data; in udc_data_stage_to_host() local
996 return USB_REQTYPE_GET_DIR(setup->bmRequestType); in udc_data_stage_to_host()
1010 if (bi->setup && bi->ep == USB_CONTROL_EP_OUT) { in udc_ctrl_update_stage()
1013 data->setup = buf; in udc_ctrl_update_stage()