Home | History | Annotate | Download | only in umcpmioctl

Lines Matching refs:argcount

54 		int argcount = start;
79 while (argcount < end) {
81 if (strncmp(argv[argcount], "GP0", 4) == 0) {
84 if (strncmp(argv[argcount], "GP1", 4) == 0) {
87 if (strncmp(argv[argcount], "GP2", 4) == 0) {
90 if (strncmp(argv[argcount], "GP3", 4) == 0) {
95 fprintf(stderr, "NOT GPn: %d %s\n", argcount, argv[argcount]);
99 argcount++;
100 if (argcount < end) {
102 if (strncmp(argv[argcount], "GPIO_PIN_INPUT", 15) == 0) {
107 if (strncmp(argv[argcount], "GPIO_PIN_OUTPUT", 16) == 0) {
111 if (strncmp(argv[argcount], "GPIO_PIN_ALT0", 14) == 0) {
117 if (strncmp(argv[argcount], "GPIO_PIN_ALT1", 14) == 0) {
123 if (strncmp(argv[argcount], "GPIO_PIN_ALT2", 14) == 0) {
129 if (strncmp(argv[argcount], "GPIO_PIN_ALT3", 14) == 0) {
135 if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ZERO", 20) == 0) {
139 if (strncmp(argv[argcount], "DEFAULT_OUTPUT_ONE", 19) == 0) {
145 fprintf(stderr, "BAD ARGUMENT: %d %s\n", argcount, argv[argcount]);
153 argcount++;