Home
last modified time | relevance | path

Searched defs:dc (Results 1 – 25 of 157) sorted by relevance

1234567

/linux/drivers/dma/
H A Dtxx9dmac.c24 static struct txx9dmac_cregs __iomem *__dma_regs(const struct txx9dmac_chan *dc) in __dma_regs()
30 const struct txx9dmac_chan *dc) in __dma_regs32()
35 #define channel64_readq(dc, name) \ argument
37 #define channel64_writeq(dc, name, val) \ argument
39 #define channel64_readl(dc, name) \ argument
41 #define channel64_writel(dc, name, val) \ argument
44 #define channel32_readl(dc, name) \ argument
46 #define channel32_writel(dc, name, val) \ argument
49 #define channel_readq(dc, name) channel64_readq(dc, name) argument
50 #define channel_writeq(dc, name, val) channel64_writeq(dc, name, val) argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c58 void dcn401_initialize_min_clocks(struct dc *dc) in dcn401_initialize_min_clocks()
136 void dcn401_init_hw(struct dc *dc) in dcn401_init_hw()
377 void dcn401_trigger_3dlut_dma_load(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn401_trigger_3dlut_dma_load()
390 struct dc *dc = pipe_ctx->plane_res.hubp->ctx->dc; in dcn401_set_mcm_luts() local
556 bool dcn401_set_output_transfer_func(struct dc *dc, in dcn401_set_output_transfer_func()
613 struct dc *dc, in enable_stream_timing_calc()
654 struct dc *dc) in dcn401_enable_stream_timing()
811 struct dc *dc = pipe_ctx->stream->ctx->dc; in dcn401_enable_stream_calc() local
847 struct dc *dc = pipe_ctx->stream->ctx->dc; in dcn401_enable_stream() local
919 struct dc *dc = link->ctx->dc; in disable_link_output_symclk_on_tx_off() local
[all …]
/linux/drivers/gpu/drm/tegra/
H A Ddc.c51 static u32 tegra_dc_readl_active(struct tegra_dc *dc, unsigned long offset) in tegra_dc_readl_active()
97 bool tegra_dc_has_output(struct tegra_dc *dc, struct device *dev) in tegra_dc_has_output()
122 void tegra_dc_commit(struct tegra_dc *dc) in tegra_dc_commit()
318 struct tegra_dc *dc = plane->dc; in tegra_plane_use_horizontal_filtering() local
333 struct tegra_dc *dc = plane->dc; in tegra_plane_use_vertical_filtering() local
351 struct tegra_dc *dc = plane->dc; in tegra_dc_setup_window() local
630 struct tegra_dc *dc = to_tegra_dc(new_plane_state->crtc); in tegra_plane_atomic_check() local
805 struct tegra_dc *dc) in tegra_primary_plane_create()
908 struct tegra_dc *dc = to_tegra_dc(new_state->crtc); in __tegra_cursor_atomic_update() local
1015 struct tegra_dc *dc; in tegra_cursor_atomic_disable() local
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_disc.c291 struct esas2r_disc_context *dc = &a->disc_ctx; in esas2r_disc_queue_event() local
314 struct esas2r_disc_context *dc = &a->disc_ctx; in esas2r_disc_start_port() local
389 struct esas2r_disc_context *dc = in esas2r_disc_continue() local
505 struct esas2r_disc_context *dc = in esas2r_disc_abort() local
520 struct esas2r_disc_context *dc = in esas2r_disc_block_dev_scan() local
551 struct esas2r_disc_context *dc = in esas2r_disc_block_dev_scan_cb() local
580 struct esas2r_disc_context *dc = in esas2r_disc_raid_grp_info() local
627 struct esas2r_disc_context *dc = in esas2r_disc_raid_grp_info_cb() local
690 struct esas2r_disc_context *dc = in esas2r_disc_part_info() local
742 struct esas2r_disc_context *dc = in esas2r_disc_part_info_cb() local
[all …]
/linux/drivers/md/
H A Ddm-delay.c59 struct delay_c *dc = timer_container_of(dc, t, delay_timer); in handle_delayed_timer() local
64 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout()
69 static inline bool delay_is_fast(struct delay_c *dc) in delay_is_fast()
86 static void flush_delayed_bios(struct delay_c *dc, bool flush_all) in flush_delayed_bios()
132 struct delay_c *dc = data; in flush_worker_fn() local
153 struct delay_c *dc; in flush_expired_bios() local
161 struct delay_c *dc = ti->private; in delay_dtr() local
218 struct delay_c *dc; in delay_ctr() local
314 static int delay_bio(struct delay_c *dc, struct delay_class *c, struct bio *bio) in delay_bio()
346 struct delay_c *dc = ti->private; in delay_presuspend() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c210 struct dc *dc, in dce110_enable_display_power_gating()
286 dce110_set_input_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_input_transfer_func()
610 dce110_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_output_transfer_func()
672 struct dc *dc = link->ctx->dc; in dce110_external_encoder_control() local
727 const struct dc *dc = link->dc; in dce110_enable_stream() local
1126 struct dc *dc; in dce110_enable_audio_stream() local
1166 struct dc *dc; in dce110_disable_audio_stream() local
1204 struct dc *dc = pipe_ctx->stream->ctx->dc; in dce110_disable_stream() local
1531 static void program_scaler(const struct dc *dc, in program_scaler()
1573 struct dc *dc) in dce110_enable_stream_timing()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c251 struct dc *dc = stream->ctx->dc; in dc_stream_get_status() local
258 struct dc *dc = stream->ctx->dc; in dc_stream_get_status_const() local
263 struct dc *dc, in program_cursor_attributes()
322 const struct dc *dc; in dc_stream_check_cursor_attributes() local
381 struct dc *dc; in dc_stream_program_cursor_attributes() local
410 struct dc *dc, in program_cursor_position()
482 struct dc *dc; in dc_stream_program_cursor_position() local
551 bool dc_stream_add_writeback(struct dc *dc, in dc_stream_add_writeback()
625 bool dc_stream_fc_disable_writeback(struct dc *dc, in dc_stream_fc_disable_writeback()
662 bool dc_stream_remove_writeback(struct dc *dc, in dc_stream_remove_writeback()
[all …]
H A Ddc_vm_helper.c37 int dc_setup_system_context(struct dc *dc, struct dc_phy_addr_space_config *pa_config) in dc_setup_system_context()
57 void dc_setup_vm_context(struct dc *dc, struct dc_virtual_addr_space_config *va_config, int vmid) in dc_setup_vm_context()
62 int dc_get_vmid_use_vector(struct dc *dc) in dc_get_vmid_use_vector()
H A Ddc_hw_sequencer.c247 const struct dc *dc, in color_space_to_black_color()
439 struct dc *dc, in get_smartmux_visual_confirm_color()
591 struct dc *dc, in get_dcc_visual_confirm_color()
638 struct dc *dc, in set_p_state_switch_method()
711 struct dc *dc, in get_fams2_visual_confirm_color()
730 void hwss_build_fast_sequence(struct dc *dc, in hwss_build_fast_sequence()
952 void hwss_execute_sequence(struct dc *dc, in hwss_execute_sequence()
1343 struct dc *dc, in hwss_add_optc_pipe_control_lock()
1375 struct dc *dc, in hwss_add_hubp_program_triplebuffer()
1392 struct dc *dc, in hwss_add_hubp_update_plane_addr()
[all …]
/linux/drivers/md/bcache/
H A Drequest.c30 static unsigned int cache_mode(struct cached_dev *dc) in cache_mode()
35 static bool verify(struct cached_dev *dc) in verify()
358 static struct hlist_head *iohash(struct cached_dev *dc, uint64_t k) in iohash()
363 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass()
596 struct cached_dev *dc; in CLOSURE_CALLBACK() local
657 struct cached_dev *dc = container_of(s->d, in backing_request_endio() local
769 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK() local
836 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK() local
878 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in CLOSURE_CALLBACK() local
896 struct cached_dev *dc = container_of(s->d, struct cached_dev, disk); in cached_dev_cache_miss() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
H A Ddcn21_hwseq.c68 int dcn21_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_co… in dcn21_init_sys_ctx()
89 bool dcn21_s0i3_golden_init_wa(struct dc *dc) in dcn21_s0i3_golden_init_wa()
98 const struct dc *dc, in dcn21_exit_optimized_pwr_state()
108 const struct dc *dc, in dcn21_optimize_pwr_state()
143 struct dc_context *dc = abm->ctx; in dcn21_dmub_abm_set_pipe() local
161 static void dmub_abm_set_backlight(struct dc_context *dc, uint32_t backlight_pwm_u16_16, in dmub_abm_set_backlight()
246 struct dc_context *dc = pipe_ctx->stream->ctx; in dcn21_set_backlight_level() local
287 bool dcn21_is_abm_supported(struct dc *dc, in dcn21_is_abm_supported()
/linux/drivers/tty/
H A Dnozomi.c315 struct nozomi *dc; member
463 static void nozomi_setup_memory(struct nozomi *dc) in nozomi_setup_memory()
546 static void dump_table(const struct nozomi *dc) in dump_table()
588 static inline void dump_table(const struct nozomi *dc) { } in dump_table()
595 static int nozomi_read_config_table(struct nozomi *dc) in nozomi_read_config_table()
667 static void enable_transmit_ul(enum port_type port, struct nozomi *dc) in enable_transmit_ul()
680 static void disable_transmit_ul(enum port_type port, struct nozomi *dc) in disable_transmit_ul()
694 static void enable_transmit_dl(enum port_type port, struct nozomi *dc) in enable_transmit_dl()
707 static void disable_transmit_dl(enum port_type port, struct nozomi *dc) in disable_transmit_dl()
724 static int send_data(enum port_type index, struct nozomi *dc) in send_data()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c989 void dcn20_populate_dml_writeback_from_context(struct dc *dc, in dcn20_populate_dml_writeback_from_context()
1045 static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) in is_dtbclk_required()
1057 static enum dcn_zstate_support_state decide_zstate_support(struct dc *dc, struct dc_state *context) in decide_zstate_support()
1140 void dcn20_calculate_dlg_params(struct dc *dc, in dcn20_calculate_dlg_params()
1314 int dcn20_populate_dml_pipes_from_context(struct dc *dc, in dcn20_populate_dml_pipes_from_context()
1731 void dcn20_calculate_wm(struct dc *dc, struct dc_state *context, in dcn20_calculate_wm()
1848 void dcn20_update_bounding_box(struct dc *dc, in dcn20_update_bounding_box()
1982 void dcn20_patch_bounding_box(struct dc *dc, struct _vcs_dpi_soc_bounding_box_st *bb) in dcn20_patch_bounding_box()
2029 static bool dcn20_validate_bandwidth_internal(struct dc *dc, struct dc_state *context, in dcn20_validate_bandwidth_internal()
2079 bool dcn20_validate_bandwidth_fp(struct dc *dc, struct dc_state *context, in dcn20_validate_bandwidth_fp()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c275 int dcn32_find_dummy_latency_index_for_fw_based_mclk_switch(struct dc *dc, in dcn32_find_dummy_latency_index_for_fw_based_mclk_switch()
333 void dcn32_helper_populate_phantom_dlg_params(struct dc *dc, in dcn32_helper_populate_phantom_dlg_params()
466 void dcn32_set_phantom_stream_timing(struct dc *dc, in dcn32_set_phantom_stream_timing()
558 static unsigned int dcn32_get_num_free_pipes(struct dc *dc, struct dc_state *context) in dcn32_get_num_free_pipes()
599 static bool dcn32_assign_subvp_pipe(struct dc *dc, in dcn32_assign_subvp_pipe()
680 static bool dcn32_enough_pipes_for_subvp(struct dc *dc, struct dc_state *context) in dcn32_enough_pipes_for_subvp()
726 static bool subvp_subvp_schedulable(struct dc *dc, struct dc_state *context) in subvp_subvp_schedulable()
797 static bool subvp_drr_schedulable(struct dc *dc, struct dc_state *context) in subvp_drr_schedulable()
898 static bool subvp_vblank_schedulable(struct dc *dc, struct dc_state *context) in subvp_vblank_schedulable()
985 static bool subvp_subvp_admissable(struct dc *dc, in subvp_subvp_admissable()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_psr.c143 struct dc_context *dc = dmub->ctx; in dmub_psr_set_version() local
182 struct dc_context *dc = dmub->ctx; in dmub_psr_enable() local
234 struct dc_context *dc = dmub->ctx; in dmub_psr_set_level() local
258 struct dc_context *dc = dmub->ctx; in dmub_psr_set_sink_vtotal_in_psr_active() local
276 struct dc_context *dc = dmub->ctx; in dmub_psr_set_power_opt() local
298 struct dc_context *dc = dmub->ctx; in dmub_psr_copy_settings() local
438 struct dc_context *dc = dmub->ctx; in dmub_psr_force_static() local
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.c454 void dcn31_update_soc_for_wm_a(struct dc *dc, struct dc_state *context) in dcn31_update_soc_for_wm_a()
465 void dcn315_update_soc_for_wm_a(struct dc *dc, struct dc_state *context) in dcn315_update_soc_for_wm_a()
483 struct dc *dc, struct dc_state *context, in dcn31_calculate_wm_and_dlg_fp()
590 void dcn31_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn31_update_bw_bounding_box_fpu()
668 void dcn315_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn315_update_bw_bounding_box_fpu()
729 void dcn316_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn316_update_bw_bounding_box_fpu()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c408 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_update_pos_and_size() local
580 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_update_buffers() local
831 struct atmel_hlcdc_dc *dc) in atmel_hlcdc_atomic_disable()
848 struct atmel_hlcdc_dc *dc) in atmel_xlcdc_atomic_disable()
875 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_atomic_disable() local
881 struct atmel_hlcdc_dc *dc) in atmel_hlcdc_atomic_update()
900 struct atmel_hlcdc_dc *dc) in atmel_xlcdc_atomic_update()
929 struct atmel_hlcdc_dc *dc = p->dev->dev_private; in atmel_hlcdc_plane_atomic_update() local
1016 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_init_properties() local
1083 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_irq() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn351/
H A Ddcn351_hwseq.c38 void dcn351_calc_blocks_to_gate(struct dc *dc, struct dc_state *context, in dcn351_calc_blocks_to_gate()
58 void dcn351_calc_blocks_to_ungate(struct dc *dc, struct dc_state *context, in dcn351_calc_blocks_to_ungate()
99 void dcn351_hw_block_power_down(struct dc *dc, in dcn351_hw_block_power_down()
152 void dcn351_hw_block_power_up(struct dc *dc, in dcn351_hw_block_power_up()
/linux/drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn42/
H A Ddcn42_soc_and_ip_translator.c14 static void get_default_soc_bb(struct dml2_soc_bb *soc_bb, const struct dc *dc) in get_default_soc_bb()
147 … void dcn42_update_soc_bb_with_values_from_clk_mgr(struct dml2_soc_bb *soc_bb, const struct dc *dc) in dcn42_update_soc_bb_with_values_from_clk_mgr()
164 static void apply_soc_bb_updates(struct dml2_soc_bb *soc_bb, const struct dc *dc, const struct dml2… in apply_soc_bb_updates()
177 void dcn42_get_soc_bb(struct dml2_soc_bb *soc_bb, const struct dc *dc, const struct dml2_configurat… in dcn42_get_soc_bb()
/linux/drivers/clk/mvebu/
H A Ddove-divider.c51 static unsigned int dove_get_divider(struct dove_clk *dc) in dove_get_divider()
67 static int dove_calc_divider(const struct dove_clk *dc, unsigned long rate, in dove_calc_divider()
101 struct dove_clk *dc = to_dove_clk(hw); in dove_recalc_rate() local
114 struct dove_clk *dc = to_dove_clk(hw); in dove_determine_rate() local
133 struct dove_clk *dc = to_dove_clk(hw); in dove_set_clock() local
162 struct dove_clk *dc, const char **parent_names, size_t num_parents, in clk_register_dove_divider()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_edid_parser.c29 bool dc_edid_parser_send_cea(struct dc *dc, in dc_edid_parser_send_cea()
50 bool dc_edid_parser_recv_cea_ack(struct dc *dc, int *offset) in dc_edid_parser_recv_cea_ack()
63 bool dc_edid_parser_recv_amd_vsdb(struct dc *dc, in dc_edid_parser_recv_amd_vsdb()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c136 void dcn201_update_plane_addr(const struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn201_update_plane_addr()
168 struct dc *dc, in dcn201_init_blank()
227 void dcn201_init_hw(struct dc *dc) in dcn201_init_hw()
378 void dcn201_plane_atomic_disconnect(struct dc *dc, in dcn201_plane_atomic_disconnect()
425 void dcn201_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn201_update_mpcc()
529 struct dc *dc, in dcn201_pipe_control_lock()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c54 struct dc *dc, in clk_mgr_helper_get_active_display_cnt()
78 struct dc *dc, in clk_mgr_helper_get_active_plane_cnt()
97 void clk_mgr_exit_optimized_pwr_state(const struct dc *dc, struct clk_mgr *clk_mgr) in clk_mgr_exit_optimized_pwr_state()
123 void clk_mgr_optimize_pwr_state(const struct dc *dc, struct clk_mgr *clk_mgr) in clk_mgr_optimize_pwr_state()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1226 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn20_resource_destruct() local
1260 struct dc *dc = pipe_ctx->stream->ctx->dc; in get_pixel_clock_parameters() local
1346 enum dc_status dcn20_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc… in dcn20_build_mapped_resource()
1362 void dcn20_acquire_dsc(const struct dc *dc, in dcn20_acquire_dsc()
1413 enum dc_status dcn20_add_dsc_to_stream_resource(struct dc *dc, in dcn20_add_dsc_to_stream_resource()
1447 static enum dc_status remove_dsc_from_stream_resource(struct dc *dc, in remove_dsc_from_stream_resource()
1470 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… in dcn20_add_stream_to_ctx()
1490 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stre… in dcn20_remove_stream_from_ctx()
1516 const struct dc *dc, in dcn20_split_stream_for_odm()
1632 struct dc *dc, in dcn20_set_mcif_arb_params()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1226 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn30_resource_destruct() local
1314 enum dc_status dcn30_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_st… in dcn30_add_stream_to_ctx()
1354 struct dc *dc, struct dc_state *context, in dcn30_populate_dml_pipes_from_context()
1377 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes) in dcn30_populate_dml_writeback_from_context()
1408 struct dc *dc, in dcn30_set_mcif_arb_params()
1520 static bool is_soc_bounding_box_valid(struct dc *dc) in is_soc_bounding_box_valid()
1530 static bool init_soc_bounding_box(struct dc *dc, in init_soc_bounding_box()
1555 const struct dc *dc, in dcn30_split_stream_for_mpc_or_odm()
1617 struct dc *dc, in dcn30_find_split_pipe()
1659 struct dc *dc, in dcn30_internal_validate_bw()
[all …]

1234567