Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/linux/arch/m68k/ifpsp060/
H A Dpfpsp.sa1 dc.l $60ff0000,$17400000,$60ff0000,$15f40000
2 dc.l $60ff0000,$02b60000,$60ff0000,$04700000
3 dc.l $60ff0000,$1b100000,$60ff0000,$19aa0000
4 dc.l $60ff0000,$1b5a0000,$60ff0000,$062e0000
5 dc.l $60ff0000,$102c0000,$51fc51fc,$51fc51fc
6 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
7 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
8 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
9 dc.l $2f00203a,$ff2c487b,$0930ffff,$fef8202f
10 dc.l $00044e74,$00042f00,$203afef2,$487b0930
[all …]
H A Dfplsp.sa1 dc.l $60ff0000,$238e0000,$60ff0000,$24200000
2 dc.l $60ff0000,$24b60000,$60ff0000,$11060000
3 dc.l $60ff0000,$11980000,$60ff0000,$122e0000
4 dc.l $60ff0000,$0f160000,$60ff0000,$0fa80000
5 dc.l $60ff0000,$103e0000,$60ff0000,$12ae0000
6 dc.l $60ff0000,$13400000,$60ff0000,$13d60000
7 dc.l $60ff0000,$05ae0000,$60ff0000,$06400000
8 dc.l $60ff0000,$06d60000,$60ff0000,$213e0000
9 dc.l $60ff0000,$21d00000,$60ff0000,$22660000
10 dc.l $60ff0000,$16160000,$60ff0000,$16a80000
[all …]
H A Ditest.sa1 dc.l $60ff0000,$005c5465,$7374696e,$67203638
2 dc.l $30363020,$49535020,$73746172,$7465643a
3 dc.l $0a007061,$73736564,$0a002066,$61696c65
4 dc.l $640a0000,$4a80660e,$487affe8,$61ff0000
5 dc.l $4f9a588f,$4e752f01,$61ff0000,$4fa4588f
6 dc.l $487affd8,$61ff0000,$4f82588f,$4e754e56
7 dc.l $ff6048e7,$3f3c487a,$ff9e61ff,$00004f6c
8 dc.l $588f42ae,$ff78487b,$01700000,$00ea61ff
9 dc.l $00004f58,$588f61ff,$000000f0,$61ffffff
10 dc.l $ffa642ae,$ff78487b,$01700000,$0af661ff
[all …]
H A Dftest.sa1 dc.l $60ff0000,$00d40000,$60ff0000,$016c0000
2 dc.l $60ff0000,$01a80000,$54657374,$696e6720
3 dc.l $36383036,$30204650,$53502073,$74617274
4 dc.l $65643a0a,$00546573,$74696e67,$20363830
5 dc.l $36302046,$50535020,$756e696d,$706c656d
6 dc.l $656e7465,$6420696e,$73747275,$6374696f
7 dc.l $6e207374,$61727465,$643a0a00,$54657374
8 dc.l $696e6720,$36383036,$30204650,$53502065
9 dc.l $78636570,$74696f6e,$20656e61,$626c6564
10 dc.l $20737461,$72746564,$3a0a0070,$61737365
[all …]
H A Dilsp.sa1 dc.l $60ff0000,$01fe0000,$60ff0000,$02080000
2 dc.l $60ff0000,$04900000,$60ff0000,$04080000
3 dc.l $60ff0000,$051e0000,$60ff0000,$053c0000
4 dc.l $60ff0000,$055a0000,$60ff0000,$05740000
5 dc.l $60ff0000,$05940000,$60ff0000,$05b40000
6 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
7 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
8 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
9 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
10 dc.l $51fc51fc,$51fc51fc,$51fc51fc,$51fc51fc
[all …]
/linux/drivers/dma/
H A Dtxx9dmac.c24 static struct txx9dmac_cregs __iomem *__dma_regs(const struct txx9dmac_chan *dc) in __dma_regs() argument
26 return dc->ch_regs; in __dma_regs()
30 const struct txx9dmac_chan *dc) in __dma_regs32() argument
32 return dc->ch_regs; in __dma_regs32()
35 #define channel64_readq(dc, name) \ argument
36 __raw_readq(&(__dma_regs(dc)->name))
37 #define channel64_writeq(dc, name, val) \ argument
38 __raw_writeq((val), &(__dma_regs(dc)->name))
39 #define channel64_readl(dc, name) \ argument
40 __raw_readl(&(__dma_regs(dc)->name))
[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() argument
465 void __iomem *offset = dc->base_addr + dc->config_table.dl_start; in nozomi_setup_memory()
472 dc->port[PORT_MDM].dl_addr[CH_A] = offset; in nozomi_setup_memory()
473 dc->port[PORT_MDM].dl_addr[CH_B] = in nozomi_setup_memory()
474 (offset += dc->config_table.dl_mdm_len1); in nozomi_setup_memory()
475 dc->port[PORT_MDM].dl_size[CH_A] = in nozomi_setup_memory()
476 dc->config_table.dl_mdm_len1 - buff_offset; in nozomi_setup_memory()
477 dc->port[PORT_MDM].dl_size[CH_B] = in nozomi_setup_memory()
478 dc->config_table.dl_mdm_len2 - buff_offset; in nozomi_setup_memory()
[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
61 queue_work(dc->kdelayd_wq, &dc->flush_expired_bios); in handle_delayed_timer()
64 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument
66 timer_reduce(&dc->delay_timer, expires); in queue_timeout()
69 static inline bool delay_is_fast(struct delay_c *dc) in delay_is_fast() argument
71 return !!dc->worker; in delay_is_fast()
86 static void flush_delayed_bios(struct delay_c *dc, bool flush_all) in flush_delayed_bios() argument
95 mutex_lock(&dc->process_bios_lock); in flush_delayed_bios()
96 spin_lock(&dc->delayed_bios_lock); in flush_delayed_bios()
97 list_replace_init(&dc->delayed_bios, &local_list); in flush_delayed_bios()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c29 #include "dc.h"
95 dc->ctx
98 dc->ctx->logger
112 * struct dc - The central struct. One per driver. Created on driver load,
116 * Used as a backpointer by most other structs in dc.
129 * Main dc state structs:
132 * these structs in dc->current_state representing the currently programmed state.
165 static void destroy_links(struct dc *dc) in destroy_links() argument
169 for (i = 0; i < dc in destroy_links()
202 create_links(struct dc * dc,uint32_t num_virtual_links) create_links() argument
341 create_link_encoders(struct dc * dc) create_link_encoders() argument
382 destroy_link_encoders(struct dc * dc) destroy_link_encoders() argument
423 set_long_vtotal(struct dc * dc,struct dc_stream_state * stream,struct dc_crtc_timing_adjust * adjust) set_long_vtotal() argument
460 dc_stream_get_last_used_drr_vtotal(struct dc * dc,struct dc_stream_state * stream,uint32_t * refresh_rate) dc_stream_get_last_used_drr_vtotal() argument
534 struct dc *dc = stream->ctx->dc; dc_stream_forward_crc_window() local
600 struct dc *dc = stream->ctx->dc; dc_stream_forward_multiple_crc_window() local
644 dc_stream_configure_crc(struct dc * dc,struct dc_stream_state * stream,struct crc_params * crc_window,bool enable,bool continuous,uint8_t idx,bool reset,enum crc_poly_mode crc_poly_mode) dc_stream_configure_crc() argument
718 dc_stream_get_crc(struct dc * dc,struct dc_stream_state * stream,uint8_t idx,uint32_t * r_cr,uint32_t * g_y,uint32_t * b_cb) dc_stream_get_crc() argument
744 dc_stream_set_dyn_expansion(struct dc * dc,struct dc_stream_state * stream,enum dc_dynamic_expansion option) dc_stream_set_dyn_expansion() argument
823 dc_stream_set_gamut_remap(struct dc * dc,const struct dc_stream_state * stream) dc_stream_set_gamut_remap() argument
850 dc_stream_program_csc_matrix(struct dc * dc,struct dc_stream_state * stream) dc_stream_program_csc_matrix() argument
875 dc_stream_set_static_screen_params(struct dc * dc,struct dc_stream_state ** streams,int num_streams,const struct dc_static_screen_params * params) dc_stream_set_static_screen_params() argument
901 dc_destruct_update_scratch_pool(struct dc * dc) dc_destruct_update_scratch_pool() argument
912 dc_construct_update_scratch_pool(struct dc * dc) dc_construct_update_scratch_pool() argument
926 dc_destruct(struct dc * dc) dc_destruct() argument
986 dc_construct_ctx(struct dc * dc,const struct dc_init_data * init_params) dc_construct_ctx() argument
1037 dc_construct(struct dc * dc,const struct dc_init_data * init_params) dc_construct() argument
1190 disable_all_writeback_pipes_for_stream(const struct dc * dc,struct dc_stream_state * stream,struct dc_state * context) disable_all_writeback_pipes_for_stream() argument
1202 apply_ctx_interdependent_lock(struct dc * dc,struct dc_state * context,struct dc_stream_state * stream,bool lock) apply_ctx_interdependent_lock() argument
1229 dc_update_visual_confirm_color(struct dc * dc,struct dc_state * context,struct pipe_ctx * pipe_ctx) dc_update_visual_confirm_color() argument
1273 dc_get_visual_confirm_for_stream(struct dc * dc,struct dc_stream_state * stream_state,struct tg_color * color) dc_get_visual_confirm_for_stream() argument
1331 dc_stream_adjust_vmin_vmax(struct dc * dc,struct dc_stream_state * stream,struct dc_crtc_timing_adjust * adjust) dc_stream_adjust_vmin_vmax() argument
1394 disable_dangling_plane(struct dc * dc,struct dc_state * context) disable_dangling_plane() argument
1503 disable_vbios_mode_if_required(struct dc * dc,struct dc_state * context) disable_vbios_mode_if_required() argument
1567 struct dc *dc = kvzalloc_obj(*dc); dc_create() local
1619 detect_edp_presence(struct dc * dc) detect_edp_presence() argument
1641 dc_hardware_init(struct dc * dc) dc_hardware_init() argument
1650 dc_init_callbacks(struct dc * dc,const struct dc_callback_init * init_params) dc_init_callbacks() argument
1656 dc_deinit_callbacks(struct dc * dc) dc_deinit_callbacks() argument
1661 dc_destroy(struct dc ** dc) dc_destroy() argument
1669 enable_timing_multisync(struct dc * dc,struct dc_state * ctx) enable_timing_multisync() argument
1693 program_timing_sync(struct dc * dc,struct dc_state * ctx) program_timing_sync() argument
1830 streams_changed(struct dc * dc,struct dc_stream_state * streams[],uint8_t stream_count) streams_changed() argument
1849 dc_validate_boot_timing(const struct dc * dc,const struct dc_sink * sink,struct dc_crtc_timing * crtc_timing) dc_validate_boot_timing() argument
2159 dc_enable_stereo(struct dc * dc,struct dc_state * context,struct dc_stream_state * streams[],uint8_t stream_count) dc_enable_stereo() argument
2185 dc_trigger_sync(struct dc * dc,struct dc_state * context) dc_trigger_sync() argument
2195 get_stream_mask(struct dc * dc,struct dc_state * context) get_stream_mask() argument
2208 dc_z10_restore(const struct dc * dc) dc_z10_restore() argument
2214 dc_z10_save_init(struct dc * dc) dc_z10_save_init() argument
2228 determine_pipe_unlock_order(struct dc * dc,struct dc_state * context) determine_pipe_unlock_order() argument
2266 dc_commit_state_no_check(struct dc * dc,struct dc_state * context) dc_commit_state_no_check() argument
2509 dc_commit_streams(struct dc * dc,struct dc_commit_streams_params * params) dc_commit_streams() argument
2637 dc_acquire_release_mpc_3dlut(struct dc * dc,bool acquire,struct dc_stream_state * stream,struct dc_3dlut ** lut,struct dc_transfer_func ** shaper) dc_acquire_release_mpc_3dlut() argument
2672 is_flip_pending_in_pipes(struct dc * dc,struct dc_state * context) is_flip_pending_in_pipes() argument
2700 process_deferred_updates(struct dc * dc) process_deferred_updates() argument
2712 dc_post_update_surfaces_to_stream(struct dc * dc) dc_post_update_surfaces_to_stream() argument
2753 dc_get_default_tiling_info(const struct dc * dc,struct dc_tiling_info * tiling_info) dc_get_default_tiling_info() argument
3099 force_immediate_gsl_plane_flip(struct dc * dc,struct dc_surface_update * updates,int surface_count) force_immediate_gsl_plane_flip() argument
3467 copy_stream_update_to_stream(struct dc * dc,struct dc_state * context,struct dc_stream_state * stream,struct dc_stream_update * update) copy_stream_update_to_stream() argument
3665 update_seamless_boot_flags(struct dc * dc,struct dc_state * context,int surface_count,struct dc_stream_state * stream) update_seamless_boot_flags() argument
3693 backup_and_set_minimal_pipe_split_policy(struct dc * dc,struct dc_state * context,struct pipe_split_policy_backup * policy) backup_and_set_minimal_pipe_split_policy() argument
3714 restore_minimal_pipe_split_policy(struct dc * dc,struct dc_state * context,struct pipe_split_policy_backup * policy) restore_minimal_pipe_split_policy() argument
3752 update_planes_and_stream_state(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type * new_update_type,struct dc_state ** new_context) update_planes_and_stream_state() argument
3923 program_cursor_attributes_sequence(struct dc * dc,struct dc_stream_state * stream,struct dc_state * context,struct block_sequence_state * seq_state) program_cursor_attributes_sequence() argument
3971 program_cursor_position_sequence(struct dc * dc,struct dc_stream_state * stream,struct dc_state * context,struct block_sequence_state * seq_state) program_cursor_position_sequence() argument
4066 struct dc *dc = stream->ctx->dc; add_link_update_dsc_config_sequence() local
4168 commit_planes_do_stream_update_sequence(struct dc * dc,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type,struct dc_state * context,struct block_sequence block_sequence[MAX_HWSS_BLOCK_SEQUENCE_SIZE],unsigned int * num_steps) commit_planes_do_stream_update_sequence() argument
4339 commit_planes_do_stream_update(struct dc * dc,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type,struct dc_state * context) commit_planes_do_stream_update() argument
4512 dc_dmub_should_send_dirty_rect_cmd(struct dc * dc,struct dc_stream_state * stream) dc_dmub_should_send_dirty_rect_cmd() argument
4529 dc_dmub_update_dirty_rect(struct dc * dc,int surface_count,struct dc_stream_state * stream,const struct dc_surface_update * srf_updates,struct dc_state * context) dc_dmub_update_dirty_rect() argument
4589 build_dmub_update_dirty_rect(struct dc * dc,int surface_count,struct dc_stream_state * stream,struct dc_surface_update * srf_updates,struct dc_state * context,struct dc_dmub_cmd dc_dmub_cmd[],unsigned int * dmub_cmd_count) build_dmub_update_dirty_rect() argument
4687 build_dmub_cmd_list(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_state * context,struct dc_dmub_cmd dc_dmub_cmd[],unsigned int * dmub_cmd_count) build_dmub_cmd_list() argument
4700 commit_plane_for_stream_offload_fams2_flip(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_state * context) commit_plane_for_stream_offload_fams2_flip() argument
4740 commit_planes_for_stream_fast(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type,struct dc_state * context) commit_planes_for_stream_fast() argument
4860 commit_planes_for_stream(struct dc * dc,const struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type,struct dc_state * context) commit_planes_for_stream() argument
5323 could_mpcc_tree_change_for_active_pipes(struct dc * dc,struct dc_stream_state * stream,struct dc_surface_update * srf_updates,int surface_count,bool * is_plane_addition) could_mpcc_tree_change_for_active_pipes() argument
5398 release_minimal_transition_state(struct dc * dc,struct dc_state * minimal_transition_context,struct dc_state * base_context,struct pipe_split_policy_backup * policy) release_minimal_transition_state() argument
5421 create_minimal_transition_state(struct dc * dc,struct dc_state * base_context,struct pipe_split_policy_backup * policy) create_minimal_transition_state() argument
5449 is_pipe_topology_transition_seamless_with_intermediate_step(struct dc * dc,struct dc_state * initial_state,struct dc_state * intermediate_state,struct dc_state * final_state) is_pipe_topology_transition_seamless_with_intermediate_step() argument
5460 swap_and_release_current_context(struct dc * dc,struct dc_state * new_context,struct dc_stream_state * stream) swap_and_release_current_context() argument
5503 commit_minimal_transition_based_on_new_context(struct dc * dc,struct dc_state * new_context,struct dc_stream_state * stream,struct dc_stream_update * stream_update,struct dc_surface_update * srf_updates,int surface_count) commit_minimal_transition_based_on_new_context() argument
5537 commit_minimal_transition_based_on_current_context(struct dc * dc,struct dc_state * new_context,struct dc_stream_state * stream) commit_minimal_transition_based_on_current_context() argument
5611 commit_minimal_transition_state_in_dc_update(struct dc * dc,struct dc_state * new_context,struct dc_stream_state * stream,struct dc_surface_update * srf_updates,int surface_count) commit_minimal_transition_state_in_dc_update() argument
5646 commit_minimal_transition_state(struct dc * dc,struct dc_state * transition_base_context) commit_minimal_transition_state() argument
5854 full_update_required_weak(const struct dc * dc,const struct dc_surface_update * srf_updates,int surface_count,const struct dc_stream_update * stream_update,const struct dc_stream_state * stream) full_update_required_weak() argument
5882 full_update_required(const struct dc * dc,const struct dc_surface_update * srf_updates,int surface_count,const struct dc_stream_update * stream_update,const struct dc_stream_state * stream) full_update_required() argument
5931 fast_update_only(const struct dc * dc,const struct dc_fast_update * fast_update,const struct dc_surface_update * srf_updates,int surface_count,const struct dc_stream_update * stream_update,const struct dc_stream_state * stream) fast_update_only() argument
5942 update_planes_and_stream_v2(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update) update_planes_and_stream_v2() argument
6029 commit_planes_and_stream_update_on_current_context(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type) commit_planes_and_stream_update_on_current_context() argument
6061 commit_planes_and_stream_update_with_new_context(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,enum dc_update_type update_type,struct dc_state * new_context) commit_planes_and_stream_update_with_new_context() argument
6127 update_planes_and_stream_v3(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update) update_planes_and_stream_v3() argument
6179 dc_update_scratch_acquire(struct dc * dc) dc_update_scratch_acquire() argument
6196 dc_update_scratch_release(struct dc * dc,struct dc_update_scratch_space * scratch) dc_update_scratch_release() argument
6215 dc_update_state(struct dc * dc,const struct dc_state_update * updates) dc_update_state() argument
6251 dc_update_planes_and_stream(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update) dc_update_planes_and_stream() argument
6266 dc_commit_updates_for_stream(struct dc * dc,struct dc_surface_update * srf_updates,int surface_count,struct dc_stream_state * stream,struct dc_stream_update * stream_update,struct dc_state * state) dc_commit_updates_for_stream() argument
6294 dc_get_current_stream_count(struct dc * dc) dc_get_current_stream_count() argument
6299 dc_get_stream_at_index(struct dc * dc,uint8_t i) dc_get_stream_at_index() argument
6307 dc_interrupt_to_irq_source(struct dc * dc,uint32_t src_id,uint32_t ext_id) dc_interrupt_to_irq_source() argument
6317 dc_interrupt_set(struct dc * dc,enum dc_irq_source src,bool enable) dc_interrupt_set() argument
6326 dc_interrupt_ack(struct dc * dc,enum dc_irq_source src) dc_interrupt_ack() argument
6332 should_preserve_tg(struct dc * dc,struct timing_generator * tg) should_preserve_tg() argument
6383 dc_disable_dangling_timing_generators(struct dc * dc) dc_disable_dangling_timing_generators() argument
6455 dc_get_flip_pending_on_otg(struct dc * dc,int otg_inst) dc_get_flip_pending_on_otg() argument
6485 dc_power_down_on_boot(struct dc * dc) dc_power_down_on_boot() argument
6501 dc_set_power_state(struct dc * dc,enum dc_acpi_cm_power_state power_state) dc_set_power_state() argument
6542 dc_resume(struct dc * dc) dc_resume() argument
6550 dc_is_dmcu_initialized(struct dc * dc) dc_is_dmcu_initialized() argument
6559 dc_set_clock(struct dc * dc,enum dc_clock_type clock_type,uint32_t clk_khz,uint32_t stepping) dc_set_clock() argument
6565 dc_get_clock(struct dc * dc,enum dc_clock_type clock_type,struct dc_clock_config * clock_cfg) dc_get_clock() argument
6572 dc_set_psr_allow_active(struct dc * dc,bool enable) dc_set_psr_allow_active() argument
6602 dc_set_replay_allow_active(struct dc * dc,bool active) dc_set_replay_allow_active() argument
6634 dc_set_ips_disable(struct dc * dc,unsigned int disable_ips) dc_set_ips_disable() argument
6643 dc_allow_idle_optimizations_internal(struct dc * dc,bool allow,char const * caller_name) dc_allow_idle_optimizations_internal() argument
6696 dc_exit_ips_for_hw_access_internal(struct dc * dc,const char * caller_name) dc_exit_ips_for_hw_access_internal() argument
6702 dc_dmub_is_ips_idle_state(struct dc * dc) dc_dmub_is_ips_idle_state() argument
6717 dc_unlock_memory_clock_frequency(struct dc * dc) dc_unlock_memory_clock_frequency() argument
6727 dc_lock_memory_clock_frequency(struct dc * dc) dc_lock_memory_clock_frequency() argument
6739 blank_and_force_memclk(struct dc * dc,bool apply,unsigned int memclk_mhz) blank_and_force_memclk() argument
6796 dc_enable_dcmode_clk_limit(struct dc * dc,bool enable) dc_enable_dcmode_clk_limit() argument
6835 dc_is_plane_eligible_for_idle_optimizations(struct dc * dc,unsigned int pitch,unsigned int height,enum surface_pixel_format format,struct dc_cursor_attributes * cursor_attr) dc_is_plane_eligible_for_idle_optimizations() argument
6847 dc_hardware_release(struct dc * dc) dc_hardware_release() argument
6855 dc_mclk_switch_using_fw_based_vblank_stretch_shut_down(struct dc * dc) dc_mclk_switch_using_fw_based_vblank_stretch_shut_down() argument
6873 dc_is_dmub_outbox_supported(struct dc * dc) dc_is_dmub_outbox_supported() argument
6915 dc_enable_dmub_notifications(struct dc * dc) dc_enable_dmub_notifications() argument
6927 dc_enable_dmub_outbox(struct dc * dc) dc_enable_dmub_outbox() argument
6944 dc_process_dmub_aux_transfer_async(struct dc * dc,uint32_t link_index,struct aux_payload * payload) dc_process_dmub_aux_transfer_async() argument
7010 struct dc *dc = link->ctx->dc; dc_smart_power_oled_enable() local
7075 struct dc *dc = link->ctx->dc; dc_smart_power_oled_get_max_cll() local
7105 get_link_index_from_dpia_port_index(const struct dc * dc,uint8_t dpia_port_index) get_link_index_from_dpia_port_index() argument
7138 dc_process_dmub_set_config_async(struct dc * dc,uint32_t link_index,struct set_config_cmd_payload * payload,struct dmub_notification * notify) dc_process_dmub_set_config_async() argument
7183 dc_process_dmub_set_mst_slots(const struct dc * dc,uint32_t link_index,uint8_t mst_alloc_slots,uint8_t * mst_slots_in_use) dc_process_dmub_set_mst_slots() argument
7228 dc_process_dmub_dpia_set_tps_notification(const struct dc * dc,uint32_t link_index,uint8_t tps) dc_process_dmub_dpia_set_tps_notification() argument
7248 dc_process_dmub_dpia_hpd_int_enable(const struct dc * dc,uint32_t hpd_int_enable) dc_process_dmub_dpia_hpd_int_enable() argument
7268 dc_print_dmub_diagnostic_data(const struct dc * dc) dc_print_dmub_diagnostic_data() argument
7277 dc_disable_accelerated_mode(struct dc * dc) dc_disable_accelerated_mode() argument
7292 dc_notify_vsync_int_state(struct dc * dc,struct dc_stream_state * stream,bool enable) dc_notify_vsync_int_state() argument
7344 dc_abm_save_restore(struct dc * dc,struct dc_stream_state * stream,struct abm_save_restore * pData) dc_abm_save_restore() argument
7388 dc_query_current_properties(struct dc * dc,struct dc_current_properties * properties) dc_query_current_properties() argument
7421 dc_set_edp_power(const struct dc * dc,struct dc_link * edp_link,bool powerOn) dc_set_edp_power() argument
7450 struct dc *dc = context->clk_mgr->ctx->dc; dc_get_power_profile_for_dc_state() local
7468 struct dc *dc = context->clk_mgr->ctx->dc; dc_get_det_buffer_size_from_state() local
7489 struct dc *dc; dc_get_host_router_index() local
7506 dc_is_cursor_limit_pending(struct dc * dc) dc_is_cursor_limit_pending() argument
7518 dc_can_clear_cursor_limit(const struct dc * dc) dc_can_clear_cursor_limit() argument
7530 dc_get_underflow_debug_data_for_otg(struct dc * dc,unsigned int primary_otg_inst,struct dc_underflow_debug_data * out_data) dc_get_underflow_debug_data_for_otg() argument
7548 dc_get_power_feature_status(struct dc * dc,unsigned int primary_otg_inst,struct power_features * out_data) dc_get_power_feature_status() argument
7556 dc_capture_register_software_state(struct dc * dc,struct dc_register_software_state * state) dc_capture_register_software_state() argument
8132 dc_log_preos_dmcub_info(const struct dc * dc) dc_log_preos_dmcub_info() argument
8137 dc_get_qos_info(struct dc * dc,struct dc_qos_info * info) dc_get_qos_info() argument
8159 dc_override_memory_bandwidth_request(struct dc * dc,unsigned int bw_mbps) dc_override_memory_bandwidth_request() argument
8219 transition_countdown_init(struct dc * dc) transition_countdown_init() argument
8473 dc_update_state_init(struct dc * dc,const struct dc_state_update * updates) dc_update_state_init() argument
8525 struct dc *dc = scratch->dc; dc_update_probes_prepare() local
8553 struct dc *dc = scratch->dc; dc_update_probes_execute() local
[all...]
H A Ddc_surface.c73 for (i = 0; i < plane_state->ctx->dc->res_pool->pipe_count; i++) { in dc_plane_get_pipe_mask()
86 struct dc_plane_state *dc_create_plane_state(const struct dc *dc) in dc_create_plane_state() argument
95 dc_plane_construct(dc->ctx, plane_state); in dc_create_plane_state()
116 struct dc *dc; in dc_plane_get_status() local
121 !plane_state->ctx->dc) { in dc_plane_get_status()
127 dc = plane_state->ctx->dc; in dc_plane_get_status()
129 if (dc->current_state == NULL) in dc_plane_get_status()
133 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dc_plane_get_status()
135 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
149 dc_exit_ips_for_hw_access(dc); in dc_plane_get_status()
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_disc.c291 struct esas2r_disc_context *dc = &a->disc_ctx; in esas2r_disc_queue_event() local
298 dc->disc_evt |= disc_evt; in esas2r_disc_queue_event()
314 struct esas2r_disc_context *dc = &a->disc_ctx; in esas2r_disc_start_port() local
326 if (dc->disc_evt) { in esas2r_disc_start_port()
352 esas2r_trace("disc_evt: %d", dc->disc_evt); in esas2r_disc_start_port()
354 dc->flags = 0; in esas2r_disc_start_port()
357 dc->flags |= DCF_POLLED; in esas2r_disc_start_port()
359 rq->interrupt_cx = dc; in esas2r_disc_start_port()
363 if (dc->disc_evt & DCDE_DEV_SCAN) { in esas2r_disc_start_port()
364 dc->disc_evt &= ~DCDE_DEV_SCAN; in esas2r_disc_start_port()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.h31 void dcn20_populate_dml_writeback_from_context(struct dc *dc,
39 void dcn20_calculate_dlg_params(struct dc *dc,
44 int dcn20_populate_dml_pipes_from_context(struct dc *dc,
48 void dcn20_calculate_wm(struct dc *dc,
57 void dcn20_update_bounding_box(struct dc *dc,
62 void dcn20_patch_bounding_box(struct dc *dc,
64 bool dcn20_validate_bandwidth_fp(struct dc *dc, struct dc_state *context,
75 int dcn21_populate_dml_pipes_from_context(struct dc *dc,
79 bool dcn21_validate_bandwidth_fp(struct dc *dc, struct dc_state *context, enum
81 void dcn21_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params);
[all …]
/linux/drivers/clk/mvebu/
H A Ddove-divider.c51 static unsigned int dove_get_divider(struct dove_clk *dc) in dove_get_divider() argument
56 val = readl_relaxed(dc->base + DIV_CTRL0); in dove_get_divider()
57 val >>= dc->div_bit_start; in dove_get_divider()
59 divider = val & ~(~0 << dc->div_bit_size); in dove_get_divider()
61 if (dc->divider_table) in dove_get_divider()
62 divider = dc->divider_table[divider]; in dove_get_divider()
67 static int dove_calc_divider(const struct dove_clk *dc, unsigned long rate, in dove_calc_divider() argument
74 if (dc->divider_table) { in dove_calc_divider()
77 for (i = 0; dc->divider_table[i]; i++) in dove_calc_divider()
78 if (divider == dc->divider_table[i]) { in dove_calc_divider()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42b/
H A Ddcn42b_resource.c892 ctx->dc->caps.extended_aux_timeout_support); in dcn42b_aux_engine_create()
1642 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn42b_resource_destruct() local
1644 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn42b_resource_destruct()
1660 if (!pipe_ctx->stream->ctx->dc->config.unify_link_enc_assignment) in dcn42b_build_pipe_pix_clk_params()
1699 …if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(4 * stream->ctx->dc->clk_mgr->dprefclk_… in dcn42b_build_pipe_pix_clk_params()
1701 …} else if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(2 * stream->ctx->dc->clk_mgr->dp… in dcn42b_build_pipe_pix_clk_params()
1703 …} else if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(stream->ctx->dc->clk_mgr->dprefc… in dcn42b_build_pipe_pix_clk_params()
1744 ctx->dc->debug.enable_fine_grain_clock_gating.bits.mmhubbub); in dcn42b_mmhubbub_init()
1796 dsc401_set_fgcg(dsc, ctx->dc->debug.enable_fine_grain_clock_gating.bits.dsc); in dcn42b_dsc_create()
1815 static void dcn42b_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn42b_update_bw_bounding_box_fpu() argument
[all …]
/linux/drivers/md/bcache/
H A Dwriteback.h78 static inline bool bcache_dev_stripe_dirty(struct cached_dev *dc, in bcache_dev_stripe_dirty() argument
82 int stripe = offset_to_stripe(&dc->disk, offset); in bcache_dev_stripe_dirty()
88 if (atomic_read(dc->disk.stripe_sectors_dirty + stripe)) in bcache_dev_stripe_dirty()
91 if (nr_sectors <= dc->disk.stripe_size) in bcache_dev_stripe_dirty()
94 nr_sectors -= dc->disk.stripe_size; in bcache_dev_stripe_dirty()
102 static inline bool should_writeback(struct cached_dev *dc, struct bio *bio, in should_writeback() argument
105 unsigned int in_use = dc->disk.c->gc_stats.in_use; in should_writeback()
108 test_bit(BCACHE_DEV_DETACHING, &dc->disk.flags) || in should_writeback()
115 if (dc->partial_stripes_expensive && in should_writeback()
116 bcache_dev_stripe_dirty(dc, bio->bi_iter.bi_sector, in should_writeback()
[all …]
H A Dsysfs.c172 struct cached_dev *dc = container_of(kobj, struct cached_dev, in SHOW() local
175 int wb = dc->writeback_running; in SHOW()
177 #define var(stat) (dc->stat) in SHOW()
182 BDEV_CACHE_MODE(&dc->sb)); in SHOW()
187 dc->cache_readahead_policy); in SHOW()
192 dc->stop_when_cache_set_failed); in SHOW()
195 sysfs_printf(data_csum, "%i", dc->disk.data_csum); in SHOW()
204 wb ? atomic_long_read(&dc->writeback_rate.rate) << 9 : 0); in SHOW()
205 sysfs_printf(io_errors, "%i", atomic_read(&dc->io_errors)); in SHOW()
206 sysfs_printf(io_error_limit, "%i", dc->error_limit); in SHOW()
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-dc.c109 static void dc_link_event(struct ipu_dc *dc, int event, int addr, int priority) in dc_link_event() argument
113 reg = readl(dc->base + DC_RL_CH(event)); in dc_link_event()
116 writel(reg, dc->base + DC_RL_CH(event)); in dc_link_event()
119 static void dc_write_tmpl(struct ipu_dc *dc, int word, u32 opcode, u32 operand, in dc_write_tmpl() argument
122 struct ipu_dc_priv *priv = dc->priv; in dc_write_tmpl()
160 int ipu_dc_init_sync(struct ipu_dc *dc, struct ipu_di *di, bool interlaced, in ipu_dc_init_sync() argument
163 struct ipu_dc_priv *priv = dc->priv; in ipu_dc_init_sync()
168 dc->di = ipu_di_get_num(di); in ipu_dc_init_sync()
186 if (dc->di) in ipu_dc_init_sync()
192 dc_link_event(dc, DC_EVT_NL, addr, 3); in ipu_dc_init_sync()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn401/
H A Ddcn401_resource.c835 ctx->dc->caps.extended_aux_timeout_support); in dcn401_aux_engine_create()
1449 static unsigned int dcn401_calc_num_avail_chans_for_mall(struct dc *dc, unsigned int num_chans) in dcn401_calc_num_avail_chans_for_mall() argument
1463 if (ASICREV_IS_GC_12_0_0_A0(dc->ctx->asic_id.hw_internal_rev)) { in dcn401_calc_num_avail_chans_for_mall()
1465 } else if (ASICREV_IS_GC_12_0_1_A0(dc->ctx->asic_id.hw_internal_rev)) { in dcn401_calc_num_avail_chans_for_mall()
1673 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn401_resource_destruct() local
1675 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn401_resource_destruct()
1758 ctx->dc->debug.enable_fine_grain_clock_gating.bits.dsc); in dcn401_dsc_create()
1780 static void dcn401_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn401_update_bw_bounding_box_fpu() argument
1786 dc->caps.max_cab_allocation_bytes = dcn401_calc_num_avail_chans_for_mall( in dcn401_update_bw_bounding_box_fpu()
1787 dc, bw_params->num_channels) * in dcn401_update_bw_bounding_box_fpu()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.h38 void dcn31_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
39 void dcn315_update_soc_for_wm_a(struct dc *dc, struct dc_state *context);
42 struct dc *dc, struct dc_state *context,
47 void dcn31_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params);
48 void dcn315_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params);
49 void dcn316_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params);
55 int dcn31x_populate_dml_pipes_from_context(struct dc *dc,
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/
H A Damdgpu_dm_irq_test.c13 #include "dc.h"
277 static struct dc *dm_test_alloc_dc_with_irq_service(struct kunit *test, in dm_test_alloc_dc_with_irq_service()
283 struct dc *dc; in dm_test_alloc_dc_with_irq_service() local
286 dc = dm_kunit_alloc_dc_with_ctx(test); in dm_test_alloc_dc_with_irq_service()
305 dc->res_pool = res_pool; in dm_test_alloc_dc_with_irq_service()
307 return dc; in dm_test_alloc_dc_with_irq_service()
1423 struct dc *dc; in dm_test_hpd_rx_irq_create_workqueue() local
1428 dc in dm_test_hpd_rx_irq_create_workqueue()
1470 struct dc *dc; dm_test_hpd_rx_irq_work_suspend_flushes() local
1682 struct dc *dc; dm_test_set_crtc_irq_state_allows_idle() local
2155 struct dc *dc; dm_test_hpd_rx_offload_work_no_connection() local
2208 struct dc *dc; dm_test_hpd_rx_offload_work_automated_test() local
2278 struct dc *dc; dm_test_hpd_rx_offload_work_link_loss() local
2342 struct dc *dc; dm_test_hdmi_hpd_debounce_detect_false() local
2392 struct dc *dc; dm_test_hdmi_hpd_debounce_reallow_idle() local
2454 struct dc *dc; dm_test_handle_hpd_irq_disabled() local
2501 struct dc *dc; dm_test_handle_hpd_irq_helper_debounce_schedule() local
2563 struct dc *dc; dm_test_handle_hpd_irq_helper_debounce_release_prev() local
2631 struct dc *dc; dm_test_handle_hpd_irq_helper_detect_false() local
2684 struct dc *dc; dm_test_handle_hpd_rx_irq_disabled() local
2761 struct dc *dc; dm_test_setup_hpd_rx_irq() local
2908 struct dc *dc; dm_test_dmub_hpd_callback_invalid_index() local
2927 struct dc *dc; dm_test_dmub_hpd_callback_empty_connectors() local
2959 struct dc *dc; dm_test_dmub_hpd_callback_unknown_type_match() local
3012 struct dc *dc; dm_test_dmub_hpd_callback_hpd_type() local
3076 struct dc *dc; dm_test_dmub_hpd_callback_hpd_irq_type() local
3135 struct dc *dc; dm_test_register_hpd_handlers_empty() local
3154 struct dc *dc; dm_test_register_hpd_handlers_valid() local
3194 struct dc *dc; dm_test_register_hpd_handlers_invalid_hpd() local
3229 struct dc *dc; dm_test_register_hpd_handlers_invalid_hpd_rx() local
3266 struct dc *dc; dm_test_register_hpd_handlers_dmub_outbox() local
3479 struct dc *dc; dm_test_dmub_outbox1_low_irq_empty() local
3513 struct dc *dc; dm_test_alloc_adev_outbox_notify() local
3619 struct dc *dc; dm_test_dce110_register_irq_handlers_rejects_uninitialized_sources() local
3638 struct dc *dc; dm_test_dce110_register_irq_handlers_one_crtc() local
3678 struct dc *dc; dm_test_dcn10_register_irq_handlers_zero_crtc() local
3705 struct dc *dc; dm_test_dcn10_register_irq_handlers_one_crtc() local
3741 struct dc *dc; dm_test_register_outbox_irq_handlers_without_dmub() local
3770 struct dc *dc; dm_test_register_outbox_irq_handlers_with_dmub() local
3817 struct dc *dc; dm_test_irq_handler_dispatches_work() local
3880 struct dc *dc; dm_test_handle_vmin_vmax_update() local
[all...]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn42/
H A Ddcn42_resource.c839 ctx->dc->caps.extended_aux_timeout_support); in dcn42_aux_engine_create()
1653 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn42_resource_destruct() local
1655 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn42_resource_destruct()
1671 if (!pipe_ctx->stream->ctx->dc->config.unify_link_enc_assignment) in dcn42_build_pipe_pix_clk_params()
1710 …if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(4 * stream->ctx->dc->clk_mgr->dprefclk_… in dcn42_build_pipe_pix_clk_params()
1712 …} else if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(2 * stream->ctx->dc->clk_mgr->dp… in dcn42_build_pipe_pix_clk_params()
1714 …} else if (pixel_clk_params->requested_pix_clk_100hz > (uint32_t)(stream->ctx->dc->clk_mgr->dprefc… in dcn42_build_pipe_pix_clk_params()
1755 ctx->dc->debug.enable_fine_grain_clock_gating.bits.mmhubbub); in dcn42_mmhubbub_init()
1807 dsc401_set_fgcg(dsc, ctx->dc->debug.enable_fine_grain_clock_gating.bits.dsc); in dcn42_dsc_create()
1826 static void dcn42_update_bw_bounding_box_fpu(struct dc *dc, struct clk_bw_params *bw_params) in dcn42_update_bw_bounding_box_fpu() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.h32 void dcn201_init_hw(struct dc *dc);
35 void dcn201_update_plane_addr(const struct dc *dc, struct pipe_ctx *pipe_ctx);
36 void dcn201_plane_atomic_disconnect(struct dc *dc, struct dc_state *state, struct pipe_ctx *pipe_ct…
37 void dcn201_update_mpcc(struct dc *dc, struct pipe_ctx *pipe_ctx);
40 struct dc *dc,
44 struct dc *dc,
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c829 ctx->dc->caps.extended_aux_timeout_support); in dcn32_aux_engine_create()
946 ctx->dc->dml.ip.det_buffer_size_kbytes, in dcn32_hubbub_create()
947 ctx->dc->dml.ip.pixel_chunk_size_kbytes, in dcn32_hubbub_create()
948 ctx->dc->dml.ip.config_return_buffer_size_in_kbytes); in dcn32_hubbub_create()
1668 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn32_resource_destruct() local
1670 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn32_resource_destruct()
1809 static void dcn32_enable_phantom_plane(struct dc *dc, in dcn32_enable_phantom_plane() argument
1823 dc_state_create_phantom_plane(dc, context, curr_pipe->plane_state)); in dcn32_enable_phantom_plane()
1847 dc_state_add_phantom_plane(dc, phantom_stream, phantom_plane, context); in dcn32_enable_phantom_plane()
1854 static struct dc_stream_state *dcn32_enable_phantom_stream(struct dc *dc, in dcn32_enable_phantom_stream() argument
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c817 ctx->dc->caps.extended_aux_timeout_support); in dcn321_aux_engine_create()
934 ctx->dc->dml.ip.det_buffer_size_kbytes, in dcn321_hubbub_create()
935 ctx->dc->dml.ip.pixel_chunk_size_kbytes, in dcn321_hubbub_create()
936 ctx->dc->dml.ip.config_return_buffer_size_in_kbytes); in dcn321_hubbub_create()
1642 struct dc *dc = pool->base.oem_device->ctx->dc; in dcn321_resource_destruct() local
1644 dc->link_srv->destroy_ddc_service(&pool->base.oem_device); in dcn321_resource_destruct()
1744 static void dcn321_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) in dcn321_update_bw_bounding_box() argument
1748 dcn321_update_bw_bounding_box_fpu(dc, bw_params); in dcn321_update_bw_bounding_box()
1750 if (dc->debug.using_dml2 && dc->current_state && dc->current_state->bw_ctx.dml2) in dcn321_update_bw_bounding_box()
1751 dml2_reinit(dc, &dc->dml2_options, &dc->current_state->bw_ctx.dml2); in dcn321_update_bw_bounding_box()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c82 dc->ctx->logger
874 &aux_engine_regs[inst], &aux_mask, &aux_shift, ctx->dc->caps.extended_aux_timeout_support); in dcn303_aux_engine_create()
1012 static bool is_soc_bounding_box_valid(struct dc *dc) in is_soc_bounding_box_valid() argument
1014 uint32_t hw_internal_rev = dc->ctx->asic_id.hw_internal_rev; in is_soc_bounding_box_valid()
1022 static bool init_soc_bounding_box(struct dc *dc, struct resource_pool *pool) in init_soc_bounding_box() argument
1027 DC_LOGGER_INIT(dc->ctx->logger); in init_soc_bounding_box()
1029 if (!is_soc_bounding_box_valid(dc)) { in init_soc_bounding_box()
1036 loaded_ip->clamp_min_dcfclk = dc->config.clamp_min_dcfclk; in init_soc_bounding_box()
1038 dcn20_patch_bounding_box(dc, loaded_bb); in init_soc_bounding_box()
1041 if (dc->ctx->dc_bios->funcs->get_soc_bb_info) { in init_soc_bounding_box()
[all …]

12345678910>>...13