Lines Matching refs:pin
83 int pin, value, ovalue, bit;
85 for (pin = 0; pin < 16; ++pin)
87 bit = 1 << pin;
89 /* Make sure this is an output pin. */
93 /* Only signal port if the pin changes value. */
99 HW_TRACE ((me, "outputting gpio %i changed to %i", pin, value));
100 hw_port_event (me, pin, value);
268 HW_TRACE ((me, "pin %i set to %i", my_port, level));
270 /* Only screw with state if this pin is set as an input, and the
279 /* Get the old pin state for calculating an interrupt. */
282 /* Update the new pin state. */