Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_kinetis.c77 static struct buf_descriptor __aligned(512) bdt[(NUM_OF_EP_MAX) * 2 * 2];
167 USB0->BDTPAGE1 = (uint8_t)(((uint32_t)bdt) >> 8); in kinetis_usb_init()
168 USB0->BDTPAGE2 = (uint8_t)(((uint32_t)bdt) >> 16); in kinetis_usb_init()
169 USB0->BDTPAGE3 = (uint8_t)(((uint32_t)bdt) >> 24); in kinetis_usb_init()
351 if (bdt[idx_even].buf_addr) { in usb_dc_ep_configure()
356 (void)memset(&bdt[idx_even], 0, sizeof(struct buf_descriptor)); in usb_dc_ep_configure()
357 (void)memset(&bdt[idx_odd], 0, sizeof(struct buf_descriptor)); in usb_dc_ep_configure()
367 bdt[idx_even].buf_addr = (uint32_t)block->data; in usb_dc_ep_configure()
369 bdt[idx_odd].buf_addr = (uint32_t)((uint8_t *)block->data + cfg->ep_mps); in usb_dc_ep_configure()
378 bdt[idx_even].set.bc = cfg->ep_mps; in usb_dc_ep_configure()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_kinetis.c86 struct usbfsotg_bd *bdt; member
145 return &config->bdt[bd_idx]; in usbfsotg_get_ebd()
1001 base->BDTPAGE1 = (uint8_t)(POINTER_TO_UINT(config->bdt) >> 8); in usbfsotg_init()
1002 base->BDTPAGE2 = (uint8_t)(POINTER_TO_UINT(config->bdt) >> 16); in usbfsotg_init()
1003 base->BDTPAGE3 = (uint8_t)(POINTER_TO_UINT(config->bdt) >> 24); in usbfsotg_init()
1183 .bdt = bdt_##n, \