Lines Matching refs:FROM_U64
47 #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()
210 sys_write32(FROM_U64(clr, 0), GPCLR(data->base, 0)); in gpio_bcm2711_port_toggle_bits()
211 sys_write32(FROM_U64(set, 1), GPSET(data->base, 1)); in gpio_bcm2711_port_toggle_bits()
212 sys_write32(FROM_U64(clr, 1), GPCLR(data->base, 1)); in gpio_bcm2711_port_toggle_bits()
305 sys_write32(FROM_U64(regval, 0), GPEDS(data->base, 0)); in gpio_bcm2711_isr()
306 sys_write32(FROM_U64(regval, 1), GPEDS(data->base, 1)); in gpio_bcm2711_isr()