Lines Matching defs:config
64 " cfgadm -x usb_config -o config=<index of desired configuration> ap_id\n",
735 set_configuration(const char *ap_id, uint_t config, char *driver,
744 DPRINTF("set_configuration: ap_id: %s, config:%d\n", ap_id, config);
774 DPRINTF("calling add_entry: vid: 0x%x pid:0x%x config:0x%x,",
775 descrp->idVendor, descrp->idProduct, config);
794 config, /* new cfgndx */
828 get_config(const char *ap_id, uint_t *config)
836 DPRINTF("get_config: get current config descr failed\n");
839 *config = *config_val;
861 * Note this forces the new default config to take effect.
892 uint_t config; /* curr cfg index */
941 if ((rv = get_config(ap_id, &config)) != CFGA_USB_OK) {
971 prod_str, dev_descrp->bNumConfigurations, config,
1284 uint_t config = 0;
1292 "config", /* 0 */
1309 case 0: /* config */
1317 config = strtol(value,
1321 "config conversion"
1355 /* config is mandatory */
1361 DPRINTF("config = %x\n", config);
1366 /* len + 8 to account for config, \n and white space */
1370 USB_CONFIRM_0, ap_id, config, USB_CONFIRM_1);
1391 if (config > dev_descrp->bNumConfigurations - 1) {
1392 DPRINTF("cfga_private_func: config index requested "
1394 config, dev_descrp->bNumConfigurations - 1);
1405 if (actual_config == config) {
1406 DPRINTF("cfga_private_func: config index requested "
1407 "(%d) matches the actual config value %d\n",
1408 config, actual_config);
1414 if ((rv = set_configuration(ap_id, config, driver,
1419 /* Reset device to force new config to take effect */