Home
last modified time | relevance | path

Searched refs:bd_ctrl (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_kinetis.c63 uint32_t bd_ctrl : 6; member
436 bdt[bd_idx].set.bd_ctrl = BD_STALL_MASK | BD_DTS_MASK | BD_OWN_MASK; in usb_dc_ep_set_stall()
459 bdt[bd_idx].set.bd_ctrl = 0U; in usb_dc_ep_clear_stall()
460 bdt[bd_idx].set.bd_ctrl = BD_DTS_MASK | BD_OWN_MASK; in usb_dc_ep_clear_stall()
466 bdt[bd_idx].set.bd_ctrl = 0U; in usb_dc_ep_clear_stall()
500 LOG_WRN("active bd ctrl: %x", bdt[bd_idx].set.bd_ctrl); in usb_dc_ep_is_stalled()
503 LOG_WRN("next bd ctrl: %x", bdt[bd_idx].set.bd_ctrl); in usb_dc_ep_is_stalled()
534 bdt[idx_even].set.bd_ctrl = BD_DTS_MASK | BD_OWN_MASK; in usb_dc_ep_enable()
535 bdt[idx_odd].set.bd_ctrl = 0U; in usb_dc_ep_enable()
642 bdt[bd_idx].set.bd_ctrl = BD_DTS_MASK | in usb_dc_ep_write()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_kinetis.c69 uint32_t bd_ctrl : 6; member
163 bd->set.bd_ctrl = USBFSOTG_BD_OWN | USBFSOTG_BD_DATA1 | in usbfsotg_bd_set_ctrl()
166 bd->set.bd_ctrl = USBFSOTG_BD_OWN | USBFSOTG_BD_DTS; in usbfsotg_bd_set_ctrl()
739 bd->set.bd_ctrl = USBFSOTG_BD_DTS; in usbfsotg_ep_dequeue()
780 bd->set.bd_ctrl = USBFSOTG_BD_STALL | USBFSOTG_BD_DTS | USBFSOTG_BD_OWN; in usbfsotg_ep_set_halt()
808 if (bd->set.bd_ctrl & USBFSOTG_BD_STALL) { in usbfsotg_ep_clear_halt()
809 LOG_DBG("bd %p: %x", bd, bd->set.bd_ctrl); in usbfsotg_ep_clear_halt()
810 bd->set.bd_ctrl = USBFSOTG_BD_DTS; in usbfsotg_ep_clear_halt()
822 bd->set.bd_ctrl = USBFSOTG_BD_DTS | USBFSOTG_BD_OWN; in usbfsotg_ep_clear_halt()