Lines Matching refs:value
521 static void on_off(int value) in on_off() argument
523 puts(value ? " (on)" : " (off)"); in on_off()
1564 static void bus_state_value(unsigned value) argument
1566 if (value == BUSSTATE_ON)
1568 else if (value == BUSSTATE_OFF)
1570 else if (value == BUSSTATE_TRISTATE)
1573 printf(" (unknown: %u)\n", value);
1650 static void print_flag(int flag, const char *s, unsigned long value) argument
1653 printf(" setting %s to %lu\n", s, value);
2064 static int parse_opts(unsigned long *value, int min, int max) argument
2067 *value = xatol_range(optarg, min, max);
2072 static int parse_opts_0_max(unsigned long *value, int max) argument
2074 return parse_opts(value, 0, max);
2076 static int parse_opts_0_1(unsigned long *value) argument
2078 return parse_opts(value, 0, 1);
2080 static int parse_opts_0_INTMAX(unsigned long *value) argument
2082 return parse_opts(value, 0, INT_MAX);
2085 static void parse_xfermode(int flag, smallint *get, smallint *set, int *value) argument
2090 *value = translate_xfermode(optarg);
2091 *set = (*value > -1);