Home
last modified time | relevance | path

Searched refs:uclk (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/drivers/usb/host/
Dehci-atmel.c37 struct clk *uclk; member
54 clk_prepare_enable(atmel_ehci->uclk); in atmel_start_clock()
65 clk_disable_unprepare(atmel_ehci->uclk); in atmel_stop_clock()
141 atmel_ehci->uclk = devm_clk_get(&pdev->dev, "usb_clk"); in ehci_atmel_drv_probe()
142 if (IS_ERR(atmel_ehci->uclk)) { in ehci_atmel_drv_probe()
144 retval = PTR_ERR(atmel_ehci->uclk); in ehci_atmel_drv_probe()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/
Ddml2_mcg_dcn4.c62 for (i = 0; i < soc_bb->clk_table.uclk.num_clk_values; i++) { in build_min_clk_table_fine_grained()
63 …tries[i].pre_derate_dram_bw_kbps = uclk_to_dram_bw_kbps(soc_bb->clk_table.uclk.clk_values_khz[i], … in build_min_clk_table_fine_grained()
67 min_table->dram_bw_table.num_entries = soc_bb->clk_table.uclk.num_clk_values; in build_min_clk_table_fine_grained()
137 for (i = 0; i < soc_bb->clk_table.uclk.num_clk_values; i++) { in build_min_clk_table_coarse_grained()
138 …tries[i].pre_derate_dram_bw_kbps = uclk_to_dram_bw_kbps(soc_bb->clk_table.uclk.clk_values_khz[i], … in build_min_clk_table_coarse_grained()
142 min_table->dram_bw_table.num_entries = soc_bb->clk_table.uclk.num_clk_values; in build_min_clk_table_coarse_grained()
158 if (soc_bb->clk_table.uclk.num_clk_values > DML_MCG_MAX_CLK_TABLE_SIZE) in build_min_clock_table()
170 soc_bb->clk_table.fclk.num_clk_values == soc_bb->clk_table.uclk.num_clk_values) in build_min_clock_table()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
Ddml2_dpmm_dcn4.c23 double *uclk, in get_minimum_clocks_for_latency() argument
36 …*uclk = dram_bw_kbps_to_uclk_khz(in_out->min_clk_table->dram_bw_table.entries[min_clock_index_for_… in get_minimum_clocks_for_latency()
259 result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.active.uclk_khz, &state_table->uclk); in map_soc_min_clocks_to_dpm_fine_grained()
266 …t = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.svp_prefetch.uclk_khz, &state_table->uclk); in map_soc_min_clocks_to_dpm_fine_grained()
273 result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.idle.uclk_khz, &state_table->uclk); in map_soc_min_clocks_to_dpm_fine_grained()
284 for (index = 0; index < state_table->uclk.num_clk_values; index++) { in map_soc_min_clocks_to_dpm_coarse_grained()
287 display_cfg->min_clocks.dcn4x.active.uclk_khz <= state_table->uclk.clk_values_khz[index]) { in map_soc_min_clocks_to_dpm_coarse_grained()
290 display_cfg->min_clocks.dcn4x.active.uclk_khz = state_table->uclk.clk_values_khz[index]; in map_soc_min_clocks_to_dpm_coarse_grained()
298 for (index = 0; index < state_table->uclk.num_clk_values; index++) { in map_soc_min_clocks_to_dpm_coarse_grained()
301 display_cfg->min_clocks.dcn4x.idle.uclk_khz <= state_table->uclk.clk_values_khz[index]) { in map_soc_min_clocks_to_dpm_coarse_grained()
[all …]
/linux-6.12.1/arch/arm/mach-omap1/
Dclock.c667 struct uart_clk *uclk; in omap1_clk_enable_uart_functional_16xx() local
672 uclk = (struct uart_clk *)clk; in omap1_clk_enable_uart_functional_16xx()
673 omap_writeb((omap_readb(uclk->sysc_addr) & ~0x10) | 8, in omap1_clk_enable_uart_functional_16xx()
674 uclk->sysc_addr); in omap1_clk_enable_uart_functional_16xx()
683 struct uart_clk *uclk; in omap1_clk_disable_uart_functional_16xx() local
686 uclk = (struct uart_clk *)clk; in omap1_clk_disable_uart_functional_16xx()
687 omap_writeb((omap_readb(uclk->sysc_addr) & ~0x18), uclk->sysc_addr); in omap1_clk_disable_uart_functional_16xx()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c154 dml_clk_table->uclk.num_clk_values = dc_clk_table->num_entries_per_clk.num_memclk_levels; in dml21_apply_soc_bb_overrides()
156 if (i < dml_clk_table->uclk.num_clk_values) { in dml21_apply_soc_bb_overrides()
160 dml_clk_table->uclk.clk_values_khz[i] = dc_bw_params->dc_mode_limit.memclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
161 dml_clk_table->uclk.num_clk_values = i + 1; in dml21_apply_soc_bb_overrides()
163 dml_clk_table->uclk.clk_values_khz[i] = 0; in dml21_apply_soc_bb_overrides()
164 dml_clk_table->uclk.num_clk_values = i; in dml21_apply_soc_bb_overrides()
167 dml_clk_table->uclk.clk_values_khz[i] = dc_clk_table->entries[i].memclk_mhz * 1000; in dml21_apply_soc_bb_overrides()
170 dml_clk_table->uclk.clk_values_khz[i] = 0; in dml21_apply_soc_bb_overrides()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_soc_parameter_types.h116 struct dml2_clk_table uclk; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_utils.c385 for (i = 0; i < clk_table->uclk.num_clk_values; i++) { in dml2_core_utils_get_active_min_uclk_dpm_index()
386 …dml2_printf("DML::%s: clk_table.uclk.clk_values_khz[%d] = %d\n", __func__, i, clk_table->uclk.clk_… in dml2_core_utils_get_active_min_uclk_dpm_index()
388 if (uclk_freq_khz == clk_table->uclk.clk_values_khz[i]) { in dml2_core_utils_get_active_min_uclk_dpm_index()
Ddml2_core_dcn4.c525 for (i = 0; i < soc_bb->clk_table.uclk.num_clk_values; i++) { in lookup_uclk_dpm_index_by_freq()
526 if (uclk_freq_khz == soc_bb->clk_table.uclk.clk_values_khz[i]) in lookup_uclk_dpm_index_by_freq()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Dsmu_v12_0.c343 smu->smu_table.boot_values.uclk = v_3_1->bootup_mclk_in10khz; in smu_v12_0_get_vbios_bootup_values()
360 smu->smu_table.boot_values.uclk = v_3_3->bootup_mclk_in10khz; in smu_v12_0_get_vbios_bootup_values()
Drenoir_ppt.c293 clock_limit = smu->smu_table.boot_values.uclk; in renoir_get_dpm_ultimate_freq()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/
Ddcn4_soc_bb.h86 .uclk = {
Ddcn3_soc_bb.h136 .uclk = {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c707 !dc->work_arounds.clock_update_disable_mask.uclk) { in dcn32_update_clocks()
747 !dc->work_arounds.clock_update_disable_mask.uclk) { in dcn32_update_clocks()
755 !dc->work_arounds.clock_update_disable_mask.uclk) { in dcn32_update_clocks()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c590 smu->smu_table.boot_values.uclk = v_3_1->bootup_mclk_in10khz; in smu_v14_0_get_vbios_bootup_values()
604 smu->smu_table.boot_values.uclk = v_3_3->bootup_mclk_in10khz; in smu_v14_0_get_vbios_bootup_values()
619 smu->smu_table.boot_values.uclk = v_3_4->bootup_mclk_in10khz; in smu_v14_0_get_vbios_bootup_values()
1045 clock_limit = smu->smu_table.boot_values.uclk; in smu_v14_0_get_dpm_ultimate_freq()
Dsmu_v14_0_0_ppt.c786 clock_limit = smu->smu_table.boot_values.uclk; in smu_v14_0_1_get_dpm_ultimate_freq()
908 clock_limit = smu->smu_table.boot_values.uclk; in smu_v14_0_0_get_dpm_ultimate_freq()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c607 smu->smu_table.boot_values.uclk = v_3_1->bootup_mclk_in10khz; in smu_v13_0_get_vbios_bootup_values()
621 smu->smu_table.boot_values.uclk = v_3_3->bootup_mclk_in10khz; in smu_v13_0_get_vbios_bootup_values()
636 smu->smu_table.boot_values.uclk = v_3_4->bootup_mclk_in10khz; in smu_v13_0_get_vbios_bootup_values()
891 max_sustainable_clocks->uclock = smu->smu_table.boot_values.uclk / 100; in smu_v13_0_init_max_sustainable_clocks()
1892 *value = smu->smu_table.boot_values.uclk; in smu_v13_0_get_boot_freq_by_index()
Daldebaran_ppt.c397 dpm_table->dpm_levels[0].value = smu->smu_table.boot_values.uclk / 100; in aldebaran_set_default_dpm_table()
Dsmu_v13_0_7_ppt.c634 dpm_table->dpm_levels[0].value = smu->smu_table.boot_values.uclk / 100; in smu_v13_0_7_set_default_dpm_table()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c552 smu->smu_table.boot_values.uclk = v_3_1->bootup_mclk_in10khz; in smu_v11_0_get_vbios_bootup_values()
569 smu->smu_table.boot_values.uclk = v_3_3->bootup_mclk_in10khz; in smu_v11_0_get_vbios_bootup_values()
833 max_sustainable_clocks->uclock = smu->smu_table.boot_values.uclk / 100; in smu_v11_0_init_max_sustainable_clocks()
1715 clock_limit = smu->smu_table.boot_values.uclk; in smu_v11_0_get_dpm_ultimate_freq()
Dvangogh_ppt.c906 clock_limit = smu->smu_table.boot_values.uclk; in vangogh_get_dpm_ultimate_freq()
Darcturus_ppt.c416 dpm_table->dpm_levels[0].value = smu->smu_table.boot_values.uclk / 100; in arcturus_set_default_dpm_table()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h357 unsigned int uclk; member
Dt3_hw.c586 VPD_ENTRY(uclk, 6); /* uP clk */
671 ret = vpdstrtouint(vpd.uclk_data, vpd.uclk_len, 10, &p->uclk); in get_vpd_params()
3364 t3_write_reg(adapter, A_CIM_HOST_ACC_DATA, vpd->uclk | fw_params); in t3_init_hw()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h288 uint32_t uclk; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc.h303 uint8_t uclk : 1; member

12