Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_kinetis.c417 uint8_t bd_idx; in usb_dc_ep_set_stall() local
428 bd_idx = get_bdt_idx(ep, in usb_dc_ep_set_stall()
432 bd_idx = get_bdt_idx(ep, in usb_dc_ep_set_stall()
436 bdt[bd_idx].set.bd_ctrl = BD_STALL_MASK | BD_DTS_MASK | BD_OWN_MASK; in usb_dc_ep_set_stall()
444 uint8_t bd_idx; in usb_dc_ep_clear_stall() local
457 bd_idx = get_bdt_idx(ep, in usb_dc_ep_clear_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()
464 bd_idx = get_bdt_idx(ep, in usb_dc_ep_clear_stall()
466 bdt[bd_idx].set.bd_ctrl = 0U; in usb_dc_ep_clear_stall()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_kinetis.c138 uint8_t bd_idx; in usbfsotg_get_ebd() local
140 bd_idx = USB_EP_GET_IDX(cfg->addr) * 4U + (cfg->stat.odd ^ opposite); in usbfsotg_get_ebd()
142 bd_idx += 2U; in usbfsotg_get_ebd()
145 return &config->bdt[bd_idx]; in usbfsotg_get_ebd()