Lines Matching refs:input
80 static int parse_nexus_opts(char *input, uint64_t *flags_arg, uint8_t *bank_arg,
86 static int parse_device_opts(char *input, uint64_t *flags_arg,
89 static int parse_ino_opts(char *input, uint64_t *flags_arg,
91 static int parse_msi_opts(char *input, uint64_t *flags_arg, uint16_t *msi_arg);
92 static int parse_intr_set_opts(char *input, uint64_t *flags_arg,
94 static int parse_probeone_opts(char *input, uint64_t *flags_arg,
261 /* parse input to get ino value. */
282 /* parse input to get msi value. */
311 /* parse input to get ino value. */
386 /* For interrupt, parse input to get cpu value. */
893 * input is what the user specified for the options on the commandline,
898 parse_nexus_opts(char *input, uint64_t *flags_arg, uint8_t *bank_arg,
917 if (input == NULL) {
922 while ((*input != '\0') && (rval == SUCCESS)) {
923 switch (getsubopt(&input, nexus_opts, &value)) {
1052 * input is what the user specified for the options on the commandline,
1058 char *input, uint64_t *flags_arg, uint8_t *bus_arg, uint8_t *device_arg,
1104 while ((*input != '\0') && (rval == SUCCESS)) {
1105 switch (getsubopt(&input, bdf_opts, &value)) {
1285 * input is the string of options to parse. flags_arg returns modified with
1289 parse_ino_opts(char *input, uint64_t *flags_arg, uint32_t *cpu_arg,
1296 if (strcmp(input, "all") == 0) {
1299 } else if (strstr(input, ",") == NULL) {
1304 } else if (strstr(input, ",") == NULL) {
1305 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS)
1316 } else if (charvalue = strtok(input, ",")) {
1322 input = strtok(NULL, ",");
1323 if (input == NULL) {
1328 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS)
1352 * input is the string of options to parse. flags_arg returns modified with
1356 parse_msi_opts(char *input, uint64_t *flags_arg, uint16_t *msi_arg)
1361 if (strcmp(input, "all") == 0) {
1363 } else if (strstr(input, ",") == NULL) {
1364 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS)
1374 } else if (strtok(input, ",")) {
1375 input = strtok(NULL, ",");
1376 if (input == NULL) {
1381 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS)
1405 * input is the string of options to parse. flags_arg returns modified with
1409 parse_intr_set_opts(char *input, uint64_t *flags_arg, uint32_t *cpu_arg)
1414 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) {
1436 char *input, uint64_t *flags_arg, uint8_t *bus_arg, uint8_t *device_arg,
1458 while ((*input != '\0') && (rval == SUCCESS)) {
1459 switch (getsubopt(&input, p1_bdf_opts, &value)) {