Home
last modified time | relevance | path

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

12345678

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c156 static void destroy_links(struct dc *dc) in destroy_links()
193 struct dc *dc, in create_links()
318 static bool create_link_encoders(struct dc *dc) in create_link_encoders()
359 static void destroy_link_encoders(struct dc *dc) in destroy_link_encoders()
400 static bool set_long_vtotal(struct dc *dc, struct dc_stream_state *stream, struct dc_crtc_timing_ad… in set_long_vtotal()
438 bool dc_stream_adjust_vmin_vmax(struct dc *dc, in dc_stream_adjust_vmin_vmax()
499 bool dc_stream_get_last_used_drr_vtotal(struct dc *dc, in dc_stream_get_last_used_drr_vtotal()
573 struct dc *dc = stream->ctx->dc; in dc_stream_forward_crc_window() local
639 struct dc *dc = stream->ctx->dc; in dc_stream_forward_multiple_crc_window() local
682 bool dc_stream_configure_crc(struct dc *dc, struct dc_stream_state *stream, in dc_stream_configure_crc()
[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()
/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/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c52 static void dcn401_initialize_min_clocks(struct dc *dc) in dcn401_initialize_min_clocks()
130 void dcn401_init_hw(struct dc *dc) in dcn401_init_hw()
366 static void dcn401_get_mcm_lut_xable_from_pipe_ctx(struct dc *dc, struct pipe_ctx *pipe_ctx, in dcn401_get_mcm_lut_xable_from_pipe_ctx()
399 static void dcn401_set_mcm_location_post_blend(struct dc *dc, struct pipe_ctx *pipe_ctx, bool bPost… in dcn401_set_mcm_location_post_blend()
533 struct dc *dc = hubp->ctx->dc; in dcn401_program_rmcm_luts() local
642 void dcn401_populate_mcm_luts(struct dc *dc, in dcn401_populate_mcm_luts()
855 void dcn401_trigger_3dlut_dma_load(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn401_trigger_3dlut_dma_load()
869 struct dc *dc = pipe_ctx->stream_res.opp->ctx->dc; in dcn401_set_mcm_luts() local
915 bool dcn401_set_output_transfer_func(struct dc *dc, in dcn401_set_output_transfer_func()
971 struct dc *dc, in enable_stream_timing_calc()
[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
312 static int delay_bio(struct delay_c *dc, struct delay_class *c, struct bio *bio) in delay_bio()
344 struct delay_c *dc = ti->private; in delay_presuspend() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
H A Ddcn20_hwseq.c74 void dcn20_log_color_state(struct dc *dc, in dcn20_log_color_state()
190 static int find_free_gsl_group(const struct dc *dc) in find_free_gsl_group()
218 const struct dc *dc, in dcn20_setup_gsl_group_as_lock()
394 const struct dc *dc, in dcn20_program_triple_buffer()
407 struct dc *dc, in dcn20_init_blank()
703 void dcn20_plane_atomic_disable(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn20_plane_atomic_disable()
743 void dcn20_disable_plane(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx) in dcn20_disable_plane()
765 void dcn20_disable_pixel_data(struct dc *dc, struct pipe_ctx *pipe_ctx, bool blank) in dcn20_disable_pixel_data()
827 struct dc *dc) in dcn20_enable_stream_timing()
994 void dcn20_program_output_csc(struct dc *dc, in dcn20_program_output_csc()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c207 struct dc *dc, in dce110_enable_display_power_gating()
283 dce110_set_input_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_input_transfer_func()
606 dce110_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, in dce110_set_output_transfer_func()
668 const struct dc *dc = link->dc; in dce110_enable_stream() local
1080 struct dc *dc; in dce110_enable_audio_stream() local
1117 struct dc *dc; in dce110_disable_audio_stream() local
1152 struct dc *dc = pipe_ctx->stream->ctx->dc; in dce110_disable_stream() local
1477 static void program_scaler(const struct dc *dc, in program_scaler()
1519 struct dc *dc) in dce110_enable_stream_timing()
1584 struct dc *dc) in dce110_apply_single_controller_ctx_to_hw()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c130 void dcn35_init_hw(struct dc *dc) in dcn35_init_hw()
418 void dcn35_update_odm(struct dc *dc, struct dc_state *context, struct pipe_ctx *pipe_ctx) in dcn35_update_odm()
599 void dcn35_power_down_on_boot(struct dc *dc) in dcn35_power_down_on_boot()
644 bool dcn35_apply_idle_power_optimizations(struct dc *dc, bool enable) in dcn35_apply_idle_power_optimizations()
691 void dcn35_z10_restore(const struct dc *dc) in dcn35_z10_restore()
701 void dcn35_init_pipes(struct dc *dc, struct dc_state *context) in dcn35_init_pipes()
896 void dcn35_enable_plane(struct dc *dc, struct pipe_ctx *pipe_ctx, in dcn35_enable_plane()
939 void dcn35_plane_atomic_disable(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn35_plane_atomic_disable()
979 void dcn35_disable_plane(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ctx) in dcn35_disable_plane()
1003 void dcn35_calc_blocks_to_gate(struct dc *dc, struct dc_state *context, in dcn35_calc_blocks_to_gate()
[all …]
/linux/drivers/md/bcache/
H A Dwriteback.c30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate()
61 static void __update_writeback_rate(struct cached_dev *dc) in __update_writeback_rate()
208 struct cached_dev *dc) in set_at_max_writeback_rate()
244 struct cached_dev *dc = container_of(to_delayed_work(work), in update_writeback_rate() local
312 static unsigned int writeback_delay(struct cached_dev *dc, in writeback_delay()
324 struct cached_dev *dc; member
355 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK() local
407 struct cached_dev *dc = io->dc; in CLOSURE_CALLBACK() local
474 static void read_dirty(struct cached_dev *dc) in read_dirty()
643 struct cached_dev *dc = container_of(buf, in dirty_pred() local
[all …]
H A Dsuper.c281 struct cached_dev *dc = bio->bi_private; in write_bdev_super_endio() local
336 void bch_write_bdev_super(struct cached_dev *dc, struct closure *parent) in bch_write_bdev_super()
996 struct cached_dev *dc; in calc_cached_dev_sectors() local
1007 struct cached_dev *dc = arg; in cached_dev_status_update() local
1042 int bch_cached_dev_run(struct cached_dev *dc) in bch_cached_dev_run()
1115 static void cancel_writeback_rate_update_dwork(struct cached_dev *dc) in cancel_writeback_rate_update_dwork()
1135 struct cached_dev *dc = container_of(w, struct cached_dev, detach); in cached_dev_detach_finish() local
1167 void bch_cached_dev_detach(struct cached_dev *dc) in bch_cached_dev_detach()
1188 int bch_cached_dev_attach(struct cached_dev *dc, struct cache_set *c, in bch_cached_dev_attach()
1339 struct cached_dev *dc = container_of(kobj, struct cached_dev, in bch_cached_dev_release() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c72 void dcn30_log_color_state(struct dc *dc, in dcn30_log_color_state()
258 struct dc *dc = pipe_ctx->stream->ctx->dc; in dcn30_set_mpc_shaper_3dlut() local
313 bool dcn30_set_input_transfer_func(struct dc *dc, in dcn30_set_input_transfer_func()
390 bool dcn30_set_output_transfer_func(struct dc *dc, in dcn30_set_output_transfer_func()
427 struct dc *dc, in dcn30_set_writeback()
450 struct dc *dc, in dcn30_update_writeback()
467 struct dc *dc, in dcn30_mmhubbub_warmup()
524 struct dc *dc, in dcn30_enable_writeback()
551 struct dc *dc, in dcn30_disable_writeback()
572 struct dc *dc, in dcn30_program_all_writeback_pipes_in_tree()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c40 struct dc *dc, in dcn32_helper_calculate_mall_bytes_for_cursor()
91 struct dc *dc, in dcn32_helper_calculate_num_ways_for_subvp()
107 void dcn32_merge_pipes_for_subvp(struct dc *dc, in dcn32_merge_pipes_for_subvp()
153 bool dcn32_all_pipes_have_stream_and_plane(struct dc *dc, in dcn32_all_pipes_have_stream_and_plane()
170 bool dcn32_subvp_in_use(struct dc *dc, in dcn32_subvp_in_use()
196 bool dcn32_any_surfaces_rotated(struct dc *dc, struct dc_state *context) in dcn32_any_surfaces_rotated()
243 static void override_det_for_subvp(struct dc *dc, struct dc_state *context, uint8_t pipe_segments[]) in override_det_for_subvp()
311 void dcn32_determine_det_override(struct dc *dc, in dcn32_determine_det_override()
381 void dcn32_set_det_allocations(struct dc *dc, struct dc_state *context, in dcn32_set_det_allocations()
515 struct dc_stream_state *dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch(struct dc *dc, … in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
[all …]
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.c602 atmel_hlcdc_dc_mode_valid(struct atmel_hlcdc_dc *dc, in atmel_hlcdc_dc_mode_valid()
645 struct atmel_hlcdc_dc *dc = dev->dev_private; in atmel_hlcdc_dc_irq_handler() local
669 struct atmel_hlcdc_dc *dc = dev->dev_private; in atmel_hlcdc_dc_irq_postinstall() local
684 struct atmel_hlcdc_dc *dc = dev->dev_private; in atmel_hlcdc_dc_irq_disable() local
720 struct atmel_hlcdc_dc *dc = dev->dev_private; in atmel_hlcdc_dc_modeset_init() local
757 struct atmel_hlcdc_dc *dc; in atmel_hlcdc_dc_load() local
824 struct atmel_hlcdc_dc *dc = dev->dev_private; in atmel_hlcdc_dc_unload() local
900 struct atmel_hlcdc_dc *dc = drm_dev->dev_private; in atmel_hlcdc_dc_drm_suspend() local
920 struct atmel_hlcdc_dc *dc = drm_dev->dev_private; in atmel_hlcdc_dc_drm_resume() local
H A Datmel_hlcdc_plane.c388 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_update_pos_and_size() local
560 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_update_buffers() local
853 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_atomic_disable() local
859 struct atmel_hlcdc_dc *dc) in atmel_hlcdc_atomic_update()
878 struct atmel_hlcdc_dc *dc) in atmel_xlcdc_atomic_update()
907 struct atmel_hlcdc_dc *dc = p->dev->dev_private; in atmel_hlcdc_plane_atomic_update() local
994 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_init_properties() local
1061 struct atmel_hlcdc_dc *dc = plane->base.dev->dev_private; in atmel_hlcdc_plane_irq() local
1095 struct atmel_hlcdc_dc *dc = p->dev->dev_private; in atmel_hlcdc_plane_alloc_dscrs() local
1178 struct atmel_hlcdc_dc *dc = p->dev->dev_private; in atmel_hlcdc_plane_atomic_destroy_state() local
[all …]
/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.c990 void dcn20_populate_dml_writeback_from_context(struct dc *dc, in dcn20_populate_dml_writeback_from_context()
1046 static bool is_dtbclk_required(struct dc *dc, struct dc_state *context) in is_dtbclk_required()
1058 static enum dcn_zstate_support_state decide_zstate_support(struct dc *dc, struct dc_state *context) in decide_zstate_support()
1141 void dcn20_calculate_dlg_params(struct dc *dc, in dcn20_calculate_dlg_params()
1315 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/hwss/dcn31/
H A Ddcn31_hwseq.c70 static void enable_memory_low_power(struct dc *dc) in enable_memory_low_power()
109 void dcn31_init_hw(struct dc *dc) in dcn31_init_hw()
419 void dcn31_z10_save_init(struct dc *dc) in dcn31_z10_save_init()
430 void dcn31_z10_restore(const struct dc *dc) in dcn31_z10_restore()
487 int dcn31_init_sys_ctx(struct dce_hwseq *hws, struct dc *dc, struct dc_phy_addr_space_config *pa_co… in dcn31_init_sys_ctx()
512 struct dc *dc, in dcn31_reset_back_end_for_pipe()
587 struct dc *dc, in dcn31_reset_hw_ctx_wrap()
657 static void dmub_abm_set_backlight(struct dc_context *dc, in dmub_abm_set_backlight()
683 struct dc_context *dc = pipe_ctx->stream->ctx; in dcn31_set_backlight_level() 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(struct dc *dc, struct clk_bw_params *bw_params) in dcn31_update_bw_bounding_box()
668 void dcn315_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn315_update_bw_bounding_box()
729 void dcn316_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn316_update_bw_bounding_box()
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c453 const struct dc *dc, in dcn_bw_calc_rq_dlg_ttu()
638 static bool dcn_bw_apply_registry_override(struct dc *dc) in dcn_bw_apply_registry_override()
749 struct dc *dc, in dcn_validate_bandwidth()
1316 struct dc *dc, in dcn_bw_update_from_pplib_fclks()
1345 struct dc *dc, in dcn_bw_update_from_pplib_dcfclks()
1357 struct dc *dc, in dcn_get_soc_clks()
1368 struct dc *dc, in dcn_bw_notify_pplib_of_wm_ranges()
1429 void dcn_bw_sync_calcs_and_dml(struct dc *dc) in dcn_bw_sync_calcs_and_dml()
/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/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_round_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.c133 void dcn201_update_plane_addr(const struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn201_update_plane_addr()
165 struct dc *dc, in dcn201_init_blank()
224 void dcn201_init_hw(struct dc *dc) in dcn201_init_hw()
375 void dcn201_plane_atomic_disconnect(struct dc *dc, in dcn201_plane_atomic_disconnect()
422 void dcn201_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx) in dcn201_update_mpcc()
526 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()
96 void clk_mgr_exit_optimized_pwr_state(const struct dc *dc, struct clk_mgr *clk_mgr) in clk_mgr_exit_optimized_pwr_state()
122 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/tegra/
H A Dplane.c97 struct tegra_dc *dc = to_tegra_dc(crtc); in tegra_plane_supports_sector_layout() local
140 static int tegra_dc_pin(struct tegra_dc *dc, struct tegra_plane_state *state) in tegra_dc_pin()
189 static void tegra_dc_unpin(struct tegra_dc *dc, struct tegra_plane_state *state) in tegra_dc_unpin()
203 struct tegra_dc *dc = to_tegra_dc(state->crtc); in tegra_plane_prepare_fb() local
219 struct tegra_dc *dc = to_tegra_dc(state->crtc); in tegra_plane_cleanup_fb() local
771 struct tegra_dc *dc = plane->dc; in tegra_plane_interconnect_init() local

12345678