Home
last modified time | relevance | path

Searched refs:GPIO_DATA_OFFSET (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/drivers/gpio/
Dgpio_stellaris.c49 GPIO_DATA_OFFSET = 0x000, enumerator
95 mask_addr = GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, BIT(pin)); in gpio_stellaris_configure()
122 *value = sys_read32(GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, 0xff)); in gpio_stellaris_port_get_raw()
134 sys_write32(value, GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, mask)); in gpio_stellaris_port_set_masked_raw()
145 sys_write32(mask, GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, mask)); in gpio_stellaris_port_set_bits_raw()
156 sys_write32(0, GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, mask)); in gpio_stellaris_port_clear_bits_raw()
168 value = sys_read32(GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, 0xff)); in gpio_stellaris_port_toggle_bits()
170 sys_write32(value, GPIO_RW_MASK_ADDR(base, GPIO_DATA_OFFSET, 0xff)); in gpio_stellaris_port_toggle_bits()
Dgpio_xlnx_axi.c16 #define GPIO_DATA_OFFSET 0x0000 macro
54 return sys_read32(config->base + GPIO_DATA_OFFSET); in gpio_xlnx_axi_read_data()
62 sys_write32(val, config->base + GPIO_DATA_OFFSET); in gpio_xlnx_axi_write_data()