Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_bcm2711.c146 uint64_t regval, regmask; in gpio_bcm2711_port_set_masked_raw() local
153 regmask = (uint64_t)mask << cfg->offset; in gpio_bcm2711_port_set_masked_raw()
155 set = regval & regmask; in gpio_bcm2711_port_set_masked_raw()
156 clr = regval ^ regmask; in gpio_bcm2711_port_set_masked_raw()
198 uint64_t regval, regmask; in gpio_bcm2711_port_toggle_bits() local
204 regmask = ((uint64_t)pins & BIT_MASK(cfg->ngpios)) << cfg->offset; in gpio_bcm2711_port_toggle_bits()
206 set = regval ^ regmask; in gpio_bcm2711_port_toggle_bits()
207 clr = regval & regmask; in gpio_bcm2711_port_toggle_bits()