Lines Matching defs:config
437 /* initialise config wrapper */
459 usb_parse_configuration(struct usb_config_descriptor *config,
469 if ((buffer == NULL) || (config == NULL)) {
475 ps.b.currcfg = config;
477 /* could not parse config or out of memory */
492 /* free config structure */
507 /* free config structure */
518 if (dev->config == NULL) {
522 struct usb_config_descriptor *cf = &dev->config[c];
530 free(dev->config);
531 dev->config = NULL;
560 dev->config = malloc(size);
561 if (dev->config == NULL) {
565 memset(dev->config, 0, size);
576 usb_parse_configuration(dev->config + x, ptr);
578 /* free config buffer */
739 if (dev->config == NULL) {
747 if ((dev->config + i)->bConfigurationValue ==
952 /* XXX get all config descriptors by default */