Lines Matching refs:ep_cfg_in
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()
959 static struct udc_ep_config ep_cfg_in[DT_INST_PROP(n, num_bidir_endpoints)]; \
963 .ep_cfg_in = ep_cfg_out, \
964 .ep_cfg_out = ep_cfg_in, \