Lines Matching refs:div
106 void arc_iot_ahb_clk_divisor(uint8_t div) in arc_iot_ahb_clk_divisor() argument
108 sysconf_reg_ptr->AHBCLKDIV = div; in arc_iot_ahb_clk_divisor()
129 void arc_iot_apb_clk_divisor(uint8_t div) in arc_iot_apb_clk_divisor() argument
131 sysconf_reg_ptr->APBCLKDIV = div; in arc_iot_apb_clk_divisor()
152 void arc_iot_dio_clk_divisor(uint8_t div) in arc_iot_dio_clk_divisor() argument
157 void arc_iot_spi_master_clk_divisor(uint8_t id, uint8_t div) in arc_iot_spi_master_clk_divisor() argument
161 (sysconf_reg_ptr->SPI_MST_CLKDIV & 0xffffff00) | div; in arc_iot_spi_master_clk_divisor()
164 (sysconf_reg_ptr->SPI_MST_CLKDIV & 0xffff00ff) | (div << 8); in arc_iot_spi_master_clk_divisor()
167 (sysconf_reg_ptr->SPI_MST_CLKDIV & 0xff00ffff) | (div << 16); in arc_iot_spi_master_clk_divisor()
171 void arc_iot_gpio8b_dbclk_div(uint8_t bank, uint8_t div) in arc_iot_gpio8b_dbclk_div() argument
175 (sysconf_reg_ptr->GPIO8B_DBCLK_DIV & 0xffffff00) | div; in arc_iot_gpio8b_dbclk_div()
178 (sysconf_reg_ptr->GPIO8B_DBCLK_DIV & 0xffff00ff) | (div << 8); in arc_iot_gpio8b_dbclk_div()
181 (sysconf_reg_ptr->GPIO8B_DBCLK_DIV & 0xff00ffff) | (div << 16); in arc_iot_gpio8b_dbclk_div()
184 (sysconf_reg_ptr->GPIO8B_DBCLK_DIV & 0x00ffffff) | (div << 24); in arc_iot_gpio8b_dbclk_div()
188 void arc_iot_gpio4b_dbclk_div(uint8_t bank, uint8_t div) in arc_iot_gpio4b_dbclk_div() argument
192 (sysconf_reg_ptr->GPIO4B_DBCLK_DIV & 0xffffff00) | div; in arc_iot_gpio4b_dbclk_div()
195 (sysconf_reg_ptr->GPIO4B_DBCLK_DIV & 0xffff00ff) | (div << 8); in arc_iot_gpio4b_dbclk_div()
198 (sysconf_reg_ptr->GPIO4B_DBCLK_DIV & 0xff00ffff) | (div << 16); in arc_iot_gpio4b_dbclk_div()
202 void arc_iot_i2s_tx_clk_div(uint8_t div) in arc_iot_i2s_tx_clk_div() argument
204 sysconf_reg_ptr->I2S_TX_SCLKDIV = div; in arc_iot_i2s_tx_clk_div()
207 void arc_iot_i2s_rx_clk_div(uint8_t div) in arc_iot_i2s_rx_clk_div() argument
209 sysconf_reg_ptr->I2S_RX_SCLKDIV = div; in arc_iot_i2s_rx_clk_div()
231 void arc_iot_dvfs_clk_divisor(uint8_t level, uint8_t div) in arc_iot_dvfs_clk_divisor() argument
235 (sysconf_reg_ptr->DVFS_CLKDIV & 0xffffff00) | div; in arc_iot_dvfs_clk_divisor()
238 (sysconf_reg_ptr->DVFS_CLKDIV & 0xffff00ff) | (div << 8); in arc_iot_dvfs_clk_divisor()
241 (sysconf_reg_ptr->DVFS_CLKDIV & 0xff00ffff) | (div << 16); in arc_iot_dvfs_clk_divisor()
244 (sysconf_reg_ptr->DVFS_CLKDIV & 0x00ffffff) | (div << 24); in arc_iot_dvfs_clk_divisor()
277 void arc_iot_uart3_clk_divisor(uint8_t div) in arc_iot_uart3_clk_divisor() argument
279 sysconf_reg_ptr->UART3SCLK_DIV = div; in arc_iot_uart3_clk_divisor()
304 void arc_iot_eflash_clk_div(uint8_t div) in arc_iot_eflash_clk_div() argument
306 sysconf_reg_ptr->AHBCLKDIV |= (div << 8); in arc_iot_eflash_clk_div()