Lines Matching refs:addr
34 static void gpio_set_value(uint32_t addr, uint8_t gpio, uint32_t val) in gpio_set_value() argument
38 reg = mmio_read_32(addr); in gpio_set_value()
43 mmio_write_32(addr, reg); in gpio_set_value()
46 static void gpio_direction_output(uint32_t addr, uint8_t gpio) in gpio_direction_output() argument
50 reg = mmio_read_32(addr); in gpio_direction_output()
52 mmio_write_32(addr, reg); in gpio_direction_output()
55 static void gpio_pfc(uint32_t addr, uint8_t gpio) in gpio_pfc() argument
59 reg = mmio_read_32(addr); in gpio_pfc()
62 mmio_write_32(addr, reg); in gpio_pfc()
65 static void cpld_write(uint8_t addr, uint32_t data) in cpld_write() argument
79 gpio_set_value(GPIO_OUTDT6, MOSI, addr & 0x80); in cpld_write()
81 addr <<= 1; in cpld_write()