Lines Matching refs:dir
490 uint32_t dir; member
519 ~s->ilevel & ~s->dir; in strongarm_gpio_set()
523 s->ilevel & ~s->dir; in strongarm_gpio_set()
537 level = s->olevel & s->dir; in strongarm_gpio_handler_update()
554 return s->dir; in strongarm_gpio_read()
576 return (s->olevel & s->dir) | in strongarm_gpio_read()
577 (s->ilevel & ~s->dir); in strongarm_gpio_read()
598 s->dir = value & 0x0fffffff; in strongarm_gpio_write()
686 VMSTATE_UINT32(dir, StrongARMGPIOInfo),
730 uint32_t dir; member
754 level = s->olevel & s->dir; in strongarm_ppc_handler_update()
771 return s->dir | ~0x3fffff; in strongarm_ppc_read()
774 return (s->olevel & s->dir) | in strongarm_ppc_read()
775 (s->ilevel & ~s->dir) | in strongarm_ppc_read()
803 s->dir = value & 0x3fffff; in strongarm_ppc_write()
808 s->olevel = value & s->dir & 0x3fffff; in strongarm_ppc_write()
859 VMSTATE_UINT32(dir, StrongARMPPCInfo),