Home
last modified time | relevance | path

Searched refs:clock_source (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Dclock_source.h33 struct clock_source;
162 struct clock_source *);
164 struct clock_source *,
169 struct clock_source *,
173 const struct clock_source *clock_source,
177 struct clock_source *clock_source,
183 struct clock_source { struct
Dresource.h117 struct clock_source *clock_source);
122 struct clock_source *clock_source);
127 struct clock_source *clock_source);
137 struct clock_source *resource_find_used_clk_src_for_sharing(
141 struct clock_source *dc_resource_find_first_free_pll(
Dcore_types.h309 struct clock_source *dp_clock_source;
311 struct clock_source *clock_sources[MAX_CLOCK_SOURCES];
412 struct clock_source *clock_source; member
Dhw_sequencer.h220 enum clock_source_id clock_source,
225 enum clock_source_id clock_source,
230 enum clock_source_id clock_source,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c565 struct clock_source *cs, in dce110_get_pix_clk_dividers()
598 struct clock_source *cs, in dce112_get_pix_clk_dividers()
841 struct clock_source *clock_source, in dce110_program_pix_clk() argument
846 struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(clock_source); in dce110_program_pix_clk()
853 if (clock_source->id != CLOCK_SOURCE_ID_EXTERNAL && in dce110_program_pix_clk()
855 clock_source->ctx->dce_version <= DCE_VERSION_11_0) in dce110_program_pix_clk()
860 bp_pc_params.pll_id = clock_source->id; in dce110_program_pix_clk()
896 if (clock_source->id != CLOCK_SOURCE_ID_EXTERNAL in dce110_program_pix_clk()
915 struct clock_source *clock_source, in dce112_program_pix_clk() argument
920 struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(clock_source); in dce112_program_pix_clk()
[all …]
Ddce_link_encoder.h251 enum clock_source_id clock_source,
260 enum clock_source_id clock_source);
266 enum clock_source_id clock_source);
271 enum clock_source_id clock_source,
Ddce_link_encoder.c1051 enum clock_source_id clock_source, in dce110_link_encoder_enable_tmds_output() argument
1065 cntl.pll_id = clock_source; in dce110_link_encoder_enable_tmds_output()
1089 enum clock_source_id clock_source, in dce110_link_encoder_enable_lvds_output() argument
1101 cntl.pll_id = clock_source; in dce110_link_encoder_enable_lvds_output()
1122 enum clock_source_id clock_source) in dce110_link_encoder_enable_dp_output() argument
1139 cntl.pll_id = clock_source; in dce110_link_encoder_enable_dp_output()
1161 enum clock_source_id clock_source) in dce110_link_encoder_enable_dp_mst_output() argument
1178 cntl.pll_id = clock_source; in dce110_link_encoder_enable_dp_mst_output()
1201 enum clock_source_id clock_source) in dce60_link_encoder_enable_dp_output() argument
1218 cntl.pll_id = clock_source; in dce60_link_encoder_enable_dp_output()
[all …]
/linux-6.1.9/drivers/comedi/drivers/
Dni_tio.c310 unsigned int clock_source = 0; in ni_m_series_clock_src_select() local
319 clock_source = NI_GPCT_TIMEBASE_1_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
322 clock_source = NI_GPCT_TIMEBASE_2_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
326 clock_source = in ni_m_series_clock_src_select()
329 clock_source = NI_GPCT_TIMEBASE_3_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
332 clock_source = NI_GPCT_LOGIC_LOW_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
336 clock_source = NI_GPCT_PXI_STAR_TRIGGER_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
338 clock_source = NI_GPCT_NEXT_GATE_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
341 clock_source = NI_GPCT_PXI10_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
344 clock_source = NI_GPCT_NEXT_TC_CLOCK_SRC_BITS; in ni_m_series_clock_src_select()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.h98 enum clock_source_id clock_source,
103 enum clock_source_id clock_source,
110 enum clock_source_id clock_source,
Ddce110_hw_sequencer.c1440 if (false == pipe_ctx->clock_source->funcs->program_pix_clk( in dce110_enable_stream_timing()
1441 pipe_ctx->clock_source, in dce110_enable_stream_timing()
2099 struct clock_source *old_clk = pipe_ctx_old->clock_source; in dce110_reset_hw_ctx_wrap()
2271 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source) in dce110_apply_ctx_to_hw()
2273 pipe_ctx->clock_source, i); in dce110_apply_ctx_to_hw()
3011 enum clock_source_id clock_source, in dce110_enable_lvds_link_output() argument
3016 clock_source, in dce110_enable_lvds_link_output()
3024 enum clock_source_id clock_source, in dce110_enable_tmds_link_output() argument
3030 clock_source, in dce110_enable_tmds_link_output()
3041 enum clock_source_id clock_source, in dce110_enable_dp_link_output() argument
[all …]
/linux-6.1.9/drivers/net/can/mscan/
Dmpc5xxx_can.c108 const char *clock_source, int *mscan_clksrc) in mpc512x_can_get_clock() argument
130 clock_source ? clock_source : "<NULL>", clockdiv); in mpc512x_can_get_clock()
146 if (clock_source) { in mpc512x_can_get_clock()
148 if (!strcmp(clock_source, "ip")) in mpc512x_can_get_clock()
150 else if (!strcmp(clock_source, "sys")) in mpc512x_can_get_clock()
152 else if (!strcmp(clock_source, "ref")) in mpc512x_can_get_clock()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/virtual/
Dvirtual_link_encoder.c43 enum clock_source_id clock_source, in virtual_link_encoder_enable_tmds_output() argument
51 enum clock_source_id clock_source) {} in virtual_link_encoder_enable_dp_output() argument
56 enum clock_source_id clock_source) {} in virtual_link_encoder_enable_dp_mst_output() argument
/linux-6.1.9/sound/drivers/vx/
Dvx_uer.c183 chip->clock_source = source; in vx_change_clock_source()
244 if (chip->clock_source != UER_SYNC) { in vx_set_clock()
252 if (chip->clock_source != INTERNAL_QUARTZ) { in vx_set_clock()
280 if (chip->clock_source == INTERNAL_QUARTZ) in vx_change_frequency()
/linux-6.1.9/sound/pci/echoaudio/
Dlayla20_dsp.c188 static int set_input_clock(struct echoaudio *chip, u16 clock_source) in set_input_clock() argument
194 switch (clock_source) { in set_input_clock()
211 clock_source); in set_input_clock()
214 chip->input_clock = clock_source; in set_input_clock()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h168 enum clock_source_id clock_source,
174 enum clock_source_id clock_source);
177 enum clock_source_id clock_source);
179 enum clock_source_id clock_source,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c444 struct clock_source *clock_source) in find_matching_clock_source() argument
450 if (pool->clock_sources[i] == clock_source) in find_matching_clock_source()
459 struct clock_source *clock_source) in resource_unreference_clock_source() argument
461 int i = find_matching_clock_source(pool, clock_source); in resource_unreference_clock_source()
466 if (pool->dp_clock_source == clock_source) in resource_unreference_clock_source()
473 struct clock_source *clock_source) in resource_reference_clock_source() argument
475 int i = find_matching_clock_source(pool, clock_source); in resource_reference_clock_source()
480 if (pool->dp_clock_source == clock_source) in resource_reference_clock_source()
487 struct clock_source *clock_source) in resource_get_clock_source_reference() argument
489 int i = find_matching_clock_source(pool, clock_source); in resource_get_clock_source_reference()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_dio.c115 enum clock_source_id clock_source, in enable_dio_dp_link_output() argument
124 clock_source); in enable_dio_dp_link_output()
129 clock_source); in enable_dio_dp_link_output()
Dlink_hwss_hpo_dp.c162 enum clock_source_id clock_source, in enable_hpo_dp_fpga_link_output() argument
190 enum clock_source_id clock_source, in enable_hpo_dp_link_output() argument
195 clock_source, link_settings); in enable_hpo_dp_link_output()
Dlink_hwss_dio.h41 enum clock_source_id clock_source,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_link_encoder.c257 enum clock_source_id clock_source) in dcn21_link_encoder_enable_dp_output() argument
267 dcn10_link_encoder_enable_dp_output(enc, link_settings, clock_source); in dcn21_link_encoder_enable_dp_output()
283 enum clock_source_id clock_source) in dcn21_link_encoder_enable_dp_mst_output() argument
288 dcn10_link_encoder_enable_dp_mst_output(enc, link_settings, clock_source); in dcn21_link_encoder_enable_dp_mst_output()
/linux-6.1.9/sound/firewire/fireworks/
Dfireworks_proc.c108 enum snd_efw_clock_source clock_source; in proc_read_clock() local
111 if (snd_efw_command_get_clock_source(efw, &clock_source) < 0) in proc_read_clock()
117 snd_iprintf(buffer, "Clock Source: %d\n", clock_source); in proc_read_clock()
Dfireworks_pcm.c177 enum snd_efw_clock_source clock_source; in pcm_open() local
188 err = snd_efw_command_get_clock_source(efw, &clock_source); in pcm_open()
197 if ((clock_source != SND_EFW_CLOCK_SOURCE_INTERNAL) || in pcm_open()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c921 enum clock_source_id clock_source, in dcn10_link_encoder_enable_tmds_output() argument
935 cntl.pll_id = clock_source; in dcn10_link_encoder_enable_tmds_output()
958 enum clock_source_id clock_source, in dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa() argument
966 enc, clock_source, color_depth, signal, pixel_clock); in dcn10_link_encoder_enable_tmds_output_with_clk_pattern_wa()
975 enum clock_source_id clock_source) in dcn10_link_encoder_enable_dp_output() argument
992 cntl.pll_id = clock_source; in dcn10_link_encoder_enable_dp_output()
1014 enum clock_source_id clock_source) in dcn10_link_encoder_enable_dp_mst_output() argument
1031 cntl.pll_id = clock_source; in dcn10_link_encoder_enable_dp_mst_output()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dio_link_encoder.h54 enum clock_source_id clock_source);
/linux-6.1.9/drivers/staging/board/
Darmadillo800eva.c36 .clock_source = LCDC_CLK_BUS,

1234