Lines Matching defs:config
21 #include "config.h"
699 usbi_dbg ("active config: %u, first config: %u", dev->active_config, dev->first_config);
1141 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) {
1144 *config = (int) dpriv->active_config;
1149 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) {
1160 kresult = (*(dpriv->device))->SetConfiguration (dpriv->device, config);
1169 dpriv->active_config = config;
1240 struct libusb_config_descriptor *config;
1250 rc = libusb_get_active_config_descriptor (dev_handle->dev, &config);
1255 endpoint_desc = config->interface[iface].altsetting[alt_setting].endpoint + i - 1;