Lines Matching refs:interfaces
121 static struct interface interfaces[] = {
122 /* Begin Non-multiplexed interfaces */
155 /* End Non-multiplexed interfaces */
618 if (interfaces[ioif].used) {
621 interfaces[ioif].name,
623 interfaces[ioif].owner);
630 group_set = interfaces[ioif].groups;
636 if_group_use = interfaces[ioif].group_a;
639 if_group_use = interfaces[ioif].group_b;
642 if_group_use = interfaces[ioif].group_c;
645 if_group_use = interfaces[ioif].group_d;
648 if_group_use = interfaces[ioif].group_e;
651 if_group_use = interfaces[ioif].group_f;
660 grp->name, interfaces[ioif].name);
669 if (((interfaces[ioif].gpio_g_in & gpio_in_pins) !=
670 interfaces[ioif].gpio_g_in) ||
671 ((interfaces[ioif].gpio_g_out & gpio_out_pins) !=
672 interfaces[ioif].gpio_g_out) ||
673 ((interfaces[ioif].gpio_b & gpio_pb_pins) !=
674 interfaces[ioif].gpio_b)) {
688 /* Begin Non-multiplexed interfaces */
694 /* End Non-multiplexed interfaces */
779 group_set = interfaces[ioif].groups;
785 if_group_use = interfaces[ioif].group_a;
788 if_group_use = interfaces[ioif].group_b;
791 if_group_use = interfaces[ioif].group_c;
794 if_group_use = interfaces[ioif].group_d;
797 if_group_use = interfaces[ioif].group_e;
800 if_group_use = interfaces[ioif].group_f;
810 interfaces[ioif].used = 1;
811 interfaces[ioif].owner = (char*)device_id;
831 interfaces[ioif].gpio_g_in,
832 interfaces[ioif].gpio_g_out,
833 interfaces[ioif].gpio_b));
835 gpio_in_pins &= ~interfaces[ioif].gpio_g_in;
836 gpio_out_pins &= ~interfaces[ioif].gpio_g_out;
837 gpio_pb_pins &= ~interfaces[ioif].gpio_b;
865 if (!interfaces[ioif].used) {
871 group_set = interfaces[ioif].groups;
877 if_group_use = interfaces[ioif].group_a;
880 if_group_use = interfaces[ioif].group_b;
883 if_group_use = interfaces[ioif].group_c;
886 if_group_use = interfaces[ioif].group_d;
889 if_group_use = interfaces[ioif].group_e;
892 if_group_use = interfaces[ioif].group_f;
904 interfaces[ioif].used = 0;
905 interfaces[ioif].owner = NULL;
910 interfaces[ioif].gpio_g_in,
911 interfaces[ioif].gpio_g_out,
912 interfaces[ioif].gpio_b));
914 gpio_in_pins |= interfaces[ioif].gpio_g_in;
915 gpio_out_pins |= interfaces[ioif].gpio_g_out;
916 gpio_pb_pins |= interfaces[ioif].gpio_b;