Home
last modified time | relevance | path

Searched defs:tg (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator_v.c53 static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg) 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()
99 static void dce110_timing_generator_v_blank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_blank_crtc()
119 static void dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_unblank_crtc()
140 struct timing_generator *tg) in dce110_timing_generator_v_is_in_vertical_blank()
152 static bool dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg) in dce110_timing_generator_v_is_counter_moving()
190 static void dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vblank()
214 static void dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vactive()
224 static void dce110_timing_generator_v_wait_for_state(struct timing_generator *tg, in dce110_timing_generator_v_wait_for_state()
242 struct timing_generator *tg, in dce110_timing_generator_v_program_blanking()
[all …]
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()
106 struct timing_generator *tg, in dce110_timing_generator_set_early_control()
123 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_enable_crtc()
152 struct timing_generator *tg, in dce110_timing_generator_program_blank_color()
232 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_disable_crtc()
255 struct timing_generator *tg, in program_horz_count_by_2()
281 struct timing_generator *tg, in dce110_timing_generator_program_timing_generator()
366 struct timing_generator *tg, in dce110_timing_generator_set_drr()
470 struct timing_generator *tg, in dce110_timing_generator_set_static_screen_control()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator_v.c53 static bool dce110_timing_generator_v_enable_crtc(struct timing_generator *tg) 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()
100 static void dce110_timing_generator_v_blank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_blank_crtc()
120 static void dce110_timing_generator_v_unblank_crtc(struct timing_generator *tg) in dce110_timing_generator_v_unblank_crtc()
141 struct timing_generator *tg) in dce110_timing_generator_v_is_in_vertical_blank()
153 static bool dce110_timing_generator_v_is_counter_moving(struct timing_generator *tg) in dce110_timing_generator_v_is_counter_moving()
191 static void dce110_timing_generator_v_wait_for_vblank(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vblank()
215 static void dce110_timing_generator_v_wait_for_vactive(struct timing_generator *tg) in dce110_timing_generator_v_wait_for_vactive()
225 static void dce110_timing_generator_v_wait_for_state(struct timing_generator *tg, in dce110_timing_generator_v_wait_for_state()
243 struct timing_generator *tg, in dce110_timing_generator_v_program_blanking()
[all …]
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()
106 struct timing_generator *tg, in dce110_timing_generator_set_early_control()
123 bool dce110_timing_generator_enable_crtc(struct timing_generator *tg) in dce110_timing_generator_enable_crtc()
152 struct timing_generator *tg, in dce110_timing_generator_program_blank_color()
232 bool dce110_timing_generator_disable_crtc(struct timing_generator *tg) in dce110_timing_generator_disable_crtc()
256 struct timing_generator *tg, in program_horz_count_by_2()
282 struct timing_generator *tg, in dce110_timing_generator_program_timing_generator()
367 struct timing_generator *tg, in dce110_timing_generator_set_drr()
471 struct timing_generator *tg, in dce110_timing_generator_set_static_screen_control()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c86 struct timing_generator *tg) in dce120_timing_generator_is_in_vertical_blank()
102 struct timing_generator *tg, in dce120_timing_generator_validate_timing()
128 bool dce120_tg_validate_timing(struct timing_generator *tg, in dce120_tg_validate_timing()
136 bool dce120_timing_generator_enable_crtc(struct timing_generator *tg) in dce120_timing_generator_enable_crtc()
157 struct timing_generator *tg, in dce120_timing_generator_set_early_control()
170 struct timing_generator *tg) in dce120_timing_generator_get_vblank_counter()
185 struct timing_generator *tg, in dce120_timing_generator_get_crtc_position()
210 void dce120_timing_generator_wait_for_vblank(struct timing_generator *tg) in dce120_timing_generator_wait_for_vblank()
232 void dce120_timing_generator_wait_for_vactive(struct timing_generator *tg) in dce120_timing_generator_wait_for_vactive()
246 struct timing_generator *tg, in dce120_timing_generator_setup_global_swap_lock()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c86 struct timing_generator *tg) in dce120_timing_generator_is_in_vertical_blank()
102 struct timing_generator *tg, in dce120_timing_generator_validate_timing()
128 static bool dce120_tg_validate_timing(struct timing_generator *tg, in dce120_tg_validate_timing()
136 static bool dce120_timing_generator_enable_crtc(struct timing_generator *tg) in dce120_timing_generator_enable_crtc()
157 struct timing_generator *tg, in dce120_timing_generator_set_early_control()
170 struct timing_generator *tg) in dce120_timing_generator_get_vblank_counter()
185 struct timing_generator *tg, in dce120_timing_generator_get_crtc_position()
210 static void dce120_timing_generator_wait_for_vblank(struct timing_generator *tg) in dce120_timing_generator_wait_for_vblank()
232 static void dce120_timing_generator_wait_for_vactive(struct timing_generator *tg) in dce120_timing_generator_wait_for_vactive()
246 struct timing_generator *tg, in dce120_timing_generator_setup_global_swap_lock()
[all …]
/kernel/linux/linux-6.6/block/
Dblk-throttle.c92 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg()
121 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
147 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()
177 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()
244 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()
341 struct throtl_grp *tg; in throtl_pd_alloc() local
388 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_init() local
418 static void tg_update_has_rules(struct throtl_grp *tg) in tg_update_has_rules()
438 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_online() local
455 struct throtl_grp *tg = blkg_to_tg(blkg); in blk_throtl_update_limit_valid() local
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dautogroup.h11 struct task_group *tg; member
20 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
28 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
43 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free()
44 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
50 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
55 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Dautogroup.c20 void autogroup_free(struct task_group *tg) in autogroup_free()
66 struct task_group *tg; in autogroup_create() local
107 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
262 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Drt.c149 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
167 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
194 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
262 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
264 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
511 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
2784 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
2805 struct task_group *tg; member
2810 static int tg_rt_schedulable(struct task_group *tg, void *data) in tg_rt_schedulable()
2867 static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime) in __rt_schedulable()
[all …]
Dcore.c849 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1397 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() local
3481 struct task_group *tg; in sched_post_fork() local
8025 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
8039 static void sched_free_group(struct task_group *tg) in sched_free_group()
8050 struct task_group *tg; in sched_create_group() local
8071 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
8096 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
8102 void sched_offline_group(struct task_group *tg) in sched_offline_group()
8117 struct task_group *tg; in sched_change_group() local
[all …]
/kernel/linux/linux-6.6/kernel/sched/
Dautogroup.h14 struct task_group *tg; member
23 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
31 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
47 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free()
48 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup()
54 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group()
59 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Dautogroup.c42 void autogroup_free(struct task_group *tg) in autogroup_free()
88 struct task_group *tg; in autogroup_create() local
129 bool task_wants_autogroup(struct task_struct *p, struct task_group *tg) in task_wants_autogroup()
285 int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path()
Drt.c196 void unregister_rt_sched_group(struct task_group *tg) in unregister_rt_sched_group()
203 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group()
218 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry()
245 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
313 void unregister_rt_sched_group(struct task_group *tg) { } in unregister_rt_sched_group()
315 void free_rt_sched_group(struct task_group *tg) { } in free_rt_sched_group()
317 int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) in alloc_rt_sched_group()
550 static inline struct task_group *next_task_group(struct task_group *tg) in next_task_group()
2755 static inline int tg_has_rt_tasks(struct task_group *tg) in tg_has_rt_tasks()
2776 struct task_group *tg; member
[all …]
Dcore.c1299 int tg_nop(struct task_group *tg, void *data) in tg_nop()
1824 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() local
4859 struct task_group *tg; in sched_cgroup_fork() local
10415 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group()
10429 static void sched_free_group(struct task_group *tg) in sched_free_group()
10442 static void sched_unregister_group(struct task_group *tg) in sched_unregister_group()
10456 struct task_group *tg; in sched_create_group() local
10477 void sched_online_group(struct task_group *tg, struct task_group *parent) in sched_online_group()
10502 void sched_destroy_group(struct task_group *tg) in sched_destroy_group()
10508 void sched_release_group(struct task_group *tg) in sched_release_group()
[all …]
/kernel/linux/linux-5.10/block/
Dblk-throttle.c72 struct throtl_grp *tg; /* tg this qnode belongs to */ member
245 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg()
274 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local
300 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()
330 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()
397 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init()
495 struct throtl_grp *tg; in throtl_pd_alloc() local
542 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_init() local
571 static void tg_update_has_rules(struct throtl_grp *tg) in tg_update_has_rules()
586 struct throtl_grp *tg = pd_to_tg(pd); in throtl_pd_online() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
124 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
178 static bool dce60_is_tg_enabled(struct timing_generator *tg) in dce60_is_tg_enabled()
192 bool dce60_configure_crc(struct timing_generator *tg, in dce60_configure_crc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
124 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request()
178 static bool dce60_is_tg_enabled(struct timing_generator *tg) in dce60_is_tg_enabled()
192 static bool dce60_configure_crc(struct timing_generator *tg, in dce60_configure_crc()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c163 struct timing_generator *tg) in dcn201_init_blank()
270 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
278 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
302 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
331 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
347 struct timing_generator *tg = res_pool->timing_generators[i]; in dcn201_init_hw() local
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
124 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_timing_generator.c87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur()
108 static void program_timing(struct timing_generator *tg, in program_timing()
124 struct timing_generator *tg, in dce80_timing_generator_enable_advanced_request()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c99 struct timing_generator *tg; in dcn10_lock_all_pipes() local
355 struct timing_generator *tg = pool->timing_generators[i]; in dcn10_log_hw_state() local
539 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn10_did_underflow_occur() local
849 struct timing_generator *tg) in false_optc_underflow_wa()
1322 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes() local
1375 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes() local
1449 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes() local
1990 struct timing_generator *tg) in wait_for_reset_trigger_to_occur()
2201 struct timing_generator *tg; in dcn10_enable_vblanks_synchronization() local
2264 struct timing_generator *tg; in dcn10_enable_timing_synchronization() local
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c288 struct timing_generator *tg) in dcn20_init_blank()
624 struct timing_generator *tg = is_phantom ? pipe_ctx->stream_res.tg : NULL; in dcn20_disable_plane() local
1847 struct timing_generator *tg = dc->current_state->res_ctx.pipe_ctx[i].stream_res.tg; in dcn20_program_front_end_for_ctx() local
2037 struct timing_generator *tg = dc->res_pool->timing_generators[0]; in dcn20_post_unlock_program_front_end() local
2463 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn20_setup_vupdate_interrupt() local
2714 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn20_enable_stream() local
2842 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2849 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2873 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2904 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c275 struct timing_generator *tg) in dcn20_init_blank()
1764 struct timing_generator *tg = dc->res_pool->timing_generators[0]; in dcn20_post_unlock_program_front_end() local
2110 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn20_setup_vupdate_interrupt() local
2354 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn20_enable_stream() local
2450 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2457 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2481 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2512 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
2528 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn20_fpga_init_hw() local
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c91 struct timing_generator *tg; in dcn10_lock_all_pipes() local
343 struct timing_generator *tg = pool->timing_generators[i]; in dcn10_log_hw_state() local
468 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn10_did_underflow_occur() local
756 struct timing_generator *tg) in false_optc_underflow_wa()
1168 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes() local
1206 struct timing_generator *tg = dc->res_pool->timing_generators[i]; in dcn10_init_pipes() local
1822 struct timing_generator *tg) in wait_for_reset_trigger_to_occur()
2898 struct timing_generator *tg; in dcn10_wait_for_pending_cleared() local
2934 struct timing_generator *tg; in dcn10_apply_ctx_for_surface() local
3025 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn10_post_unlock_program_front_end() local
[all …]

12345