Lines Matching refs:mask
59 uint32_t mask, in gpio_cmsdk_ahb_port_set_masked_raw() argument
64 cfg->port->dataout = (cfg->port->dataout & ~mask) | (mask & value); in gpio_cmsdk_ahb_port_set_masked_raw()
70 uint32_t mask) in gpio_cmsdk_ahb_port_set_bits_raw() argument
74 cfg->port->dataout |= mask; in gpio_cmsdk_ahb_port_set_bits_raw()
80 uint32_t mask) in gpio_cmsdk_ahb_port_clear_bits_raw() argument
84 cfg->port->dataout &= ~mask; in gpio_cmsdk_ahb_port_clear_bits_raw()
90 uint32_t mask) in gpio_cmsdk_ahb_port_toggle_bits() argument
94 cfg->port->dataout ^= mask; in gpio_cmsdk_ahb_port_toggle_bits()
99 static int cmsdk_ahb_gpio_config(const struct device *dev, uint32_t mask, in cmsdk_ahb_gpio_config() argument
124 gpio_cmsdk_ahb_port_set_bits_raw(dev, mask); in cmsdk_ahb_gpio_config()
126 gpio_cmsdk_ahb_port_clear_bits_raw(dev, mask); in cmsdk_ahb_gpio_config()
128 cfg->port->outenableset = mask; in cmsdk_ahb_gpio_config()
130 cfg->port->outenableclr = mask; in cmsdk_ahb_gpio_config()
133 cfg->port->altfuncclr = mask; in cmsdk_ahb_gpio_config()