Lines Matching defs:config
62 " cfgadm -x usb_config -o config=<index of desired configuration> ap_id\n",
733 set_configuration(const char *ap_id, uint_t config, char *driver,
742 DPRINTF("set_configuration: ap_id: %s, config:%d\n", ap_id, config);
772 DPRINTF("calling add_entry: vid: 0x%x pid:0x%x config:0x%x,",
773 descrp->idVendor, descrp->idProduct, config);
792 config, /* new cfgndx */
826 get_config(const char *ap_id, uint_t *config)
834 DPRINTF("get_config: get current config descr failed\n");
837 *config = *config_val;
859 * Note this forces the new default config to take effect.
890 uint_t config; /* curr cfg index */
939 if ((rv = get_config(ap_id, &config)) != CFGA_USB_OK) {
969 prod_str, dev_descrp->bNumConfigurations, config,
1282 uint_t config = 0;
1290 "config", /* 0 */
1307 case 0: /* config */
1315 config = strtol(value,
1319 "config conversion"
1353 /* config is mandatory */
1359 DPRINTF("config = %x\n", config);
1364 /* len + 8 to account for config, \n and white space */
1368 USB_CONFIRM_0, ap_id, config, USB_CONFIRM_1);
1389 if (config > dev_descrp->bNumConfigurations - 1) {
1390 DPRINTF("cfga_private_func: config index requested "
1392 config, dev_descrp->bNumConfigurations - 1);
1403 if (actual_config == config) {
1404 DPRINTF("cfga_private_func: config index requested "
1405 "(%d) matches the actual config value %d\n",
1406 config, actual_config);
1412 if ((rv = set_configuration(ap_id, config, driver,
1417 /* Reset device to force new config to take effect */