| /linux/block/ |
| H A D | blk-throttle.c | 47 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() argument 49 return pd_to_blkg(&tg->pd); in tg_to_blkg() 76 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local 78 if (tg) in sq_to_td() 79 return tg->td; in sq_to_td() 84 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit() argument 86 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_bps_limit() 91 return tg->bps[rw]; in tg_bps_limit() 94 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit() argument 96 struct blkcg_gq *blkg = tg_to_blkg(tg); in tg_iops_limit() [all …]
|
| H A D | blk-throttle.h | 34 struct throtl_grp *tg; /* tg this qnode belongs to */ member 168 struct throtl_grp *tg; in blk_should_throtl() local 174 tg = blkg_to_tg(bio->bi_blkg); in blk_should_throtl() 178 blkg_rwstat_add(&tg->stat_bytes, bio->bi_opf, in blk_should_throtl() 181 blkg_rwstat_add(&tg->stat_ios, bio->bi_opf, 1); in blk_should_throtl() 185 if (tg->has_rules_iops[rw]) in blk_should_throtl() 188 if (tg->has_rules_bps[rw] && !bio_flagged(bio, BIO_BPS_THROTTLED)) in blk_should_throtl()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A D | dce110_timing_generator.h | 117 #define DCE110TG_FROM_TG(tg)\ argument 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 …]
|
| /linux/kernel/sched/ |
| H A D | autogroup.h | 16 struct task_group *tg; member 23 extern void autogroup_free(struct task_group *tg); 25 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument 27 return !!tg->autogroup; in task_group_is_autogroup() 30 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg); 33 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument 38 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group() 39 return p->signal->autogroup->tg; in autogroup_task_group() 41 return tg; in autogroup_task_group() 44 extern int autogroup_path(struct task_group *tg, char *buf, int buflen); [all …]
|
| H A D | autogroup.c | 37 autogroup_default.tg = &root_task_group; in autogroup_init() 44 void autogroup_free(struct task_group *tg) in autogroup_free() argument 46 kfree(tg->autogroup); in autogroup_free() 55 ag->tg->rt_se = NULL; in autogroup_destroy() 56 ag->tg->rt_rq = NULL; in autogroup_destroy() 58 sched_release_group(ag->tg); in autogroup_destroy() 59 sched_destroy_group(ag->tg); in autogroup_destroy() 90 struct task_group *tg; in autogroup_create() local 95 tg = sched_create_group(&root_task_group); in autogroup_create() 96 if (IS_ERR(tg)) in autogroup_create() [all …]
|
| H A D | rt.c | 93 rt_rq->tg = &root_task_group; in init_rt_rq() 181 WARN_ON(!rt_group_sched_enabled() && rt_rq->tg != &root_task_group); in rq_of_rt_rq() 187 WARN_ON(!rt_group_sched_enabled() && rt_se->rt_rq->tg != &root_task_group); in rt_rq_of_se() 195 WARN_ON(!rt_group_sched_enabled() && rt_rq->tg != &root_task_group); in rq_of_rt_se() 199 void unregister_rt_sched_group(struct task_group *tg) in unregister_rt_sched_group() argument 204 if (tg->rt_se) in unregister_rt_sched_group() 205 destroy_rt_bandwidth(&tg->rt_bandwidth); in unregister_rt_sched_group() 208 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() argument 216 if (tg->rt_rq) in free_rt_sched_group() 217 kfree(tg->rt_rq[i]); in free_rt_sched_group() [all …]
|
| H A D | core.c | 1528 int tg_nop(struct task_group *tg, void *data) in tg_nop() argument 1983 struct task_group *tg = &root_task_group; in uclamp_update_root_tg() local 1985 uclamp_se_set(&tg->uclamp_req[UCLAMP_MIN], in uclamp_update_root_tg() 1987 uclamp_se_set(&tg->uclamp_req[UCLAMP_MAX], in uclamp_update_root_tg() 4908 struct task_group *tg; in sched_cgroup_fork() local 4909 tg = container_of(kargs->cset->subsys[cpu_cgrp_id], in sched_cgroup_fork() 4911 tg = autogroup_task_group(p, tg); in sched_cgroup_fork() 4912 p->sched_task_group = tg; in sched_cgroup_fork() 9399 static inline void alloc_uclamp_sched_group(struct task_group *tg, in alloc_uclamp_sched_group() argument 9413 sched_free_group(struct task_group * tg) sched_free_group() argument 9426 sched_unregister_group(struct task_group * tg) sched_unregister_group() argument 9440 struct task_group *tg; sched_create_group() local 9462 sched_online_group(struct task_group * tg,struct task_group * parent) sched_online_group() argument 9487 sched_destroy_group(struct task_group * tg) sched_destroy_group() argument 9493 sched_release_group(struct task_group * tg) sched_release_group() argument 9518 struct task_group *tg; sched_change_group() local 9576 struct task_group *tg; cpu_cgroup_css_alloc() local 9593 struct task_group *tg = css_tg(css); cpu_cgroup_css_online() local 9616 struct task_group *tg = css_tg(css); cpu_cgroup_css_offline() local 9623 struct task_group *tg = css_tg(css); cpu_cgroup_css_released() local 9630 struct task_group *tg = css_tg(css); cpu_cgroup_css_free() local 9767 struct task_group *tg; cpu_uclamp_write() local 9811 struct task_group *tg; cpu_uclamp_print() local 9845 tg_weight(struct task_group * tg) tg_weight() argument 9880 tg_set_cfs_bandwidth(struct task_group * tg,u64 period_us,u64 quota_us,u64 burst_us) tg_set_cfs_bandwidth() argument 9952 tg_get_cfs_period(struct task_group * tg) tg_get_cfs_period() argument 9962 tg_get_cfs_quota(struct task_group * tg) tg_get_cfs_quota() argument 9975 tg_get_cfs_burst(struct task_group * tg) tg_get_cfs_burst() argument 9986 struct task_group *tg; global() member 9994 normalize_cfs_quota(struct task_group * tg,struct cfs_schedulable_data * d) normalize_cfs_quota() argument 10014 tg_cfs_schedulable_down(struct task_group * tg,void * data) tg_cfs_schedulable_down() argument 10052 __cfs_schedulable(struct task_group * tg,u64 period,u64 quota) __cfs_schedulable() argument 10071 struct task_group *tg = css_tg(seq_css(sf)); cpu_cfs_stat_show() local 10097 throttled_time_self(struct task_group * tg) throttled_time_self() argument 10111 struct task_group *tg = css_tg(seq_css(sf)); cpu_cfs_local_stat_show() local 10125 tg_bandwidth(struct task_group * tg,u64 * period_us_p,u64 * quota_us_p,u64 * burst_us_p) tg_bandwidth() argument 10154 tg_set_bandwidth(struct task_group * tg,u64 period_us,u64 quota_us,u64 burst_us) tg_set_bandwidth() argument 10225 struct task_group *tg = css_tg(css); cpu_period_write_u64() local 10235 struct task_group *tg = css_tg(css); cpu_quota_write_s64() local 10248 struct task_group *tg = css_tg(css); cpu_burst_write_u64() local 10412 struct task_group *tg = css_tg(css); cpu_extra_stat_show() local 10438 struct task_group *tg = css_tg(css); cpu_local_stat_show() local 10548 struct task_group *tg = css_tg(seq_css(sf)); cpu_max_show() local 10559 struct task_group *tg = css_tg(of_css(of)); cpu_max_write() local [all...] |
| H A D | sched.h | 556 extern int tg_nop(struct task_group *tg, void *data); 559 extern void free_fair_sched_group(struct task_group *tg); 560 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 561 extern void online_fair_sched_group(struct task_group *tg); 562 extern void unregister_fair_sched_group(struct task_group *tg); 565 static inline void free_fair_sched_group(struct task_group *tg) { } in free_fair_sched_group() argument 566 static inline int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) in alloc_fair_sched_group() argument 570 static inline void online_fair_sched_group(struct task_group *tg) { } in online_fair_sched_group() argument 571 static inline void unregister_fair_sched_group(struct task_group *tg) { } in unregister_fair_sched_group() argument 574 extern void init_tg_cfs_entry(struct task_group *tg, struc 609 sched_group_set_shares(struct task_group * tg,unsigned long shares) sched_group_set_shares() argument 610 sched_group_set_idle(struct task_group * tg,long idle) sched_group_set_idle() argument 752 struct task_group *tg; /* Group that "owns" this runqueue */ global() member 889 struct task_group *tg; /* this tg has "this" rt_rq on given CPU for runnable entities */ global() member 960 is_root_task_group(tg) global() argument 2346 tg_cfs_rq(struct task_group * tg,int cpu) tg_cfs_rq() argument 2351 tg_se(struct task_group * tg,int cpu) tg_se() argument 2378 struct task_group *tg = task_group(p); set_task_rq() local [all...] |
| H A D | fair.c | 122 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 342 if (cfs_rq->tg->parent && in list_add_leaf_cfs_rq() 343 tg_cfs_rq(cfs_rq->tg->parent, cpu)->on_list) { in list_add_leaf_cfs_rq() 351 &(tg_cfs_rq(cfs_rq->tg->parent, cpu)->leaf_cfs_rq_list)); in list_add_leaf_cfs_rq() 361 if (!cfs_rq->tg->parent) { in list_add_leaf_cfs_rq() 436 static int tg_is_idle(struct task_group *tg) in tg_is_idle() argument 438 return tg->idle > 0; in tg_is_idle() 479 static inline int tg_is_idle(struct task_group *tg) in tg_is_idle() argument 5034 * tg->weight * grq->load.weight in __sched_cgroup_mode_update() 5048 * tg 4905 struct task_group *tg = cfs_rq->tg; __calc_smp_shares() local 4935 tg_cpus(struct task_group * tg) tg_cpus() argument 4953 tg_tasks(struct task_group * tg) tg_tasks() argument 4965 struct task_group *tg = cfs_rq->tg; calc_tasks_shares() local 4980 struct task_group *tg = cfs_rq->tg; calc_max_shares() local 4995 struct task_group *tg = cfs_rq->tg; calc_concur_shares() local 5008 struct task_group *tg = cfs_rq->tg; calc_smp_shares() local 5018 struct task_group *tg = cfs_rq->tg; calc_up_shares() local 5244 struct task_group *tg; clear_tg_offline_cfs_rqs() local 6642 tg_cfs_bandwidth(struct task_group * tg) tg_cfs_bandwidth() argument 6864 tg_unthrottle_up(struct task_group * tg,void * data) tg_unthrottle_up() argument 6963 tg_throttle_down(struct task_group * tg,void * data) tg_throttle_down() argument 7450 sync_throttle(struct task_group * tg,int cpu) sync_throttle() argument 7627 struct task_group *tg; update_runtime_enabled() local 7645 struct task_group *tg; unthrottle_offline_cfs_rqs() local 7732 sync_throttle(struct task_group * tg,int cpu) sync_throttle() argument 7765 tg_cfs_bandwidth(struct task_group * tg) tg_cfs_bandwidth() argument 15339 free_fair_sched_group(struct task_group * tg) free_fair_sched_group() argument 15344 alloc_fair_sched_group(struct task_group * tg,struct task_group * parent) alloc_fair_sched_group() argument 15377 online_fair_sched_group(struct task_group * tg) online_fair_sched_group() argument 15395 unregister_fair_sched_group(struct task_group * tg) unregister_fair_sched_group() argument 15420 init_tg_cfs_entry(struct task_group * tg,struct cfs_rq * cfs_rq,struct sched_entity * se,int cpu,struct sched_entity * parent) init_tg_cfs_entry() argument 15450 __sched_group_set_shares(struct task_group * tg,unsigned long shares) __sched_group_set_shares() argument 15486 sched_group_set_shares(struct task_group * tg,unsigned long shares) sched_group_set_shares() argument 15500 sched_group_set_idle(struct task_group * tg,long idle) sched_group_set_idle() argument [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/dce60/ |
| H A D | dce60_timing_generator.c | 87 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 119 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing() 121 dce110_tg_program_timing(tg, timing, 0, 0, 0, 0, 0, 0, use_vbios); in program_timing() 125 struct timing_generator *tg, in dce60_timing_generator_enable_advanced_request() argument 129 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_timing_generator_enable_advanced_request() 131 uint32_t value = dm_read_reg(tg->ctx, addr); in dce60_timing_generator_enable_advanced_request() [all …]
|
| H A D | dce60_timing_generator.h | 34 struct dce110_timing_generator *tg,
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce/ |
| H A D | dce_hwseq.c | 56 if (lock && pipe->stream_res.tg->funcs->is_blanked && in dce_pipe_control_lock() 57 pipe->stream_res.tg->funcs->is_blanked(pipe->stream_res.tg)) in dce_pipe_control_lock() 60 val = REG_GET_4(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], in dce_pipe_control_lock() 71 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 76 REG_SET_2(BLND_V_UPDATE_LOCK[pipe->stream_res.tg->inst], val, in dce_pipe_control_lock() 82 uint32_t value = REG_READ(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst]); in dce_pipe_control_lock() 83 REG_WRITE(CRTC_H_BLANK_START_END[pipe->stream_res.tg->inst], value); in dce_pipe_control_lock()
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | arm64.c | 60 u64 tg; in check_platform_features() local 74 tg = (read_cpuid(ID_AA64MMFR0_EL1) >> ID_AA64MMFR0_EL1_TGRAN_SHIFT) & 0xf; in check_platform_features() 75 if (tg < ID_AA64MMFR0_EL1_TGRAN_SUPPORTED_MIN || tg > ID_AA64MMFR0_EL1_TGRAN_SUPPORTED_MAX) { in check_platform_features()
|
| /linux/kernel/sched/ext/ |
| H A D | sub.c | 1355 struct task_group *tg = css_tg(css); in scx_cgroup_claim_subtree() 1357 .weight = tg->scx.weight, in scx_cgroup_claim_subtree() 1358 .bw_period_us = tg->scx.bw_period_us, in scx_cgroup_claim_subtree() 1359 .bw_quota_us = tg->scx.bw_quota_us, in scx_cgroup_claim_subtree() local 1360 .bw_burst_us = tg->scx.bw_burst_us, in scx_cgroup_claim_subtree() 1361 .sched_idle = tg->scx.idle, in scx_cgroup_claim_subtree() 1364 if (tg->scx.sched != parent || in scx_cgroup_claim_subtree() 1375 tg->scx.flags |= SCX_TG_SUB_INIT; in scx_cgroup_claim_subtree() 1379 struct task_group *tg = css_tg(css); in scx_cgroup_claim_subtree() 1385 if (!(tg in scx_cgroup_claim_subtree() 1383 struct task_group *tg = css_tg(css); scx_cgroup_claim_subtree() local 1404 struct task_group *tg = css_tg(css); scx_cgroup_claim_subtree() local 1449 struct task_group *tg = css_tg(css); scx_cgroup_return_subtree() local 1463 struct task_group *tg = css_tg(css); scx_cgroup_return_subtree() local [all...] |
| H A D | ext.c | 3874 static struct cgroup *tg_cgrp(struct task_group *tg) 3877 * If CGROUP_SCHED is disabled, @tg is NULL. If @tg is an autogroup, 3878 * @tg->css.cgroup is NULL. In both cases, @tg can be treated as the 3881 if (tg && tg->css.cgroup) in __scx_init_task() 3882 return tg->css.cgroup; in __scx_init_task() 4777 void scx_tg_init(struct task_group *tg) in scx_tg_sched() 4779 tg in scx_tg_sched() 3846 tg_cgrp(struct task_group * tg) tg_cgrp() argument 4749 scx_tg_init(struct task_group * tg) scx_tg_init() argument 4774 scx_tg_sched(struct task_group * tg) scx_tg_sched() argument 4801 scx_tg_knob_sched(struct task_group * tg) scx_tg_knob_sched() argument 4811 scx_tg_online(struct task_group * tg) scx_tg_online() argument 4855 scx_tg_offline(struct task_group * tg) scx_tg_offline() argument 4980 scx_group_set_weight(struct task_group * tg,unsigned long weight) scx_group_set_weight() argument 4996 scx_group_set_idle(struct task_group * tg,bool idle) scx_group_set_idle() argument 5013 scx_group_set_bandwidth(struct task_group * tg,u64 period_us,u64 quota_us,u64 burst_us) scx_group_set_bandwidth() argument 5226 struct task_group *tg = css_tg(css); scx_cgroup_exit() local 5248 struct task_group *tg = css_tg(css); scx_cgroup_init() local 10774 struct task_group *tg = p->sched_task_group; scx_bpf_task_cgroup() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 861 if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) { in dcn30_set_avmute() 864 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute() 866 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK); in dcn30_set_avmute() 867 pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE); in dcn30_set_avmute() 1276 struct timing_generator *tg = pipe_ctx->stream_res.tg; in dcn30_wait_for_all_pending_updates() local 1280 if (tg && tg->funcs->is_tg_enabled(tg)) { in dcn30_wait_for_all_pending_updates() 1284 if (tg->funcs->get_optc_double_buffer_pending) in dcn30_wait_for_all_pending_updates() 1285 pending_updates |= tg->funcs->get_optc_double_buffer_pending(tg); in dcn30_wait_for_all_pending_updates() 1287 if (tg->funcs->get_otg_double_buffer_pending) in dcn30_wait_for_all_pending_updates() 1288 pending_updates |= tg->funcs->get_otg_double_buffer_pending(tg); in dcn30_wait_for_all_pending_updates() [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_api_kunit.c | 336 .tg = NULL, in vcap_api_set_bit_1_test() 353 .tg = NULL, in vcap_api_set_bit_0_test() 756 const struct vcap_typegroup *tg; in vcap_api_keyfield_typegroup_test() local 758 tg = vcap_keyfield_typegroup(&test_vctrl, VCAP_TYPE_IS2, VCAP_KFS_MAC_ETYPE); in vcap_api_keyfield_typegroup_test() 759 KUNIT_EXPECT_PTR_NE(test, NULL, tg); in vcap_api_keyfield_typegroup_test() 760 KUNIT_EXPECT_EQ(test, 0, tg[0].offset); in vcap_api_keyfield_typegroup_test() 761 KUNIT_EXPECT_EQ(test, 2, tg[0].width); in vcap_api_keyfield_typegroup_test() 762 KUNIT_EXPECT_EQ(test, 2, tg[0].value); in vcap_api_keyfield_typegroup_test() 763 KUNIT_EXPECT_EQ(test, 156, tg[1].offset); in vcap_api_keyfield_typegroup_test() 764 KUNIT_EXPECT_EQ(test, 1, tg[1].width); in vcap_api_keyfield_typegroup_test() [all …]
|
| H A D | vcap_api_private.h | 48 const struct vcap_typegroup *tg; /* current typegroup */ member 62 const struct vcap_typegroup *tg, u32 offset); 65 const struct vcap_typegroup *tg, u32 offset);
|
| H A D | vcap_api.c | 50 const struct vcap_typegroup *tg, u32 offset) in vcap_iter_set() argument 56 itr->tg = tg; in vcap_iter_set() 64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg() 65 itr->offset += itr->tg->width; in vcap_iter_skip_tg() 66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg() 83 const struct vcap_typegroup *tg, u32 offset) in vcap_iter_init() argument 85 vcap_iter_set(itr, sw_width, tg, offset); in vcap_iter_init() 113 while (itr->tg in vcap_encode_bit() 143 vcap_encode_typegroups(u32 * stream,int sw_width,const struct vcap_typegroup * tg,bool mask) vcap_encode_typegroups() argument [all...] |
| /linux/drivers/gpu/drm/ |
| H A D | drm_connector.c | 3734 struct drm_tile_group *tg = container_of(kref, struct drm_tile_group, refcount); in drm_tile_group_free() local 3735 struct drm_device *dev = tg->dev; in drm_tile_group_free() 3738 idr_remove(&dev->mode_config.tile_idr, tg->id); in drm_tile_group_free() 3740 kfree(tg); in drm_tile_group_free() 3751 struct drm_tile_group *tg) in drm_mode_put_tile_group() argument 3753 kref_put(&tg->refcount, drm_tile_group_free); in drm_mode_put_tile_group() 3770 struct drm_tile_group *tg; in drm_mode_get_tile_group() local 3774 idr_for_each_entry(&dev->mode_config.tile_idr, tg, id) { in drm_mode_get_tile_group() 3775 if (!memcmp(tg->group_data, topology_id, sizeof(tg->group_data))) { in drm_mode_get_tile_group() 3776 if (!kref_get_unless_zero(&tg->refcount)) in drm_mode_get_tile_group() [all …]
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_os.c | 421 struct mpi3mr_throttle_group_info *tg) in mpi3mr_queue_qd_reduction_event() argument 431 if (tg->fw_qd != tg->modified_qd) in mpi3mr_queue_qd_reduction_event() 439 *(struct mpi3mr_throttle_group_info **)fwevt->event_data = tg; in mpi3mr_queue_qd_reduction_event() 446 tg->modified_qd = max_t(u16, (tg->fw_qd * tg->qd_reduction) / 10, 8); in mpi3mr_queue_qd_reduction_event() 449 tg->id); in mpi3mr_queue_qd_reduction_event() 865 struct mpi3mr_throttle_group_info *tg, u8 divert_value) in mpi3mr_set_io_divert_for_all_vd_in_tg() argument 875 if (tgt_priv->throttle_group == tg) in mpi3mr_set_io_divert_for_all_vd_in_tg() 1408 struct mpi3mr_throttle_group_info *tg = NULL; in mpi3mr_update_tgtdev() local 1428 tg = mrioc->throttle_groups + vdinf_io_throttle_group; in mpi3mr_update_tgtdev() 1429 tg->id = vdinf_io_throttle_group; in mpi3mr_update_tgtdev() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 436 if (pipe->stream == stream && pipe->stream_res.tg) { in set_long_vtotal() 473 if (pipe->stream == stream && pipe->stream_res.tg) { in dc_stream_get_last_used_drr_vtotal() 477 if (pipe->stream_res.tg->funcs->get_last_used_drr_vtotal) { in dc_stream_get_last_used_drr_vtotal() 478 pipe->stream_res.tg->funcs->get_last_used_drr_vtotal(pipe->stream_res.tg, refresh_rate); in dc_stream_get_last_used_drr_vtotal() 547 mux_mapping.otg_output_num = pipe->stream_res.tg->inst; in dc_stream_forward_crc_window() 613 mux_mapping.otg_output_num = pipe->stream_res.tg->inst; in dc_stream_forward_multiple_crc_window() 650 struct timing_generator *tg; in dc_stream_configure_crc() local 694 tg = pipe->stream_res.tg; in dc_stream_configure_crc() 697 if (tg->funcs->configure_crc) in dc_stream_configure_crc() 698 return tg->funcs->configure_crc(tg, ¶m); in dc_stream_configure_crc() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce80/ |
| H A D | dce80_timing_generator.h | 34 struct dce110_timing_generator *tg,
|
| /linux/include/linux/ |
| H A D | io-pgtable.h | 145 u32 tg:2; member 158 u32 tg:2; member
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_vcap.c | 38 u32 tg; /* TG_DAT */ member 102 ocelot_target_write(ocelot, vcap->target, data->tg, VCAP_CACHE_TG_DAT); in vcap_entry2cache() 120 data->tg = ocelot_target_read(ocelot, vcap->target, VCAP_CACHE_TG_DAT); in vcap_cache2entry() 365 data.tg = (data.tg & ~data.tg_mask); in is2_entry_set() 367 data.tg |= data.tg_value; in is2_entry_set() 688 data.tg = (data.tg & ~data.tg_mask); in is1_entry_set() 690 data.tg |= data.tg_value; in is1_entry_set() 827 data.tg = (data.tg & ~data.tg_mask); in es0_entry_set() 829 data.tg |= data.tg_value; in es0_entry_set()
|