Searched refs:clk_idx (Results 1 – 4 of 4) sorted by relevance
348 int clk_idx; in get_mclk_rate() local366 clk_idx = clk_lookup_by_name(clk_data, clk_name); in get_mclk_rate()367 if (clk_idx < 0) { in get_mclk_rate()369 return clk_idx; in get_mclk_rate()373 UINT_TO_POINTER(clk_data->clocks[clk_idx]), in get_mclk_rate()
201 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(spi_init_cfg.resource->block_num); in spi_config() local203 result = _cyhal_utils_peri_pclk_assign_divider(clk_idx, &data->obj.clock); in spi_config()
465 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(uart_init_cfg.resource->block_num); in ifx_cat1_uart_init() local467 result = _cyhal_utils_peri_pclk_assign_divider(clk_idx, uart_init_cfg.clock); in ifx_cat1_uart_init()
419 en_clk_dst_t clk_idx = _cyhal_scb_get_clock_index(i2c_init_cfg.resource->block_num); in ifx_cat1_i2c_init() local421 result = _cyhal_utils_peri_pclk_assign_divider(clk_idx, i2c_init_cfg.clock); in ifx_cat1_i2c_init()