Searched refs:next_pid (Results 1 – 2 of 2) sorted by relevance
41 uint8_t next_pid; member208 cfg->addr, net_buf_tailroom(buf), ep_data->next_pid); in rpi_pico_prep_rx()211 buf_ctrl |= ep_data->next_pid ? USB_BUF_CTRL_DATA1_PID : USB_BUF_CTRL_DATA0_PID; in rpi_pico_prep_rx()212 ep_data->next_pid ^= 1U; in rpi_pico_prep_rx()244 cfg->addr, len, ep_data->next_pid); in rpi_pico_prep_tx()247 buf_ctrl |= ep_data->next_pid ? USB_BUF_CTRL_DATA1_PID : USB_BUF_CTRL_DATA0_PID; in rpi_pico_prep_tx()249 ep_data->next_pid ^= 1U; in rpi_pico_prep_tx()489 get_ep_data(dev, USB_CONTROL_EP_IN)->next_pid = 1; in rpi_pico_handle_setup()490 get_ep_data(dev, USB_CONTROL_EP_OUT)->next_pid = 1; in rpi_pico_handle_setup()762 ep_data->next_pid = 0; in udc_rpi_pico_ep_enable()[all …]
51 uint8_t next_pid; member130 LOG_DBG("xfer ep %d len %d pid: %d", ep, len, ep_state->next_pid); in udc_rpi_start_xfer()131 val |= ep_state->next_pid ? USB_BUF_CTRL_DATA1_PID : USB_BUF_CTRL_DATA0_PID; in udc_rpi_start_xfer()133 ep_state->next_pid ^= 1u; in udc_rpi_start_xfer()221 udc_rpi_get_ep_state(USB_CONTROL_EP_IN)->next_pid = 1; in udc_rpi_handle_setup()222 udc_rpi_get_ep_state(USB_CONTROL_EP_OUT)->next_pid = 1; in udc_rpi_handle_setup()709 ep_state->next_pid = 0; in usb_dc_ep_enable()