Lines Matching refs:options
622 static int vrc4171_card_setup(char *options)
624 if (options == NULL || *options == '\0')
627 if (strncmp(options, "irq:", 4) == 0) {
629 options += 4;
630 irq = simple_strtoul(options, &options, 0);
634 if (*options != ',')
636 options++;
639 if (strncmp(options, "slota:", 6) == 0) {
640 options += 6;
641 if (*options != '\0') {
642 if (strncmp(options, "memnoprobe", 10) == 0) {
644 options += 10;
645 } else if (strncmp(options, "ionoprobe", 9) == 0) {
647 options += 9;
648 } else if ( strncmp(options, "noprobe", 7) == 0) {
650 options += 7;
653 if (*options != ',')
655 options++;
661 if (strncmp(options, "slotb:", 6) == 0) {
662 options += 6;
663 if (*options != '\0') {
664 if (strncmp(options, "pccard", 6) == 0) {
666 options += 6;
667 } else if (strncmp(options, "cf", 2) == 0) {
669 options += 2;
670 } else if (strncmp(options, "flashrom", 8) == 0) {
672 options += 8;
673 } else if (strncmp(options, "none", 4) == 0) {
675 options += 4;
678 if (*options != ',')
680 options++;
682 if (strncmp(options, "memnoprobe", 10) == 0)
684 if (strncmp(options, "ionoprobe", 9) == 0)
686 if (strncmp(options, "noprobe", 7) == 0)