Searched refs:clks (Results 1 – 2 of 2) sorted by relevance
291 uint32_t clks; in spi_pw_enable_clk() local294 clks = spi_pw_reg_read(dev, PW_SPI_REG_CLKS); in spi_pw_enable_clk()295 clks &= ~(PW_SPI_CLKS_MVAL_MASK); in spi_pw_enable_clk()296 clks &= ~(PW_SPI_CLKS_NVAL_MASK); in spi_pw_enable_clk()297 clks |= (PW_SPI_CLKS_MVAL | PW_SPI_CLKS_NVAL | in spi_pw_enable_clk()299 spi_pw_reg_write(dev, PW_SPI_REG_CLKS, clks); in spi_pw_enable_clk()
1122 uint16_t clks = BIT(9) | DWT_PMSC_CTRL0_SYSCLKS_19M; in dwt_set_sysclks_xti() local1129 clks |= BIT(8); in dwt_set_sysclks_xti()1133 dwt_reg_write_u16(dev, DWT_PMSC_ID, DWT_PMSC_CTRL0_OFFSET, clks); in dwt_set_sysclks_xti()