Home
last modified time | relevance | path

Searched refs:tg (Results 1 - 25 of 168) sorted by relevance

1234567

/kernel/linux/linux-6.6/block/
H A Dblk-throttle.c92 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() argument
94 return pd_to_blkg(&tg->pd); in tg_to_blkg()
121 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
123 if (tg) in sq_to_td()
124 return tg->td; in sq_to_td()
147 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit() argument
149 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit()
156 td = tg->td; in tg_bps_limit()
157 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit()
161 tg in tg_bps_limit()
177 tg_iops_limit(struct throtl_grp *tg, int rw) tg_iops_limit() argument
244 throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) throtl_qnode_init() argument
341 struct throtl_grp *tg; throtl_pd_alloc() local
388 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_init() local
418 tg_update_has_rules(struct throtl_grp *tg) tg_update_has_rules() argument
438 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_online() local
455 struct throtl_grp *tg = blkg_to_tg(blkg); blk_throtl_update_limit_valid() local
476 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_offline() local
491 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_free() local
520 struct throtl_grp *tg; update_min_dispatch_time() local
529 tg_service_queue_add(struct throtl_grp *tg) tg_service_queue_add() argument
555 throtl_enqueue_tg(struct throtl_grp *tg) throtl_enqueue_tg() argument
564 throtl_dequeue_tg(struct throtl_grp *tg) throtl_dequeue_tg() argument
633 throtl_start_new_slice_with_credit(struct throtl_grp *tg, bool rw, unsigned long start) throtl_start_new_slice_with_credit() argument
657 throtl_start_new_slice(struct throtl_grp *tg, bool rw, bool clear_carryover) throtl_start_new_slice() argument
675 throtl_set_slice_end(struct throtl_grp *tg, bool rw, unsigned long jiffy_end) throtl_set_slice_end() argument
681 throtl_extend_slice(struct throtl_grp *tg, bool rw, unsigned long jiffy_end) throtl_extend_slice() argument
692 throtl_slice_used(struct throtl_grp *tg, bool rw) throtl_slice_used() argument
736 throtl_trim_slice(struct throtl_grp *tg, bool rw) throtl_trim_slice() argument
796 __tg_update_carryover(struct throtl_grp *tg, bool rw) __tg_update_carryover() argument
818 tg_update_carryover(struct throtl_grp *tg) tg_update_carryover() argument
831 tg_within_iops_limit(struct throtl_grp *tg, struct bio *bio, u32 iops_limit) tg_within_iops_limit() argument
856 tg_within_bps_limit(struct throtl_grp *tg, struct bio *bio, u64 bps_limit) tg_within_bps_limit() argument
901 tg_may_dispatch(struct throtl_grp *tg, struct bio *bio, unsigned long *wait) tg_may_dispatch() argument
961 throtl_charge_bio(struct throtl_grp *tg, struct bio *bio) throtl_charge_bio() argument
985 throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, struct throtl_grp *tg) throtl_add_bio_tg() argument
1009 tg_update_disptime(struct throtl_grp *tg) tg_update_disptime() argument
1045 tg_dispatch_one_bio(struct throtl_grp *tg, bool rw) tg_dispatch_one_bio() argument
1088 throtl_dispatch_tg(struct throtl_grp *tg) throtl_dispatch_tg() argument
1126 struct throtl_grp *tg; throtl_select_dispatch() local
1174 struct throtl_grp *tg = sq_to_tg(sq); throtl_pending_timer_fn() local
1279 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_conf_u64() local
1290 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_conf_uint() local
1312 tg_conf_updated(struct throtl_grp *tg, bool global) tg_conf_updated() argument
1375 struct throtl_grp *tg; tg_set_conf() local
1495 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_limit() local
1567 struct throtl_grp *tg; tg_set_limit() local
1733 struct throtl_grp *tg = blkg_to_tg(blkg); blk_throtl_cancel_bios() local
1765 __tg_last_low_overflow_time(struct throtl_grp *tg) __tg_last_low_overflow_time() argument
1776 tg_last_low_overflow_time(struct throtl_grp *tg) tg_last_low_overflow_time() argument
1803 throtl_tg_is_idle(struct throtl_grp *tg) throtl_tg_is_idle() argument
1829 throtl_low_limit_reached(struct throtl_grp *tg, int rw) throtl_low_limit_reached() argument
1843 throtl_tg_can_upgrade(struct throtl_grp *tg) throtl_tg_can_upgrade() argument
1861 throtl_hierarchy_can_upgrade(struct throtl_grp *tg) throtl_hierarchy_can_upgrade() argument
1887 struct throtl_grp *tg = blkg_to_tg(blkg); throtl_can_upgrade() local
1902 throtl_upgrade_check(struct throtl_grp *tg) throtl_upgrade_check() argument
1933 struct throtl_grp *tg = blkg_to_tg(blkg); throtl_upgrade_state() local
1960 throtl_tg_can_downgrade(struct throtl_grp *tg) throtl_tg_can_downgrade() argument
1977 throtl_hierarchy_can_downgrade(struct throtl_grp *tg) throtl_hierarchy_can_downgrade() argument
1994 throtl_downgrade_check(struct throtl_grp *tg) throtl_downgrade_check() argument
2055 blk_throtl_update_idletime(struct throtl_grp *tg) blk_throtl_update_idletime() argument
2153 blk_throtl_update_idletime(struct throtl_grp *tg) blk_throtl_update_idletime() argument
2157 throtl_downgrade_check(struct throtl_grp *tg) throtl_downgrade_check() argument
2161 throtl_upgrade_check(struct throtl_grp *tg) throtl_upgrade_check() argument
2181 struct throtl_grp *tg = blkg_to_tg(blkg); __blk_throtl_bio() local
2316 struct throtl_grp *tg; blk_throtl_bio_endio() local
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c72 struct throtl_grp *tg; /* tg this qnode belongs to */ member
91 unsigned long first_pending_disptime; /* disptime of the first tg */
245 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() argument
247 return pd_to_blkg(&tg->pd); in tg_to_blkg()
274 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
276 if (tg) in sq_to_td()
277 return tg->td; in sq_to_td()
300 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit() argument
302 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit()
330 tg_iops_limit(struct throtl_grp *tg, int rw) tg_iops_limit() argument
397 throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) throtl_qnode_init() argument
495 struct throtl_grp *tg; throtl_pd_alloc() local
542 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_init() local
571 tg_update_has_rules(struct throtl_grp *tg) tg_update_has_rules() argument
586 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_online() local
602 struct throtl_grp *tg = blkg_to_tg(blkg); blk_throtl_update_limit_valid() local
618 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_offline() local
633 struct throtl_grp *tg = pd_to_tg(pd); throtl_pd_free() local
663 struct throtl_grp *tg; update_min_dispatch_time() local
672 tg_service_queue_add(struct throtl_grp *tg) tg_service_queue_add() argument
698 throtl_enqueue_tg(struct throtl_grp *tg) throtl_enqueue_tg() argument
707 throtl_dequeue_tg(struct throtl_grp *tg) throtl_dequeue_tg() argument
772 throtl_start_new_slice_with_credit(struct throtl_grp *tg, bool rw, unsigned long start) throtl_start_new_slice_with_credit() argument
796 throtl_start_new_slice(struct throtl_grp *tg, bool rw) throtl_start_new_slice() argument
811 throtl_set_slice_end(struct throtl_grp *tg, bool rw, unsigned long jiffy_end) throtl_set_slice_end() argument
817 throtl_extend_slice(struct throtl_grp *tg, bool rw, unsigned long jiffy_end) throtl_extend_slice() argument
828 throtl_slice_used(struct throtl_grp *tg, bool rw) throtl_slice_used() argument
837 throtl_trim_slice(struct throtl_grp *tg, bool rw) throtl_trim_slice() argument
896 tg_with_in_iops_limit(struct throtl_grp *tg, struct bio *bio, u32 iops_limit, unsigned long *wait) tg_with_in_iops_limit() argument
944 tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, u64 bps_limit, unsigned long *wait) tg_with_in_bps_limit() argument
995 tg_may_dispatch(struct throtl_grp *tg, struct bio *bio, unsigned long *wait) tg_may_dispatch() argument
1056 throtl_charge_bio(struct throtl_grp *tg, struct bio *bio) throtl_charge_bio() argument
1086 throtl_add_bio_tg(struct bio *bio, struct throtl_qnode *qn, struct throtl_grp *tg) throtl_add_bio_tg() argument
1110 tg_update_disptime(struct throtl_grp *tg) tg_update_disptime() argument
1146 tg_dispatch_one_bio(struct throtl_grp *tg, bool rw) tg_dispatch_one_bio() argument
1188 throtl_dispatch_tg(struct throtl_grp *tg) throtl_dispatch_tg() argument
1226 struct throtl_grp *tg; throtl_select_dispatch() local
1274 struct throtl_grp *tg = sq_to_tg(sq); throtl_pending_timer_fn() local
1369 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_conf_u64() local
1380 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_conf_uint() local
1402 tg_conf_updated(struct throtl_grp *tg, bool global) tg_conf_updated() argument
1490 struct throtl_grp *tg; tg_set_conf() local
1612 struct throtl_grp *tg = pd_to_tg(pd); tg_prfill_limit() local
1684 struct throtl_grp *tg; tg_set_limit() local
1837 __tg_last_low_overflow_time(struct throtl_grp *tg) __tg_last_low_overflow_time() argument
1849 tg_last_low_overflow_time(struct throtl_grp *tg) tg_last_low_overflow_time() argument
1876 throtl_tg_is_idle(struct throtl_grp *tg) throtl_tg_is_idle() argument
1902 throtl_tg_can_upgrade(struct throtl_grp *tg) throtl_tg_can_upgrade() argument
1929 throtl_hierarchy_can_upgrade(struct throtl_grp *tg) throtl_hierarchy_can_upgrade() argument
1955 struct throtl_grp *tg = blkg_to_tg(blkg); throtl_can_upgrade() local
1970 throtl_upgrade_check(struct throtl_grp *tg) throtl_upgrade_check() argument
2001 struct throtl_grp *tg = blkg_to_tg(blkg); throtl_upgrade_state() local
2028 throtl_tg_can_downgrade(struct throtl_grp *tg) throtl_tg_can_downgrade() argument
2046 throtl_hierarchy_can_downgrade(struct throtl_grp *tg) throtl_hierarchy_can_downgrade() argument
2058 throtl_downgrade_check(struct throtl_grp *tg) throtl_downgrade_check() argument
2121 blk_throtl_update_idletime(struct throtl_grp *tg) blk_throtl_update_idletime() argument
2245 struct throtl_grp *tg = blkg_to_tg(blkg); blk_throtl_bio() local
2392 struct throtl_grp *tg; blk_throtl_bio_endio() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h117 #define DCE110TG_FROM_TG(tg)\
118 container_of(tg, struct dce110_timing_generator, base)
121 struct dce110_timing_generator *tg,
128 struct timing_generator *tg,
136 struct timing_generator *tg,
140 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg);
141 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg);
144 struct timing_generator *tg,
151 struct timing_generator *tg);
154 struct timing_generator *tg,
[all...]
H A Ddce110_timing_generator_v.c42 tg->ctx->logger
53 static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_enable_crtc() argument
65 dm_write_reg(tg->ctx, in dce110_timing_generator_v_enable_crtc()
70 dm_write_reg(tg->ctx, mmCRTCV_MASTER_UPDATE_MODE, value); in dce110_timing_generator_v_enable_crtc()
75 dm_write_reg(tg->ctx, in dce110_timing_generator_v_enable_crtc()
81 static bool dce110_timing_generator_v_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_disable_crtc() argument
85 value = dm_read_reg(tg->ctx, in dce110_timing_generator_v_disable_crtc()
91 dm_write_reg(tg->ctx, in dce110_timing_generator_v_disable_crtc()
95 * tg->funcs->disable_stereo(tg); in dce110_timing_generator_v_disable_crtc()
100 dce110_timing_generator_v_blank_crtc(struct timing_generator *tg) dce110_timing_generator_v_blank_crtc() argument
120 dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg) dce110_timing_generator_v_unblank_crtc() argument
140 dce110_timing_generator_v_is_in_vertical_blank( struct timing_generator *tg) dce110_timing_generator_v_is_in_vertical_blank() argument
153 dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg) dce110_timing_generator_v_is_counter_moving() argument
191 dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg) dce110_timing_generator_v_wait_for_vblank() argument
215 dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg) dce110_timing_generator_v_wait_for_vactive() argument
225 dce110_timing_generator_v_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce110_timing_generator_v_wait_for_state() argument
242 dce110_timing_generator_v_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_timing_generator_v_program_blanking() argument
384 dce110_timing_generator_v_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce110_timing_generator_v_enable_advanced_request() argument
427 dce110_timing_generator_v_set_blank(struct timing_generator *tg, bool enable_blanking) dce110_timing_generator_v_set_blank() argument
436 dce110_timing_generator_v_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce110_timing_generator_v_program_timing() argument
451 dce110_timing_generator_v_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce110_timing_generator_v_program_blank_color() argument
477 dce110_timing_generator_v_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce110_timing_generator_v_set_overscan_color_black() argument
523 dce110_tg_v_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce110_tg_v_program_blank_color() argument
551 dce110_timing_generator_v_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce110_timing_generator_v_set_overscan_color() argument
580 dce110_timing_generator_v_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce110_timing_generator_v_set_colors() argument
590 dce110_timing_generator_v_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce110_timing_generator_v_set_early_control() argument
603 dce110_timing_generator_v_get_vblank_counter(struct timing_generator *tg) dce110_timing_generator_v_get_vblank_counter() argument
613 dce110_timing_generator_v_did_triggered_reset_occur( struct timing_generator *tg) dce110_timing_generator_v_did_triggered_reset_occur() argument
620 dce110_timing_generator_v_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce110_timing_generator_v_setup_global_swap_lock() argument
628 dce110_timing_generator_v_enable_reset_trigger( struct timing_generator *tg, int source_tg_inst) dce110_timing_generator_v_enable_reset_trigger() argument
636 dce110_timing_generator_v_disable_reset_trigger( struct timing_generator *tg) dce110_timing_generator_v_disable_reset_trigger() argument
643 dce110_timing_generator_v_tear_down_global_swap_lock( struct timing_generator *tg) dce110_timing_generator_v_tear_down_global_swap_lock() argument
650 dce110_timing_generator_v_disable_vga( struct timing_generator *tg) dce110_timing_generator_v_disable_vga() argument
[all...]
H A Ddce110_timing_generator.c66 struct timing_generator *tg, in dce110_timing_generator_apply_front_porch_workaround()
92 struct timing_generator *tg) in dce110_timing_generator_is_in_vertical_blank()
97 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_is_in_vertical_blank()
100 value = dm_read_reg(tg->ctx, addr); in dce110_timing_generator_is_in_vertical_blank()
106 struct timing_generator *tg, in dce110_timing_generator_set_early_control()
110 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_set_early_control()
113 regval = dm_read_reg(tg->ctx, address); in dce110_timing_generator_set_early_control()
116 dm_write_reg(tg->ctx, address, regval); in dce110_timing_generator_set_early_control()
123 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_enable_crtc() argument
127 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_enable_crtc()
65 dce110_timing_generator_apply_front_porch_workaround( struct timing_generator *tg, struct dc_crtc_timing *timing) dce110_timing_generator_apply_front_porch_workaround() argument
91 dce110_timing_generator_is_in_vertical_blank( struct timing_generator *tg) dce110_timing_generator_is_in_vertical_blank() argument
105 dce110_timing_generator_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce110_timing_generator_set_early_control() argument
151 dce110_timing_generator_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce110_timing_generator_program_blank_color() argument
232 dce110_timing_generator_disable_crtc(struct timing_generator *tg) dce110_timing_generator_disable_crtc() argument
255 program_horz_count_by_2( struct timing_generator *tg, const struct dc_crtc_timing *timing) program_horz_count_by_2() argument
281 dce110_timing_generator_program_timing_generator( struct timing_generator *tg, const struct dc_crtc_timing *dc_crtc_timing) dce110_timing_generator_program_timing_generator() argument
366 dce110_timing_generator_set_drr( struct timing_generator *tg, const struct drr_params *params) dce110_timing_generator_set_drr() argument
470 dce110_timing_generator_set_static_screen_control( struct timing_generator *tg, uint32_t event_triggers, uint32_t num_frames) dce110_timing_generator_set_static_screen_control() argument
513 dce110_timing_generator_get_vblank_counter(struct timing_generator *tg) dce110_timing_generator_get_vblank_counter() argument
534 dce110_timing_generator_get_position(struct timing_generator *tg, struct crtc_position *position) dce110_timing_generator_get_position() argument
570 dce110_timing_generator_get_crtc_scanoutpos( struct timing_generator *tg, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dce110_timing_generator_get_crtc_scanoutpos() argument
601 dce110_timing_generator_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_timing_generator_program_blanking() argument
704 dce110_timing_generator_set_test_pattern( struct timing_generator *tg, enum controller_dp_test_pattern test_pattern, enum dc_color_depth color_depth) dce110_timing_generator_set_test_pattern() argument
1114 dce110_timing_generator_validate_timing( struct timing_generator *tg, const struct dc_crtc_timing *timing, enum signal_type signal) dce110_timing_generator_validate_timing() argument
1173 dce110_timing_generator_wait_for_vblank(struct timing_generator *tg) dce110_timing_generator_wait_for_vblank() argument
1197 dce110_timing_generator_wait_for_vactive(struct timing_generator *tg) dce110_timing_generator_wait_for_vactive() argument
1219 dce110_timing_generator_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce110_timing_generator_setup_global_swap_lock() argument
1317 dce110_timing_generator_tear_down_global_swap_lock( struct timing_generator *tg) dce110_timing_generator_tear_down_global_swap_lock() argument
1400 dce110_timing_generator_is_counter_moving(struct timing_generator *tg) dce110_timing_generator_is_counter_moving() argument
1414 dce110_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce110_timing_generator_enable_advanced_request() argument
1477 dce110_timing_generator_set_lock_master(struct timing_generator *tg, bool lock) dce110_timing_generator_set_lock_master() argument
1494 dce110_timing_generator_enable_reset_trigger( struct timing_generator *tg, int source_tg_inst) dce110_timing_generator_enable_reset_trigger() argument
1583 dce110_timing_generator_enable_crtc_reset( struct timing_generator *tg, int source_tg_inst, struct crtc_trigger_info *crtc_tp) dce110_timing_generator_enable_crtc_reset() argument
1715 dce110_timing_generator_disable_reset_trigger( struct timing_generator *tg) dce110_timing_generator_disable_reset_trigger() argument
1779 dce110_timing_generator_did_triggered_reset_occur( struct timing_generator *tg) dce110_timing_generator_did_triggered_reset_occur() argument
1802 dce110_timing_generator_disable_vga( struct timing_generator *tg) dce110_timing_generator_disable_vga() argument
1851 dce110_timing_generator_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce110_timing_generator_set_overscan_color_black() argument
1899 dce110_tg_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce110_tg_program_blank_color() argument
1928 dce110_tg_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce110_tg_set_overscan_color() argument
1958 dce110_tg_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce110_tg_program_timing() argument
1973 dce110_tg_is_blanked(struct timing_generator *tg) dce110_tg_is_blanked() argument
1990 dce110_tg_set_blank(struct timing_generator *tg, bool enable_blanking) dce110_tg_set_blank() argument
2018 dce110_tg_validate_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_tg_validate_timing() argument
2024 dce110_tg_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce110_tg_wait_for_state() argument
2041 dce110_tg_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce110_tg_set_colors() argument
2054 dce110_arm_vert_intr(struct timing_generator *tg, uint8_t width) dce110_arm_vert_intr() argument
2090 dce110_is_tg_enabled(struct timing_generator *tg) dce110_is_tg_enabled() argument
2104 dce110_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce110_configure_crc() argument
2181 dce110_get_crc(struct timing_generator *tg, uint32_t *r_cr, uint32_t *g_y, uint32_t *b_cb) dce110_get_crc() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.h117 #define DCE110TG_FROM_TG(tg)\
118 container_of(tg, struct dce110_timing_generator, base)
121 struct dce110_timing_generator *tg,
128 struct timing_generator *tg,
136 struct timing_generator *tg,
140 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg);
141 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg);
144 struct timing_generator *tg,
151 struct timing_generator *tg);
154 struct timing_generator *tg,
[all...]
H A Ddce110_timing_generator_v.c42 tg->ctx->logger
53 static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_enable_crtc() argument
64 dm_write_reg(tg->ctx, in dce110_timing_generator_v_enable_crtc()
69 dm_write_reg(tg->ctx, mmCRTCV_MASTER_UPDATE_MODE, value); in dce110_timing_generator_v_enable_crtc()
74 dm_write_reg(tg->ctx, in dce110_timing_generator_v_enable_crtc()
80 static bool dce110_timing_generator_v_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_v_disable_crtc() argument
84 value = dm_read_reg(tg->ctx, in dce110_timing_generator_v_disable_crtc()
90 dm_write_reg(tg->ctx, in dce110_timing_generator_v_disable_crtc()
94 * tg->funcs->disable_stereo(tg); in dce110_timing_generator_v_disable_crtc()
99 dce110_timing_generator_v_blank_crtc(struct timing_generator *tg) dce110_timing_generator_v_blank_crtc() argument
119 dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg) dce110_timing_generator_v_unblank_crtc() argument
139 dce110_timing_generator_v_is_in_vertical_blank( struct timing_generator *tg) dce110_timing_generator_v_is_in_vertical_blank() argument
152 dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg) dce110_timing_generator_v_is_counter_moving() argument
190 dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg) dce110_timing_generator_v_wait_for_vblank() argument
214 dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg) dce110_timing_generator_v_wait_for_vactive() argument
224 dce110_timing_generator_v_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce110_timing_generator_v_wait_for_state() argument
241 dce110_timing_generator_v_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_timing_generator_v_program_blanking() argument
383 dce110_timing_generator_v_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce110_timing_generator_v_enable_advanced_request() argument
426 dce110_timing_generator_v_set_blank(struct timing_generator *tg, bool enable_blanking) dce110_timing_generator_v_set_blank() argument
435 dce110_timing_generator_v_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce110_timing_generator_v_program_timing() argument
450 dce110_timing_generator_v_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce110_timing_generator_v_program_blank_color() argument
476 dce110_timing_generator_v_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce110_timing_generator_v_set_overscan_color_black() argument
522 dce110_tg_v_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce110_tg_v_program_blank_color() argument
550 dce110_timing_generator_v_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce110_timing_generator_v_set_overscan_color() argument
579 dce110_timing_generator_v_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce110_timing_generator_v_set_colors() argument
589 dce110_timing_generator_v_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce110_timing_generator_v_set_early_control() argument
602 dce110_timing_generator_v_get_vblank_counter(struct timing_generator *tg) dce110_timing_generator_v_get_vblank_counter() argument
612 dce110_timing_generator_v_did_triggered_reset_occur( struct timing_generator *tg) dce110_timing_generator_v_did_triggered_reset_occur() argument
619 dce110_timing_generator_v_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce110_timing_generator_v_setup_global_swap_lock() argument
627 dce110_timing_generator_v_enable_reset_trigger( struct timing_generator *tg, int source_tg_inst) dce110_timing_generator_v_enable_reset_trigger() argument
635 dce110_timing_generator_v_disable_reset_trigger( struct timing_generator *tg) dce110_timing_generator_v_disable_reset_trigger() argument
642 dce110_timing_generator_v_tear_down_global_swap_lock( struct timing_generator *tg) dce110_timing_generator_v_tear_down_global_swap_lock() argument
649 dce110_timing_generator_v_disable_vga( struct timing_generator *tg) dce110_timing_generator_v_disable_vga() argument
[all...]
H A Ddce110_timing_generator.c66 struct timing_generator *tg, in dce110_timing_generator_apply_front_porch_workaround()
92 struct timing_generator *tg) in dce110_timing_generator_is_in_vertical_blank()
97 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_is_in_vertical_blank()
100 value = dm_read_reg(tg->ctx, addr); in dce110_timing_generator_is_in_vertical_blank()
106 struct timing_generator *tg, in dce110_timing_generator_set_early_control()
110 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_set_early_control()
113 regval = dm_read_reg(tg->ctx, address); in dce110_timing_generator_set_early_control()
116 dm_write_reg(tg->ctx, address, regval); in dce110_timing_generator_set_early_control()
123 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_enable_crtc() argument
127 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_enable_crtc()
65 dce110_timing_generator_apply_front_porch_workaround( struct timing_generator *tg, struct dc_crtc_timing *timing) dce110_timing_generator_apply_front_porch_workaround() argument
91 dce110_timing_generator_is_in_vertical_blank( struct timing_generator *tg) dce110_timing_generator_is_in_vertical_blank() argument
105 dce110_timing_generator_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce110_timing_generator_set_early_control() argument
151 dce110_timing_generator_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce110_timing_generator_program_blank_color() argument
232 dce110_timing_generator_disable_crtc(struct timing_generator *tg) dce110_timing_generator_disable_crtc() argument
254 program_horz_count_by_2( struct timing_generator *tg, const struct dc_crtc_timing *timing) program_horz_count_by_2() argument
280 dce110_timing_generator_program_timing_generator( struct timing_generator *tg, const struct dc_crtc_timing *dc_crtc_timing) dce110_timing_generator_program_timing_generator() argument
365 dce110_timing_generator_set_drr( struct timing_generator *tg, const struct drr_params *params) dce110_timing_generator_set_drr() argument
469 dce110_timing_generator_set_static_screen_control( struct timing_generator *tg, uint32_t event_triggers, uint32_t num_frames) dce110_timing_generator_set_static_screen_control() argument
512 dce110_timing_generator_get_vblank_counter(struct timing_generator *tg) dce110_timing_generator_get_vblank_counter() argument
533 dce110_timing_generator_get_position(struct timing_generator *tg, struct crtc_position *position) dce110_timing_generator_get_position() argument
569 dce110_timing_generator_get_crtc_scanoutpos( struct timing_generator *tg, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dce110_timing_generator_get_crtc_scanoutpos() argument
600 dce110_timing_generator_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_timing_generator_program_blanking() argument
703 dce110_timing_generator_set_test_pattern( struct timing_generator *tg, enum controller_dp_test_pattern test_pattern, enum dc_color_depth color_depth) dce110_timing_generator_set_test_pattern() argument
1113 dce110_timing_generator_validate_timing( struct timing_generator *tg, const struct dc_crtc_timing *timing, enum signal_type signal) dce110_timing_generator_validate_timing() argument
1172 dce110_timing_generator_wait_for_vblank(struct timing_generator *tg) dce110_timing_generator_wait_for_vblank() argument
1196 dce110_timing_generator_wait_for_vactive(struct timing_generator *tg) dce110_timing_generator_wait_for_vactive() argument
1217 dce110_timing_generator_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce110_timing_generator_setup_global_swap_lock() argument
1315 dce110_timing_generator_tear_down_global_swap_lock( struct timing_generator *tg) dce110_timing_generator_tear_down_global_swap_lock() argument
1395 dce110_timing_generator_is_counter_moving(struct timing_generator *tg) dce110_timing_generator_is_counter_moving() argument
1409 dce110_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce110_timing_generator_enable_advanced_request() argument
1472 dce110_timing_generator_set_lock_master(struct timing_generator *tg, bool lock) dce110_timing_generator_set_lock_master() argument
1489 dce110_timing_generator_enable_reset_trigger( struct timing_generator *tg, int source_tg_inst) dce110_timing_generator_enable_reset_trigger() argument
1578 dce110_timing_generator_enable_crtc_reset( struct timing_generator *tg, int source_tg_inst, struct crtc_trigger_info *crtc_tp) dce110_timing_generator_enable_crtc_reset() argument
1710 dce110_timing_generator_disable_reset_trigger( struct timing_generator *tg) dce110_timing_generator_disable_reset_trigger() argument
1774 dce110_timing_generator_did_triggered_reset_occur( struct timing_generator *tg) dce110_timing_generator_did_triggered_reset_occur() argument
1797 dce110_timing_generator_disable_vga( struct timing_generator *tg) dce110_timing_generator_disable_vga() argument
1845 dce110_timing_generator_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce110_timing_generator_set_overscan_color_black() argument
1893 dce110_tg_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce110_tg_program_blank_color() argument
1922 dce110_tg_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce110_tg_set_overscan_color() argument
1952 dce110_tg_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce110_tg_program_timing() argument
1967 dce110_tg_is_blanked(struct timing_generator *tg) dce110_tg_is_blanked() argument
1984 dce110_tg_set_blank(struct timing_generator *tg, bool enable_blanking) dce110_tg_set_blank() argument
2012 dce110_tg_validate_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing) dce110_tg_validate_timing() argument
2018 dce110_tg_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce110_tg_wait_for_state() argument
2035 dce110_tg_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce110_tg_set_colors() argument
2048 dce110_arm_vert_intr(struct timing_generator *tg, uint8_t width) dce110_arm_vert_intr() argument
2084 dce110_is_tg_enabled(struct timing_generator *tg) dce110_is_tg_enabled() argument
2098 dce110_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce110_configure_crc() argument
2175 dce110_get_crc(struct timing_generator *tg, uint32_t *r_cr, uint32_t *g_y, uint32_t *b_cb) dce110_get_crc() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtiming_generator.h150 bool (*validate_timing)(struct timing_generator *tg,
152 void (*program_timing)(struct timing_generator *tg,
172 bool (*enable_crtc)(struct timing_generator *tg);
173 bool (*disable_crtc)(struct timing_generator *tg);
174 bool (*is_counter_moving)(struct timing_generator *tg);
175 void (*get_position)(struct timing_generator *tg,
178 uint32_t (*get_frame_count)(struct timing_generator *tg);
180 struct timing_generator *tg,
188 bool (*is_matching_timing)(struct timing_generator *tg,
190 void (*set_early_control)(struct timing_generator *tg,
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c86 struct timing_generator *tg) in dce120_timing_generator_is_in_vertical_blank()
89 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_is_in_vertical_blank()
91 tg->ctx, in dce120_timing_generator_is_in_vertical_blank()
102 struct timing_generator *tg, in dce120_timing_generator_validate_timing()
111 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_validate_timing()
114 tg, in dce120_timing_generator_validate_timing()
128 bool dce120_tg_validate_timing(struct timing_generator *tg, in dce120_tg_validate_timing() argument
131 return dce120_timing_generator_validate_timing(tg, timing, SIGNAL_TYPE_NONE); in dce120_tg_validate_timing()
136 bool dce120_timing_generator_enable_crtc(struct timing_generator *tg) in dce120_timing_generator_enable_crtc() argument
139 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_enable_crtc()
85 dce120_timing_generator_is_in_vertical_blank( struct timing_generator *tg) dce120_timing_generator_is_in_vertical_blank() argument
101 dce120_timing_generator_validate_timing( struct timing_generator *tg, const struct dc_crtc_timing *timing, enum signal_type signal) dce120_timing_generator_validate_timing() argument
156 dce120_timing_generator_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce120_timing_generator_set_early_control() argument
169 dce120_timing_generator_get_vblank_counter( struct timing_generator *tg) dce120_timing_generator_get_vblank_counter() argument
184 dce120_timing_generator_get_crtc_position( struct timing_generator *tg, struct crtc_position *position) dce120_timing_generator_get_crtc_position() argument
210 dce120_timing_generator_wait_for_vblank(struct timing_generator *tg) dce120_timing_generator_wait_for_vblank() argument
232 dce120_timing_generator_wait_for_vactive(struct timing_generator *tg) dce120_timing_generator_wait_for_vactive() argument
245 dce120_timing_generator_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce120_timing_generator_setup_global_swap_lock() argument
282 dce120_timing_generator_tear_down_global_swap_lock( struct timing_generator *tg) dce120_timing_generator_tear_down_global_swap_lock() argument
303 dce120_timing_generator_enable_reset_trigger( struct timing_generator *tg, int source) dce120_timing_generator_enable_reset_trigger() argument
350 dce120_timing_generator_disable_reset_trigger( struct timing_generator *tg) dce120_timing_generator_disable_reset_trigger() argument
370 dce120_timing_generator_did_triggered_reset_occur( struct timing_generator *tg) dce120_timing_generator_did_triggered_reset_occur() argument
387 dce120_timing_generator_disable_vga(struct timing_generator *tg) dce120_timing_generator_disable_vga() argument
428 dce120_timing_generator_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce120_timing_generator_program_blanking() argument
488 dce120_timing_generator_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce120_timing_generator_program_blank_color() argument
501 dce120_timing_generator_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce120_timing_generator_set_overscan_color_black() argument
543 dce120_timing_generator_set_drr( struct timing_generator *tg, const struct drr_params *params) dce120_timing_generator_set_drr() argument
602 dce120_timing_generator_get_position(struct timing_generator *tg, struct crtc_position *position) dce120_timing_generator_get_position() argument
635 dce120_timing_generator_get_crtc_scanoutpos( struct timing_generator *tg, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dce120_timing_generator_get_crtc_scanoutpos() argument
664 dce120_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce120_timing_generator_enable_advanced_request() argument
702 dce120_tg_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce120_tg_program_blank_color() argument
725 dce120_tg_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce120_tg_set_overscan_color() argument
737 dce120_tg_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce120_tg_program_timing() argument
752 dce120_tg_is_blanked(struct timing_generator *tg) dce120_tg_is_blanked() argument
773 dce120_tg_set_blank(struct timing_generator *tg, bool enable_blanking) dce120_tg_set_blank() argument
792 dce120_tg_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce120_tg_wait_for_state() argument
809 dce120_tg_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce120_tg_set_colors() argument
820 dce120_timing_generator_set_static_screen_control( struct timing_generator *tg, uint32_t event_triggers, uint32_t num_frames) dce120_timing_generator_set_static_screen_control() argument
836 dce120_timing_generator_set_test_pattern( struct timing_generator *tg, enum controller_dp_test_pattern test_pattern, enum dc_color_depth color_depth) dce120_timing_generator_set_test_pattern() argument
1097 dce120_arm_vert_intr( struct timing_generator *tg, uint8_t width) dce120_arm_vert_intr() argument
1123 dce120_is_tg_enabled(struct timing_generator *tg) dce120_is_tg_enabled() argument
1136 dce120_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce120_configure_crc() argument
1182 dce120_get_crc(struct timing_generator *tg, uint32_t *r_cr, uint32_t *g_y, uint32_t *b_cb) dce120_get_crc() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtiming_generator.h161 bool (*validate_timing)(struct timing_generator *tg,
163 void (*program_timing)(struct timing_generator *tg,
183 bool (*enable_crtc)(struct timing_generator *tg);
184 bool (*disable_crtc)(struct timing_generator *tg);
186 void (*phantom_crtc_post_enable)(struct timing_generator *tg);
188 void (*disable_phantom_crtc)(struct timing_generator *tg);
189 bool (*immediate_disable_crtc)(struct timing_generator *tg);
190 bool (*is_counter_moving)(struct timing_generator *tg);
191 void (*get_position)(struct timing_generator *tg,
194 uint32_t (*get_frame_count)(struct timing_generator *tg);
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c86 struct timing_generator *tg) in dce120_timing_generator_is_in_vertical_blank()
89 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_is_in_vertical_blank()
91 tg->ctx, in dce120_timing_generator_is_in_vertical_blank()
102 struct timing_generator *tg, in dce120_timing_generator_validate_timing()
111 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_validate_timing()
114 tg, in dce120_timing_generator_validate_timing()
128 static bool dce120_tg_validate_timing(struct timing_generator *tg, in dce120_tg_validate_timing() argument
131 return dce120_timing_generator_validate_timing(tg, timing, SIGNAL_TYPE_NONE); in dce120_tg_validate_timing()
136 static bool dce120_timing_generator_enable_crtc(struct timing_generator *tg) in dce120_timing_generator_enable_crtc() argument
139 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_enable_crtc()
85 dce120_timing_generator_is_in_vertical_blank( struct timing_generator *tg) dce120_timing_generator_is_in_vertical_blank() argument
101 dce120_timing_generator_validate_timing( struct timing_generator *tg, const struct dc_crtc_timing *timing, enum signal_type signal) dce120_timing_generator_validate_timing() argument
156 dce120_timing_generator_set_early_control( struct timing_generator *tg, uint32_t early_cntl) dce120_timing_generator_set_early_control() argument
169 dce120_timing_generator_get_vblank_counter( struct timing_generator *tg) dce120_timing_generator_get_vblank_counter() argument
184 dce120_timing_generator_get_crtc_position( struct timing_generator *tg, struct crtc_position *position) dce120_timing_generator_get_crtc_position() argument
210 dce120_timing_generator_wait_for_vblank(struct timing_generator *tg) dce120_timing_generator_wait_for_vblank() argument
232 dce120_timing_generator_wait_for_vactive(struct timing_generator *tg) dce120_timing_generator_wait_for_vactive() argument
245 dce120_timing_generator_setup_global_swap_lock( struct timing_generator *tg, const struct dcp_gsl_params *gsl_params) dce120_timing_generator_setup_global_swap_lock() argument
282 dce120_timing_generator_tear_down_global_swap_lock( struct timing_generator *tg) dce120_timing_generator_tear_down_global_swap_lock() argument
303 dce120_timing_generator_enable_reset_trigger( struct timing_generator *tg, int source) dce120_timing_generator_enable_reset_trigger() argument
350 dce120_timing_generator_disable_reset_trigger( struct timing_generator *tg) dce120_timing_generator_disable_reset_trigger() argument
370 dce120_timing_generator_did_triggered_reset_occur( struct timing_generator *tg) dce120_timing_generator_did_triggered_reset_occur() argument
387 dce120_timing_generator_disable_vga(struct timing_generator *tg) dce120_timing_generator_disable_vga() argument
428 dce120_timing_generator_program_blanking( struct timing_generator *tg, const struct dc_crtc_timing *timing) dce120_timing_generator_program_blanking() argument
488 dce120_timing_generator_program_blank_color( struct timing_generator *tg, const struct tg_color *black_color) dce120_timing_generator_program_blank_color() argument
501 dce120_timing_generator_set_overscan_color_black( struct timing_generator *tg, const struct tg_color *color) dce120_timing_generator_set_overscan_color_black() argument
543 dce120_timing_generator_set_drr( struct timing_generator *tg, const struct drr_params *params) dce120_timing_generator_set_drr() argument
592 dce120_timing_generator_get_crtc_scanoutpos( struct timing_generator *tg, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dce120_timing_generator_get_crtc_scanoutpos() argument
621 dce120_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce120_timing_generator_enable_advanced_request() argument
659 dce120_tg_program_blank_color(struct timing_generator *tg, const struct tg_color *black_color) dce120_tg_program_blank_color() argument
682 dce120_tg_set_overscan_color(struct timing_generator *tg, const struct tg_color *overscan_color) dce120_tg_set_overscan_color() argument
694 dce120_tg_program_timing(struct timing_generator *tg, const struct dc_crtc_timing *timing, int vready_offset, int vstartup_start, int vupdate_offset, int vupdate_width, const enum signal_type signal, bool use_vbios) dce120_tg_program_timing() argument
709 dce120_tg_is_blanked(struct timing_generator *tg) dce120_tg_is_blanked() argument
730 dce120_tg_set_blank(struct timing_generator *tg, bool enable_blanking) dce120_tg_set_blank() argument
749 dce120_tg_wait_for_state(struct timing_generator *tg, enum crtc_state state) dce120_tg_wait_for_state() argument
766 dce120_tg_set_colors(struct timing_generator *tg, const struct tg_color *blank_color, const struct tg_color *overscan_color) dce120_tg_set_colors() argument
777 dce120_timing_generator_set_static_screen_control( struct timing_generator *tg, uint32_t event_triggers, uint32_t num_frames) dce120_timing_generator_set_static_screen_control() argument
793 dce120_timing_generator_set_test_pattern( struct timing_generator *tg, enum controller_dp_test_pattern test_pattern, enum dc_color_depth color_depth) dce120_timing_generator_set_test_pattern() argument
1054 dce120_arm_vert_intr( struct timing_generator *tg, uint8_t width) dce120_arm_vert_intr() argument
1080 dce120_is_tg_enabled(struct timing_generator *tg) dce120_is_tg_enabled() argument
1093 dce120_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce120_configure_crc() argument
1139 dce120_get_crc(struct timing_generator *tg, uint32_t *r_cr, uint32_t *g_y, uint32_t *b_cb) dce120_get_crc() argument
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dautogroup.h11 struct task_group *tg; member
18 extern void autogroup_free(struct task_group *tg);
20 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
22 return !!tg->autogroup; in task_group_is_autogroup()
25 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
28 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
32 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
33 return p->signal->autogroup->tg; in autogroup_task_group()
35 return tg; in autogroup_task_group()
38 extern int autogroup_path(struct task_group *tg, cha
43 autogroup_free(struct task_group *tg) autogroup_free() argument
44 task_group_is_autogroup(struct task_group *tg) task_group_is_autogroup() argument
50 autogroup_task_group(struct task_struct *p, struct task_group *tg) autogroup_task_group() argument
55 autogroup_path(struct task_group *tg, char *buf, int buflen) autogroup_path() argument
[all...]
H A Dautogroup.c14 autogroup_default.tg = &root_task_group; in autogroup_init()
20 void autogroup_free(struct task_group *tg) in autogroup_free() argument
22 kfree(tg->autogroup); in autogroup_free()
31 ag->tg->rt_se = NULL; in autogroup_destroy()
32 ag->tg->rt_rq = NULL; in autogroup_destroy()
34 sched_offline_group(ag->tg); in autogroup_destroy()
35 sched_destroy_group(ag->tg); in autogroup_destroy()
66 struct task_group *tg; in autogroup_create() local
71 tg = sched_create_group(&root_task_group); in autogroup_create()
72 if (IS_ERR(tg)) in autogroup_create()
107 task_wants_autogroup(struct task_struct *p, struct task_group *tg) task_wants_autogroup() argument
262 autogroup_path(struct task_group *tg, char *buf, int buflen) autogroup_path() argument
[all...]
H A Drt.c149 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() argument
153 if (tg->rt_se) in free_rt_sched_group()
154 destroy_rt_bandwidth(&tg->rt_bandwidth); in free_rt_sched_group()
157 if (tg->rt_rq) in free_rt_sched_group()
158 kfree(tg->rt_rq[i]); in free_rt_sched_group()
159 if (tg->rt_se) in free_rt_sched_group()
160 kfree(tg->rt_se[i]); in free_rt_sched_group()
163 kfree(tg->rt_rq); in free_rt_sched_group()
164 kfree(tg->rt_se); in free_rt_sched_group()
167 void init_tg_rt_entry(struct task_group *tg, struc argument
194 alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) alloc_rt_sched_group() argument
262 free_rt_sched_group(struct task_group *tg) free_rt_sched_group() argument
264 alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) alloc_rt_sched_group() argument
511 next_task_group(struct task_group *tg) next_task_group() argument
2784 tg_has_rt_tasks(struct task_group *tg) tg_has_rt_tasks() argument
2805 struct task_group *tg; global() member
2810 tg_rt_schedulable(struct task_group *tg, void *data) tg_rt_schedulable() argument
2867 __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) __rt_schedulable() argument
2884 tg_set_rt_bandwidth(struct task_group *tg, u64 rt_period, u64 rt_runtime) tg_set_rt_bandwidth() argument
2929 sched_group_set_rt_runtime(struct task_group *tg, long rt_runtime_us) sched_group_set_rt_runtime() argument
2943 sched_group_rt_runtime(struct task_group *tg) sched_group_rt_runtime() argument
2955 sched_group_set_rt_period(struct task_group *tg, u64 rt_period_us) sched_group_set_rt_period() argument
2968 sched_group_rt_period(struct task_group *tg) sched_group_rt_period() argument
2988 sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) sched_rt_can_attach() argument
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dautogroup.h14 struct task_group *tg; member
21 extern void autogroup_free(struct task_group *tg);
23 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
25 return !!tg->autogroup; in task_group_is_autogroup()
28 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
31 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
36 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
37 return p->signal->autogroup->tg; in autogroup_task_group()
39 return tg; in autogroup_task_group()
42 extern int autogroup_path(struct task_group *tg, cha
47 autogroup_free(struct task_group *tg) autogroup_free() argument
48 task_group_is_autogroup(struct task_group *tg) task_group_is_autogroup() argument
54 autogroup_task_group(struct task_struct *p, struct task_group *tg) autogroup_task_group() argument
59 autogroup_path(struct task_group *tg, char *buf, int buflen) autogroup_path() argument
[all...]
H A Dautogroup.c35 autogroup_default.tg = &root_task_group; in autogroup_init()
42 void autogroup_free(struct task_group *tg) in autogroup_free() argument
44 kfree(tg->autogroup); in autogroup_free()
53 ag->tg->rt_se = NULL; in autogroup_destroy()
54 ag->tg->rt_rq = NULL; in autogroup_destroy()
56 sched_release_group(ag->tg); in autogroup_destroy()
57 sched_destroy_group(ag->tg); in autogroup_destroy()
88 struct task_group *tg; in autogroup_create() local
93 tg = sched_create_group(&root_task_group); in autogroup_create()
94 if (IS_ERR(tg)) in autogroup_create()
129 task_wants_autogroup(struct task_struct *p, struct task_group *tg) task_wants_autogroup() argument
285 autogroup_path(struct task_group *tg, char *buf, int buflen) autogroup_path() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
92 uint32_t value = dm_read_reg(tg->ctx, addr); in program_pix_dur()
105 dm_write_reg(tg->ctx, addr, value); in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing() argument
118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
120 dce110_tg_program_timing(tg, timing, 0, 0, 0, 0, 0, use_vbios); in program_timing()
124 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_timing_generator_enable_advanced_request()
130 uint32_t value = dm_read_reg(tg in dce60_timing_generator_enable_advanced_request()
123 dce60_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce60_timing_generator_enable_advanced_request() argument
178 dce60_is_tg_enabled(struct timing_generator *tg) dce60_is_tg_enabled() argument
192 dce60_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce60_configure_crc() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
92 uint32_t value = dm_read_reg(tg->ctx, addr); in program_pix_dur()
105 dm_write_reg(tg->ctx, addr, value); in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing() argument
118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
120 dce110_tg_program_timing(tg, timing, 0, 0, 0, 0, 0, use_vbios); in program_timing()
124 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_timing_generator_enable_advanced_request()
130 uint32_t value = dm_read_reg(tg in dce60_timing_generator_enable_advanced_request()
123 dce60_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce60_timing_generator_enable_advanced_request() argument
178 dce60_is_tg_enabled(struct timing_generator *tg) dce60_is_tg_enabled() argument
192 dce60_configure_crc(struct timing_generator *tg, const struct crc_params *params) dce60_configure_crc() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c91 struct timing_generator *tg; in dcn10_lock_all_pipes() local
96 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes()
99 * Only lock the top pipe's tg to prevent redundant in dcn10_lock_all_pipes()
104 !tg->funcs->is_tg_enabled(tg)) in dcn10_lock_all_pipes()
343 struct timing_generator *tg = pool->timing_generators[i]; in dcn10_log_hw_state() local
346 optc1_read_otg_state(DCN10TG_FROM_TG(tg), &s); in dcn10_log_hw_state()
358 s.blank_enabled = tg->funcs->is_blanked(tg); in dcn10_log_hw_state()
468 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_did_underflow_occur() local
753 false_optc_underflow_wa( struct dc *dc, const struct dc_stream_state *stream, struct timing_generator *tg) false_optc_underflow_wa() argument
1168 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn10_init_pipes() local
1206 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn10_init_pipes() local
1820 wait_for_reset_trigger_to_occur( struct dc_context *dc_ctx, struct timing_generator *tg) wait_for_reset_trigger_to_occur() argument
2898 struct timing_generator *tg; dcn10_wait_for_pending_cleared() local
2934 struct timing_generator *tg; dcn10_apply_ctx_for_surface() local
3025 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_post_unlock_program_front_end() local
3311 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_update_pending_status() local
3334 struct timing_generator *tg = dc->res_pool->timing_generators[0]; dcn10_update_pending_status() local
3667 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_setup_periodic_interrupt() local
3678 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_setup_vupdate_interrupt() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_hwseq.c163 struct timing_generator *tg) in dcn201_init_blank()
177 tg->funcs->get_otg_active_size(tg, in dcn201_init_blank()
182 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn201_init_blank()
270 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
272 if (tg->funcs->is_tg_enabled(tg)) { in dcn201_init_hw()
273 dcn201_init_blank(dc, tg); in dcn201_init_hw()
278 struct timing_generator *tg in dcn201_init_hw() local
161 dcn201_init_blank( struct dc *dc, struct timing_generator *tg) dcn201_init_blank() argument
302 struct timing_generator *tg = res_pool->timing_generators[i]; dcn201_init_hw() local
331 struct timing_generator *tg = res_pool->timing_generators[i]; dcn201_init_hw() local
347 struct timing_generator *tg = res_pool->timing_generators[i]; dcn201_init_hw() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c99 struct timing_generator *tg; in dcn10_lock_all_pipes() local
105 tg = pipe_ctx->stream_res.tg; in dcn10_lock_all_pipes()
108 * Only lock the top pipe's tg to prevent redundant in dcn10_lock_all_pipes()
114 !tg->funcs->is_tg_enabled(tg) || in dcn10_lock_all_pipes()
355 struct timing_generator *tg = pool->timing_generators[i]; in dcn10_log_hw_state() local
358 optc1_read_otg_state(DCN10TG_FROM_TG(tg), &s); in dcn10_log_hw_state()
370 s.blank_enabled = tg->funcs->is_blanked(tg); in dcn10_log_hw_state()
539 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_did_underflow_occur() local
846 false_optc_underflow_wa( struct dc *dc, const struct dc_stream_state *stream, struct timing_generator *tg) false_optc_underflow_wa() argument
1322 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn10_init_pipes() local
1375 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn10_init_pipes() local
1449 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn10_init_pipes() local
1991 wait_for_reset_trigger_to_occur( struct dc_context *dc_ctx, struct timing_generator *tg) wait_for_reset_trigger_to_occur() argument
2204 struct timing_generator *tg; dcn10_enable_vblanks_synchronization() local
2267 struct timing_generator *tg; dcn10_enable_timing_synchronization() local
2967 struct timing_generator *tg; dcn10_wait_for_pending_cleared() local
3009 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_post_unlock_program_front_end() local
3312 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_update_pending_status() local
3335 struct timing_generator *tg = dc->res_pool->timing_generators[0]; dcn10_update_pending_status() local
3771 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_setup_periodic_interrupt() local
3782 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn10_setup_vupdate_interrupt() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
92 uint32_t value = dm_read_reg(tg->ctx, addr); in program_pix_dur()
105 dm_write_reg(tg->ctx, addr, value); in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing() argument
118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
120 dce110_tg_program_timing(tg, timing, 0, 0, 0, 0, 0, use_vbios); in program_timing()
124 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce80_timing_generator_enable_advanced_request()
130 uint32_t value = dm_read_reg(tg in dce80_timing_generator_enable_advanced_request()
123 dce80_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce80_timing_generator_enable_advanced_request() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce80/
H A Ddce80_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument
91 + DCE110TG_FROM_TG(tg)->offsets.dmif; in program_pix_dur()
92 uint32_t value = dm_read_reg(tg->ctx, addr); in program_pix_dur()
105 dm_write_reg(tg->ctx, addr, value); in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing() argument
118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
120 dce110_tg_program_timing(tg, timing, 0, 0, 0, 0, 0, use_vbios); in program_timing()
124 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce80_timing_generator_enable_advanced_request()
130 uint32_t value = dm_read_reg(tg in dce80_timing_generator_enable_advanced_request()
123 dce80_timing_generator_enable_advanced_request( struct timing_generator *tg, bool enable, const struct dc_crtc_timing *timing) dce80_timing_generator_enable_advanced_request() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hwseq.c162 if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL && in dcn20_setup_gsl_group_as_lock()
163 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) { in dcn20_setup_gsl_group_as_lock()
164 pipe_ctx->stream_res.tg->funcs->set_gsl( in dcn20_setup_gsl_group_as_lock()
165 pipe_ctx->stream_res.tg, in dcn20_setup_gsl_group_as_lock()
168 pipe_ctx->stream_res.tg->funcs->set_gsl_source_select( in dcn20_setup_gsl_group_as_lock()
169 pipe_ctx->stream_res.tg, group_idx, enable ? 4 : 0); in dcn20_setup_gsl_group_as_lock()
275 struct timing_generator *tg) in dcn20_init_blank()
290 tg->funcs->get_otg_active_size(tg, in dcn20_init_blank()
295 tg in dcn20_init_blank()
273 dcn20_init_blank( struct dc *dc, struct timing_generator *tg) dcn20_init_blank() argument
1764 struct timing_generator *tg = dc->res_pool->timing_generators[0]; dcn20_post_unlock_program_front_end() local
2110 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn20_setup_vupdate_interrupt() local
2354 struct timing_generator *tg = pipe_ctx->stream_res.tg; dcn20_enable_stream() local
2450 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn20_fpga_init_hw() local
2457 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn20_fpga_init_hw() local
2481 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn20_fpga_init_hw() local
2512 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn20_fpga_init_hw() local
2528 struct timing_generator *tg = dc->res_pool->timing_generators[i]; dcn20_fpga_init_hw() local
[all...]

Completed in 24 milliseconds

1234567