Lines Matching refs:reg_size
40 int reg_size; member
67 regv = litex_read(config->reg_addr, config->reg_size); in set_bit()
69 litex_write(config->reg_addr, config->reg_size, new_regv); in set_bit()
74 int regv = litex_read(config->reg_addr, config->reg_size); in get_bit()
81 litex_write(config->reg_addr, config->reg_size, value); in set_port()
86 int regv = litex_read(config->reg_addr, config->reg_size); in get_port()
199 litex_read(gpio_config->ev_pending_addr, gpio_config->reg_size); in gpio_litex_irq_handler()
201 litex_read(gpio_config->ev_enable_addr, gpio_config->reg_size); in gpio_litex_irq_handler()
204 litex_write(gpio_config->ev_pending_addr, gpio_config->reg_size, in gpio_litex_irq_handler()
231 gpio_config->reg_size); in gpio_litex_pin_interrupt_configure()
233 gpio_config->reg_size); in gpio_litex_pin_interrupt_configure()
235 gpio_config->reg_size); in gpio_litex_pin_interrupt_configure()
237 litex_write(gpio_config->ev_enable_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
242 litex_write(gpio_config->ev_mode_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
244 litex_write(gpio_config->ev_edge_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
248 litex_write(gpio_config->ev_mode_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
250 litex_write(gpio_config->ev_edge_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
254 litex_write(gpio_config->ev_mode_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
262 gpio_config->reg_size); in gpio_litex_pin_interrupt_configure()
263 litex_write(gpio_config->ev_enable_addr, gpio_config->reg_size, in gpio_litex_pin_interrupt_configure()
320 .reg_size = DT_INST_REG_SIZE(n), \