Searched refs:ep_cfg_in (Results 1 – 14 of 14) sorted by relevance
/Zephyr-latest/drivers/usb/udc/ |
D | udc_skeleton.c | 44 struct udc_ep_config *ep_cfg_in; member 301 config->ep_cfg_in[i].caps.in = 1; in udc_skeleton_driver_preinit() 303 config->ep_cfg_in[i].caps.control = 1; in udc_skeleton_driver_preinit() 304 config->ep_cfg_in[i].caps.mps = 64; in udc_skeleton_driver_preinit() 306 config->ep_cfg_in[i].caps.bulk = 1; in udc_skeleton_driver_preinit() 307 config->ep_cfg_in[i].caps.interrupt = 1; in udc_skeleton_driver_preinit() 308 config->ep_cfg_in[i].caps.iso = 1; in udc_skeleton_driver_preinit() 309 config->ep_cfg_in[i].caps.mps = mps; in udc_skeleton_driver_preinit() 312 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_skeleton_driver_preinit() 313 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in udc_skeleton_driver_preinit() [all …]
|
D | udc_virtual.c | 30 struct udc_ep_config *ep_cfg_in; member 588 config->ep_cfg_in[i].caps.in = 1; in udc_vrt_driver_preinit() 590 config->ep_cfg_in[i].caps.control = 1; in udc_vrt_driver_preinit() 591 config->ep_cfg_in[i].caps.mps = 64; in udc_vrt_driver_preinit() 593 config->ep_cfg_in[i].caps.bulk = 1; in udc_vrt_driver_preinit() 594 config->ep_cfg_in[i].caps.interrupt = 1; in udc_vrt_driver_preinit() 595 config->ep_cfg_in[i].caps.iso = 1; in udc_vrt_driver_preinit() 596 config->ep_cfg_in[i].caps.mps = mps; in udc_vrt_driver_preinit() 599 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_vrt_driver_preinit() 600 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in udc_vrt_driver_preinit() [all …]
|
D | udc_nrf.c | 72 static struct udc_ep_config ep_cfg_in[CFG_EPIN_CNT + CFG_EP_ISOIN_CNT + 1]; variable 886 for (int i = 0; i < ARRAY_SIZE(ep_cfg_in); i++) { in udc_nrf_driver_init() 887 ep_cfg_in[i].caps.in = 1; in udc_nrf_driver_init() 889 ep_cfg_in[i].caps.control = 1; in udc_nrf_driver_init() 890 ep_cfg_in[i].caps.mps = NRF_USBD_COMMON_EPSIZE; in udc_nrf_driver_init() 892 ep_cfg_in[i].caps.bulk = 1; in udc_nrf_driver_init() 893 ep_cfg_in[i].caps.interrupt = 1; in udc_nrf_driver_init() 894 ep_cfg_in[i].caps.mps = NRF_USBD_COMMON_EPSIZE; in udc_nrf_driver_init() 896 ep_cfg_in[i].caps.iso = 1; in udc_nrf_driver_init() 897 ep_cfg_in[i].caps.mps = NRF_USBD_COMMON_ISOSIZE / 2; in udc_nrf_driver_init() [all …]
|
D | udc_renesas_ra.c | 21 struct udc_ep_config *ep_cfg_in; member 619 config->ep_cfg_in[i].caps.in = 1; in udc_renesas_ra_driver_preinit() 621 config->ep_cfg_in[i].caps.control = 1; in udc_renesas_ra_driver_preinit() 622 config->ep_cfg_in[i].caps.mps = 64; in udc_renesas_ra_driver_preinit() 624 config->ep_cfg_in[i].caps.bulk = 1; in udc_renesas_ra_driver_preinit() 625 config->ep_cfg_in[i].caps.interrupt = 1; in udc_renesas_ra_driver_preinit() 626 config->ep_cfg_in[i].caps.iso = 1; in udc_renesas_ra_driver_preinit() 627 config->ep_cfg_in[i].caps.mps = mps; in udc_renesas_ra_driver_preinit() 630 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_renesas_ra_driver_preinit() 631 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in udc_renesas_ra_driver_preinit() [all …]
|
D | udc_mcux_ehci.c | 42 struct udc_ep_config *ep_cfg_in; member 798 config->ep_cfg_in[i].caps.in = 1; in udc_mcux_driver_preinit() 800 config->ep_cfg_in[i].caps.control = 1; in udc_mcux_driver_preinit() 801 config->ep_cfg_in[i].caps.mps = 64; in udc_mcux_driver_preinit() 803 config->ep_cfg_in[i].caps.bulk = 1; in udc_mcux_driver_preinit() 804 config->ep_cfg_in[i].caps.interrupt = 1; in udc_mcux_driver_preinit() 805 config->ep_cfg_in[i].caps.iso = 1; in udc_mcux_driver_preinit() 806 config->ep_cfg_in[i].caps.mps = 1024; in udc_mcux_driver_preinit() 807 config->ep_cfg_in[i].caps.high_bandwidth = 1; in udc_mcux_driver_preinit() 810 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_mcux_driver_preinit() [all …]
|
D | udc_mcux_ip3511.c | 42 struct udc_ep_config *ep_cfg_in; member 815 config->ep_cfg_in[i].caps.in = 1; in udc_mcux_driver_preinit() 817 config->ep_cfg_in[i].caps.control = 1; in udc_mcux_driver_preinit() 818 config->ep_cfg_in[i].caps.mps = 64; in udc_mcux_driver_preinit() 820 config->ep_cfg_in[i].caps.bulk = 1; in udc_mcux_driver_preinit() 821 config->ep_cfg_in[i].caps.interrupt = 1; in udc_mcux_driver_preinit() 822 config->ep_cfg_in[i].caps.iso = 1; in udc_mcux_driver_preinit() 823 config->ep_cfg_in[i].caps.mps = 1024; in udc_mcux_driver_preinit() 826 config->ep_cfg_in[i].caps.high_bandwidth = 1; in udc_mcux_driver_preinit() 830 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_mcux_driver_preinit() [all …]
|
D | udc_ambiq.c | 66 struct udc_ep_config *ep_cfg_in; member 846 cfg->ep_cfg_in[i].caps.in = 1; in udc_ambiq_driver_init() 848 cfg->ep_cfg_in[i].caps.control = 1; in udc_ambiq_driver_init() 849 cfg->ep_cfg_in[i].caps.mps = EP0_MPS; in udc_ambiq_driver_init() 851 cfg->ep_cfg_in[i].caps.bulk = 1; in udc_ambiq_driver_init() 852 cfg->ep_cfg_in[i].caps.interrupt = 1; in udc_ambiq_driver_init() 853 cfg->ep_cfg_in[i].caps.iso = 1; in udc_ambiq_driver_init() 854 cfg->ep_cfg_in[i].caps.mps = ep_mps; in udc_ambiq_driver_init() 857 cfg->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_ambiq_driver_init() 858 err = udc_register_ep(dev, &cfg->ep_cfg_in[i]); in udc_ambiq_driver_init() [all …]
|
D | udc_kinetis.c | 90 struct udc_ep_config *ep_cfg_in; member 1114 config->ep_cfg_in[i].caps.in = 1; in usbfsotg_driver_preinit() 1116 config->ep_cfg_in[i].caps.control = 1; in usbfsotg_driver_preinit() 1117 config->ep_cfg_in[i].caps.mps = 64; in usbfsotg_driver_preinit() 1119 config->ep_cfg_in[i].caps.bulk = 1; in usbfsotg_driver_preinit() 1120 config->ep_cfg_in[i].caps.interrupt = 1; in usbfsotg_driver_preinit() 1121 config->ep_cfg_in[i].caps.iso = 1; in usbfsotg_driver_preinit() 1122 config->ep_cfg_in[i].caps.mps = 1023; in usbfsotg_driver_preinit() 1125 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in usbfsotg_driver_preinit() 1126 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in usbfsotg_driver_preinit() [all …]
|
D | udc_rpi_pico.c | 30 struct udc_ep_config *ep_cfg_in; member 1029 config->ep_cfg_in[i].caps.in = 1; in udc_rpi_pico_driver_preinit() 1031 config->ep_cfg_in[i].caps.control = 1; in udc_rpi_pico_driver_preinit() 1032 config->ep_cfg_in[i].caps.mps = 64; in udc_rpi_pico_driver_preinit() 1034 config->ep_cfg_in[i].caps.bulk = 1; in udc_rpi_pico_driver_preinit() 1035 config->ep_cfg_in[i].caps.interrupt = 1; in udc_rpi_pico_driver_preinit() 1036 config->ep_cfg_in[i].caps.iso = 1; in udc_rpi_pico_driver_preinit() 1037 config->ep_cfg_in[i].caps.mps = mps; in udc_rpi_pico_driver_preinit() 1040 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_rpi_pico_driver_preinit() 1041 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in udc_rpi_pico_driver_preinit() [all …]
|
D | udc_stm32.c | 1107 static struct udc_ep_config ep_cfg_in[DT_INST_PROP(0, num_bidir_endpoints)]; variable 1146 for (unsigned int i = 0; i < ARRAY_SIZE(ep_cfg_in); i++) { in udc_stm32_driver_init0() 1147 ep_cfg_in[i].caps.in = 1; in udc_stm32_driver_init0() 1149 ep_cfg_in[i].caps.control = 1; in udc_stm32_driver_init0() 1150 ep_cfg_in[i].caps.mps = cfg->ep0_mps; in udc_stm32_driver_init0() 1152 ep_cfg_in[i].caps.bulk = 1; in udc_stm32_driver_init0() 1153 ep_cfg_in[i].caps.interrupt = 1; in udc_stm32_driver_init0() 1154 ep_cfg_in[i].caps.iso = 1; in udc_stm32_driver_init0() 1155 ep_cfg_in[i].caps.mps = 1023; in udc_stm32_driver_init0() 1158 ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_stm32_driver_init0() [all …]
|
D | udc_dwc2.h | 43 struct udc_ep_config *ep_cfg_in; member
|
D | udc_it82xx2.c | 143 struct udc_ep_config *ep_cfg_in; member 1475 config->ep_cfg_in[0].caps.mps, 0); in it82xx2_init() 1563 config->ep_cfg_in[i].caps.in = 1; in it82xx2_usb_driver_preinit() 1565 config->ep_cfg_in[i].caps.control = 1; in it82xx2_usb_driver_preinit() 1566 config->ep_cfg_in[i].caps.mps = USB_CONTROL_EP_MPS; in it82xx2_usb_driver_preinit() 1568 config->ep_cfg_in[i].caps.bulk = 1; in it82xx2_usb_driver_preinit() 1569 config->ep_cfg_in[i].caps.interrupt = 1; in it82xx2_usb_driver_preinit() 1570 config->ep_cfg_in[i].caps.iso = 1; in it82xx2_usb_driver_preinit() 1571 config->ep_cfg_in[i].caps.mps = 64; in it82xx2_usb_driver_preinit() 1574 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in it82xx2_usb_driver_preinit() [all …]
|
D | udc_numaker.c | 111 struct udc_ep_config *ep_cfg_in; member 1681 config->ep_cfg_in[i].caps.in = 1; in udc_numaker_driver_preinit() 1683 config->ep_cfg_in[i].caps.control = 1; in udc_numaker_driver_preinit() 1684 config->ep_cfg_in[i].caps.mps = 64; in udc_numaker_driver_preinit() 1686 config->ep_cfg_in[i].caps.bulk = 1; in udc_numaker_driver_preinit() 1687 config->ep_cfg_in[i].caps.interrupt = 1; in udc_numaker_driver_preinit() 1688 config->ep_cfg_in[i].caps.iso = 1; in udc_numaker_driver_preinit() 1689 config->ep_cfg_in[i].caps.mps = 1023; in udc_numaker_driver_preinit() 1692 config->ep_cfg_in[i].addr = USB_EP_DIR_IN | i; in udc_numaker_driver_preinit() 1693 err = udc_register_ep(dev, &config->ep_cfg_in[i]); in udc_numaker_driver_preinit() [all …]
|
D | udc_dwc2.c | 2178 config->ep_cfg_in[n].caps.control = 1; in dwc2_driver_preinit() 2179 config->ep_cfg_in[n].caps.mps = 64; in dwc2_driver_preinit() 2181 config->ep_cfg_in[n].caps.bulk = 1; in dwc2_driver_preinit() 2182 config->ep_cfg_in[n].caps.interrupt = 1; in dwc2_driver_preinit() 2183 config->ep_cfg_in[n].caps.iso = 1; in dwc2_driver_preinit() 2184 config->ep_cfg_in[n].caps.high_bandwidth = data->caps.hs; in dwc2_driver_preinit() 2185 config->ep_cfg_in[n].caps.mps = mps; in dwc2_driver_preinit() 2188 config->ep_cfg_in[n].caps.in = 1; in dwc2_driver_preinit() 2189 config->ep_cfg_in[n].addr = USB_EP_DIR_IN | i; in dwc2_driver_preinit() 2192 err = udc_register_ep(dev, &config->ep_cfg_in[n]); in dwc2_driver_preinit() [all …]
|