Lines Matching refs:pad
512 u_int newflags, pad;
518 * since we have no connection to the pad config registers from here).
522 * read the current state of the pad and preset the DR register to drive
535 pad = 0;
537 pad = 1;
540 pad = READ4(sc, IMX_GPIO_PSR_REG);
542 pad = READ4(sc, IMX_GPIO_DR_REG);
543 pad = (pad >> pin->gp_pin) & 1;
546 SET4(sc, IMX_GPIO_DR_REG, (pad << pin->gp_pin));
674 * the pad status register in case the pin is being driven externally.