Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_bcm2711.c47 #define FROM_U64(val, idx) ((uint32_t)((val >> (idx * 32)) & UINT32_MAX)) macro
158 sys_write32(FROM_U64(set, 0), GPSET(data->base, 0)); in gpio_bcm2711_port_set_masked_raw()
159 sys_write32(FROM_U64(clr, 0), GPCLR(data->base, 0)); in gpio_bcm2711_port_set_masked_raw()
160 sys_write32(FROM_U64(set, 1), GPSET(data->base, 1)); in gpio_bcm2711_port_set_masked_raw()
161 sys_write32(FROM_U64(clr, 1), GPCLR(data->base, 1)); in gpio_bcm2711_port_set_masked_raw()
174 sys_write32(FROM_U64(regval, 0), GPSET(data->base, 0)); in gpio_bcm2711_port_set_bits_raw()
175 sys_write32(FROM_U64(regval, 1), GPSET(data->base, 1)); in gpio_bcm2711_port_set_bits_raw()
188 sys_write32(FROM_U64(regval, 0), GPCLR(data->base, 0)); in gpio_bcm2711_port_clear_bits_raw()
189 sys_write32(FROM_U64(regval, 1), GPCLR(data->base, 1)); in gpio_bcm2711_port_clear_bits_raw()
209 sys_write32(FROM_U64(set, 0), GPSET(data->base, 0)); in gpio_bcm2711_port_toggle_bits()
[all …]